public class BackwardsCompatibilityInterceptor extends Object implements Interceptor
| Constructor and Description |
|---|
BackwardsCompatibilityInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Boolean> |
afterFailure(BasicBuilder basicBuilder,
HttpResponse<?> response)
Called after a websocket failure or by default from a normal request
|
CompletableFuture<Boolean> |
afterFailure(HttpRequest.Builder builder,
HttpResponse<?> response)
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, waitbefore, useConfig, withConfigpublic static final String JSON
public static final String NAME
public CompletableFuture<Boolean> afterFailure(HttpRequest.Builder builder, HttpResponse<?> response)
InterceptorafterFailure in interface Interceptorbuilder - 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)
InterceptorafterFailure in interface InterceptorbasicBuilder - used to modify the requestresponse - the failed responseCopyright © 2015–2022 Red Hat. All rights reserved.