Class VersionClientRequestBinder
java.lang.Object
io.micronaut.http.client.bind.binders.VersionClientRequestBinder
- All Implemented Interfaces:
AnnotatedClientRequestBinder<Version>
,ClientRequestBinder
public class VersionClientRequestBinder
extends Object
implements AnnotatedClientRequestBinder<Version>
An
AnnotatedClientRequestBinder
implementation for Version
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
bind
(@NonNull MethodInvocationContext<Object, Object> context, @NonNull ClientRequestUriContext uriContext, @NonNull MutableHttpRequest<?> request) Modify the request with the annotation that this binder is applied to.
-
Constructor Details
-
VersionClientRequestBinder
-
-
Method Details
-
bind
public void bind(@NonNull @NonNull MethodInvocationContext<Object, Object> context, @NonNull @NonNull ClientRequestUriContext uriContext, @NonNull @NonNull MutableHttpRequest<?> request) Description copied from interface:AnnotatedClientRequestBinder
Modify the request with the annotation that this binder is applied to. The URI cannot be changed. The query parameters from the uriContext remain in the resulting request.- Specified by:
bind
in interfaceAnnotatedClientRequestBinder<Version>
- Parameters:
context
- The context of method invocationuriContext
- The URI contextrequest
- The request
-
getAnnotationType
- Specified by:
getAnnotationType
in interfaceAnnotatedClientRequestBinder<Version>
- Returns:
- The annotation type.
-