Class ImpersonatorInterceptor
- java.lang.Object
-
- io.fabric8.kubernetes.client.utils.ImpersonatorInterceptor
-
- All Implemented Interfaces:
Interceptor
public class ImpersonatorInterceptor extends Object implements Interceptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.client.http.Interceptor
Interceptor.RequestTags
-
-
Field Summary
Fields Modifier and Type Field Description static StringIMPERSONATE_USERstatic StringNAME
-
Constructor Summary
Constructors Constructor Description ImpersonatorInterceptor(RequestConfig requestConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbefore(BasicBuilder builder, HttpRequest request, Interceptor.RequestTags tags)Called before a request to allow for the manipulation of the request-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.fabric8.kubernetes.client.http.Interceptor
after, afterConnectionFailure, afterFailure, afterFailure, consumer
-
-
-
-
Field Detail
-
IMPERSONATE_USER
public static final String IMPERSONATE_USER
- See Also:
- Constant Field Values
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ImpersonatorInterceptor
public ImpersonatorInterceptor(RequestConfig requestConfig)
-
-
Method Detail
-
before
public void before(BasicBuilder builder, HttpRequest request, Interceptor.RequestTags tags)
Description copied from interface:InterceptorCalled before a request to allow for the manipulation of the request- Specified by:
beforein interfaceInterceptor- Parameters:
builder- used to modify the requestrequest- the current request
-
-