public class AttributeClientRequestBinder extends Object implements AnnotatedClientRequestBinder<RequestAttribute>
AnnotatedClientRequestBinder
implementation for RequestAttribute
.Constructor and Description |
---|
AttributeClientRequestBinder() |
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<RequestAttribute> |
getAnnotationType() |
public void bind(@NonNull MethodInvocationContext<Object,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 Class<RequestAttribute> getAnnotationType()
getAnnotationType
in interface AnnotatedClientRequestBinder<RequestAttribute>