Package io.micronaut.http.client.bind
Interface ClientArgumentRequestBinder<T>
- Type Parameters:
T
- A type
- All Superinterfaces:
ClientRequestBinder
- All Known Subinterfaces:
AnnotatedClientArgumentRequestBinder<A>
,TypedClientArgumentRequestBinder<T>
- All Known Implementing Classes:
QueryValueClientArgumentRequestBinder
@Indexed(ClientArgumentRequestBinder.class)
public interface ClientArgumentRequestBinder<T>
extends ClientRequestBinder
A binder that binds to a
MutableHttpRequest
. Argument binders
are not able to modify the URI of the request.- Since:
- 2.1.0
- Author:
- James Kleeh
-
Method Summary
Modifier and TypeMethodDescriptionvoid
bind
(@NonNull ArgumentConversionContext<T> context, @NonNull ClientRequestUriContext uriContext, T value, @NonNull MutableHttpRequest<?> request) Bind the given argument to the request.
-
Method Details
-
bind
void bind(@NonNull @NonNull ArgumentConversionContext<T> context, @NonNull @NonNull ClientRequestUriContext uriContext, @NonNull T value, @NonNull @NonNull MutableHttpRequest<?> request) Bind the given argument to the request. Argument binders are not able to modify the URI of the request.- Parameters:
context
- The argument contexturiContext
- The URI contextvalue
- The argument valuerequest
- The request
-