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