Package io.micronaut.http.bind.binders
Class ParameterAnnotationBinder<T>
- java.lang.Object
-
- io.micronaut.core.bind.annotation.AbstractAnnotatedArgumentBinder<QueryValue,T,HttpRequest<?>>
-
- io.micronaut.http.bind.binders.ParameterAnnotationBinder<T>
-
- Type Parameters:
T
- A type
- All Implemented Interfaces:
io.micronaut.core.bind.annotation.AnnotatedArgumentBinder<QueryValue,T,HttpRequest<?>>
,io.micronaut.core.bind.ArgumentBinder<T,HttpRequest<?>>
,AnnotatedRequestArgumentBinder<QueryValue,T>
,RequestArgumentBinder<T>
public class ParameterAnnotationBinder<T> extends io.micronaut.core.bind.annotation.AbstractAnnotatedArgumentBinder<QueryValue,T,HttpRequest<?>> implements AnnotatedRequestArgumentBinder<QueryValue,T>
AnAnnotatedArgumentBinder
implementation that uses theQueryValue
to trigger binding from an HTTP request parameter.- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description ParameterAnnotationBinder(io.micronaut.core.convert.ConversionService<?> conversionService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.micronaut.core.bind.ArgumentBinder.BindingResult<T>
bind(io.micronaut.core.convert.ArgumentConversionContext<T> context, HttpRequest<?> source)
java.lang.Class<QueryValue>
getAnnotationType()
-
-
-
Method Detail
-
getAnnotationType
public java.lang.Class<QueryValue> getAnnotationType()
- Specified by:
getAnnotationType
in interfaceio.micronaut.core.bind.annotation.AnnotatedArgumentBinder<QueryValue,T,HttpRequest<?>>
-
bind
public io.micronaut.core.bind.ArgumentBinder.BindingResult<T> bind(io.micronaut.core.convert.ArgumentConversionContext<T> context, HttpRequest<?> source)
- Specified by:
bind
in interfaceio.micronaut.core.bind.ArgumentBinder<T,HttpRequest<?>>
-
-