public class AttributeClientRequestBinder extends java.lang.Object implements AnnotatedClientRequestBinder<RequestAttribute>
Constructor and Description |
---|
AttributeClientRequestBinder() |
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<RequestAttribute> |
getAnnotationType() |
public void bind(@NonNull MethodInvocationContext<java.lang.Object,java.lang.Object> context, @NonNull ClientRequestUriContext uriContext, @NonNull MutableHttpRequest<?> request)
AnnotatedClientRequestBinder
bind
in interface AnnotatedClientRequestBinder<RequestAttribute>
context
- The context of method invocationuriContext
- The URI contextrequest
- The request@NonNull public java.lang.Class<RequestAttribute> getAnnotationType()
getAnnotationType
in interface AnnotatedClientRequestBinder<RequestAttribute>