Class HttpClientIntroductionAdvice
java.lang.Object
io.micronaut.http.client.interceptor.HttpClientIntroductionAdvice
- All Implemented Interfaces:
- Interceptor<Object,,- Object> - MethodInterceptor<Object,,- Object> - Ordered
@InterceptorBean(Client.class)
@Internal
public class HttpClientIntroductionAdvice
extends Object
implements MethodInterceptor<Object,Object> 
Introduction advice that implements the 
Client annotation.- Since:
- 1.0
- Author:
- graemerocher
- 
Field SummaryFields inherited from interface io.micronaut.aop.InterceptorARGUMENT, CACHEABLE_LAZY_TARGET, HOTSWAP, LAZY, PROXY_TARGETFields inherited from interface io.micronaut.core.order.OrderedHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
- 
Constructor SummaryConstructorsConstructorDescriptionHttpClientIntroductionAdvice(HttpClientRegistry<?> clientFactory, JsonMediaTypeCodec jsonMediaTypeCodec, List<ReactiveClientResultTransformer> transformers, HttpClientBinderRegistry binderRegistry, ConversionService conversionService) Constructor for advice class to set up things like Headers, Cookies, Parameters for Clients.
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.aop.MethodInterceptorintercept
- 
Constructor Details- 
HttpClientIntroductionAdvicepublic HttpClientIntroductionAdvice(HttpClientRegistry<?> clientFactory, JsonMediaTypeCodec jsonMediaTypeCodec, List<ReactiveClientResultTransformer> transformers, HttpClientBinderRegistry binderRegistry, ConversionService conversionService) Constructor for advice class to set up things like Headers, Cookies, Parameters for Clients.- Parameters:
- clientFactory- The client factory
- jsonMediaTypeCodec- The JSON media type codec
- transformers- transformation classes
- binderRegistry- The client binder registry
- conversionService- The bean conversion context
 
 
- 
- 
Method Details- 
interceptInterceptor to apply headers, cookies, parameter and body arguments.- Specified by:
- interceptin interface- MethodInterceptor<Object,- Object> 
- Parameters:
- context- The context
- Returns:
- httpClient or future
 
 
-