| Package | Description |
|---|---|
| io.fabric8.kubernetes.client.http |
| Modifier and Type | Class and Description |
|---|---|
class |
StandardHttpRequest |
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
HttpRequest.Builder.build() |
HttpRequest |
HttpResponse.request()
The original
HttpRequest that initiated this response. |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<HttpResponse<HttpClient.AsyncBody>> |
HttpClient.consumeBytes(HttpRequest request,
HttpClient.BodyConsumer<List<ByteBuffer>> consumer)
Send a request and consume the bytes of the resulting response body
|
CompletableFuture<HttpResponse<HttpClient.AsyncBody>> |
HttpClient.consumeLines(HttpRequest request,
HttpClient.BodyConsumer<String> consumer)
Send a request and consume the lines of the response body using the same logic as
BufferedReader to
break up the lines. |
<T> CompletableFuture<HttpResponse<T>> |
HttpClient.sendAsync(HttpRequest request,
Class<T> type)
Send an async request
A Reader or InputStream result must be closed by the caller to properly cleanup resources. |
Copyright © 2015–2022 Red Hat. All rights reserved.