A
- - the annotation type that this binder is applied with@Indexed(value=AnnotatedClientRequestBinder.class) public interface AnnotatedClientRequestBinder<A extends 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<Object,Object> context,
ClientRequestUriContext uriContext,
MutableHttpRequest<?> request)
Modify the request with the annotation that this binder is applied to.
|
Class<A> |
getAnnotationType() |
void bind(@NonNull MethodInvocationContext<Object,Object> context, @NonNull ClientRequestUriContext uriContext, @NonNull MutableHttpRequest<?> request)
context
- The context of method invocationuriContext
- The URI contextrequest
- The request