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