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 aMutableHttpRequest. Argument binders are not able to modify the URI of the request.- Since:
- 2.1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbind(io.micronaut.core.convert.ArgumentConversionContext<T> context, ClientRequestUriContext uriContext, T value, io.micronaut.http.MutableHttpRequest<?> request)Bind the given argument to the request.
-
-
-
Method Detail
-
bind
void bind(@NonNull io.micronaut.core.convert.ArgumentConversionContext<T> context, @NonNull ClientRequestUriContext uriContext, @NonNull T value, @NonNull io.micronaut.http.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
-
-