Modifier and Type | Method and Description |
---|---|
protected HttpResponse<InputStream> |
OperationSupport.retryWithExponentialBackoff(HttpClient client,
HttpRequest request) |
Modifier and Type | Method and Description |
---|---|
protected void |
OperationSupport.assertResponseCode(HttpRequest request,
HttpResponse<?> response)
Checks if the response status code is the expected and throws the appropriate KubernetesClientException if not.
|
static io.fabric8.kubernetes.api.model.Status |
OperationSupport.createStatus(HttpResponse<?> response) |
Modifier and Type | Method and Description |
---|---|
void |
LogWatchCallback.accept(HttpResponse<InputStream> t,
Throwable u) |
void |
LogWatchCallback.onResponse(HttpResponse<InputStream> response) |
Modifier and Type | Method and Description |
---|---|
HttpResponse<?> |
WebSocketHandshakeException.getResponse()
Get the response, which includes the code of failure.
|
<T> HttpResponse<T> |
HttpClient.send(HttpRequest request,
Class<T> type)
Send a request an wait for the result
|
Modifier and Type | Method and Description |
---|---|
Optional<HttpResponse<T>> |
HttpResponse.previousResponse() |
<T> CompletableFuture<HttpResponse<T>> |
HttpClient.sendAsync(HttpRequest request,
Class<T> type)
Send an async request
|
Modifier and Type | Method and Description |
---|---|
default boolean |
Interceptor.afterFailure(BasicBuilder builder,
HttpResponse<?> response)
Called after a websocket failure or by default from a normal request
|
default boolean |
Interceptor.afterFailure(HttpRequest.Builder builder,
HttpResponse<?> response)
Called after a non-websocket failure
|
Constructor and Description |
---|
WebSocketHandshakeException(HttpResponse<?> response) |
Modifier and Type | Method and Description |
---|---|
<T> HttpResponse<T> |
OkHttpClientImpl.send(HttpRequest request,
Class<T> type) |
Modifier and Type | Method and Description |
---|---|
<T> CompletableFuture<HttpResponse<T>> |
OkHttpClientImpl.sendAsync(HttpRequest request,
Class<T> type) |
Modifier and Type | Method and Description |
---|---|
boolean |
TokenRefreshInterceptor.afterFailure(BasicBuilder headerBuilder,
HttpResponse<?> response) |
boolean |
BackwardsCompatibilityInterceptor.afterFailure(BasicBuilder basicBuilder,
HttpResponse<?> response) |
boolean |
BackwardsCompatibilityInterceptor.afterFailure(HttpRequest.Builder builder,
HttpResponse<?> response) |
io.fabric8.kubernetes.client.utils.BackwardsCompatibilityInterceptor.ResourceKey |
BackwardsCompatibilityInterceptor.findNewTarget(BasicBuilder basicBuilder,
HttpResponse<?> response) |
Copyright © 2015–2022 Red Hat. All rights reserved.