Package | Description |
---|---|
io.fabric8.kubernetes.client.dsl.base | |
io.fabric8.kubernetes.client.http | |
io.fabric8.kubernetes.client.okhttp |
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 KubernetesClientException |
OperationSupport.requestException(HttpRequest request,
Exception e) |
static KubernetesClientException |
OperationSupport.requestException(HttpRequest request,
Throwable e,
String message) |
static KubernetesClientException |
OperationSupport.requestFailure(HttpRequest request,
io.fabric8.kubernetes.api.model.Status status) |
static KubernetesClientException |
OperationSupport.requestFailure(HttpRequest request,
io.fabric8.kubernetes.api.model.Status status,
String message) |
protected HttpResponse<InputStream> |
OperationSupport.retryWithExponentialBackoff(HttpClient client,
HttpRequest request) |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
HttpRequest.Builder.build() |
HttpRequest |
HttpResponse.request() |
Modifier and Type | Method and Description |
---|---|
<T> HttpResponse<T> |
HttpClient.send(HttpRequest request,
Class<T> type)
Send a request an wait for the result
|
<T> CompletableFuture<HttpResponse<T>> |
HttpClient.sendAsync(HttpRequest request,
Class<T> type)
Send an async request
|
Modifier and Type | Method and Description |
---|---|
<T> HttpResponse<T> |
OkHttpClientImpl.send(HttpRequest request,
Class<T> type) |
<T> CompletableFuture<HttpResponse<T>> |
OkHttpClientImpl.sendAsync(HttpRequest request,
Class<T> type) |
Copyright © 2015–2020 Red Hat. All rights reserved.