T
- A typepublic class ParameterAnnotationBinder<T> extends io.micronaut.core.bind.annotation.AbstractAnnotatedArgumentBinder<QueryValue,T,HttpRequest<?>> implements AnnotatedRequestArgumentBinder<QueryValue,T>
AnnotatedArgumentBinder
implementation that uses the QueryValue
to trigger binding from an HTTP request parameter.Constructor and Description |
---|
ParameterAnnotationBinder(io.micronaut.core.convert.ConversionService<?> conversionService) |
Modifier and Type | Method and Description |
---|---|
io.micronaut.core.bind.ArgumentBinder.BindingResult<T> |
bind(io.micronaut.core.convert.ArgumentConversionContext<T> context,
HttpRequest<?> source) |
java.lang.Class<QueryValue> |
getAnnotationType() |
doBind, doBind, doConvert, doConvert, doResolve, getFallbackFormat
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
of
public ParameterAnnotationBinder(io.micronaut.core.convert.ConversionService<?> conversionService)
conversionService
- The conversion servicepublic java.lang.Class<QueryValue> getAnnotationType()
getAnnotationType
in interface io.micronaut.core.bind.annotation.AnnotatedArgumentBinder<QueryValue,T,HttpRequest<?>>
public io.micronaut.core.bind.ArgumentBinder.BindingResult<T> bind(io.micronaut.core.convert.ArgumentConversionContext<T> context, HttpRequest<?> source)
bind
in interface io.micronaut.core.bind.ArgumentBinder<T,HttpRequest<?>>