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(MethodInvocationContext<java.lang.Object,java.lang.Object> context,
ClientRequestUriContext uriContext,
MutableHttpRequest<?> request)
Modify the request with the annotation that this binder is applied to.
|
java.lang.Class<A> |
getAnnotationType() |
void bind(@NonNull MethodInvocationContext<java.lang.Object,java.lang.Object> context, @NonNull ClientRequestUriContext uriContext, @NonNull MutableHttpRequest<?> request)
context
- The context of method invocationuriContext
- The URI contextrequest
- The request