A - - the annotation type that this binder is applied with@Indexed(value=AnnotatedClientRequestBinder.class) public interface AnnotatedClientRequestBinder<A extends java.lang.annotation.Annotation> extends ClientRequestBinder
MutableHttpRequest.
This binder is used when the annotation is applied to the whole method.
In case of binder for arguments use ClientArgumentRequestBinder/| Modifier and Type | Method and Description |
|---|---|
void |
bind(io.micronaut.aop.MethodInvocationContext<java.lang.Object,java.lang.Object> context,
ClientRequestUriContext uriContext,
io.micronaut.http.MutableHttpRequest<?> request)
Modify the request with the annotation that this binder is applied to.
|
java.lang.Class<A> |
getAnnotationType() |
void bind(@NonNull
io.micronaut.aop.MethodInvocationContext<java.lang.Object,java.lang.Object> context,
@NonNull
ClientRequestUriContext uriContext,
@NonNull
io.micronaut.http.MutableHttpRequest<?> request)
context - The context of method invocationuriContext - The URI contextrequest - The request@NonNull java.lang.Class<A> getAnnotationType()