public class BackwardsCompatibilityInterceptor extends Object implements Interceptor
Interceptor.RequestTags
Constructor and Description |
---|
BackwardsCompatibilityInterceptor() |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Boolean> |
afterFailure(BasicBuilder basicBuilder,
HttpResponse<?> response,
Interceptor.RequestTags tags)
Called after a websocket failure or by default from a normal request
|
CompletableFuture<Boolean> |
afterFailure(HttpRequest.Builder builder,
HttpResponse<?> response,
Interceptor.RequestTags tags)
Called after a non-websocket failure
|
io.fabric8.kubernetes.client.utils.BackwardsCompatibilityInterceptor.ResourceKey |
findNewTarget(BasicBuilder basicBuilder,
HttpResponse<?> response) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
after, before, consumer
public static final String JSON
public static final String NAME
public CompletableFuture<Boolean> afterFailure(HttpRequest.Builder builder, HttpResponse<?> response, Interceptor.RequestTags tags)
Interceptor
afterFailure
in interface Interceptor
builder
- used to modify the requestresponse
- the failed responsepublic io.fabric8.kubernetes.client.utils.BackwardsCompatibilityInterceptor.ResourceKey findNewTarget(BasicBuilder basicBuilder, HttpResponse<?> response)
public CompletableFuture<Boolean> afterFailure(BasicBuilder basicBuilder, HttpResponse<?> response, Interceptor.RequestTags tags)
Interceptor
afterFailure
in interface Interceptor
basicBuilder
- used to modify the requestresponse
- the failed responseCopyright © 2015–2023 Red Hat. All rights reserved.