@Singleton @Internal public class HttpClientIntroductionAdvice extends java.lang.Object implements MethodInterceptor<java.lang.Object,java.lang.Object>
Client annotation.HOTSWAP, LAZY, PROXY_TARGETHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
HttpClientIntroductionAdvice(BeanContext beanContext,
RxHttpClientRegistry clientFactory,
JsonMediaTypeCodec jsonMediaTypeCodec,
java.util.List<ReactiveClientResultTransformer> transformers,
HttpClientBinderRegistry binderRegistry)
Constructor for advice class to setup things like Headers, Cookies, Parameters for Clients.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
intercept(MethodInvocationContext<java.lang.Object,java.lang.Object> context)
Interceptor to apply headers, cookies, parameter and body arguements.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinterceptpublic HttpClientIntroductionAdvice(BeanContext beanContext, RxHttpClientRegistry clientFactory, JsonMediaTypeCodec jsonMediaTypeCodec, java.util.List<ReactiveClientResultTransformer> transformers, HttpClientBinderRegistry binderRegistry)
beanContext - context to resolve beansclientFactory - The client factoryjsonMediaTypeCodec - The JSON media type codectransformers - transformation classesbinderRegistry - The client binder registrypublic java.lang.Object intercept(MethodInvocationContext<java.lang.Object,java.lang.Object> context)
intercept in interface MethodInterceptor<java.lang.Object,java.lang.Object>context - The context