T
- The argument typepublic class QueryValueArgumentBinder<T> extends AbstractAnnotatedArgumentBinder<QueryValue,T,HttpRequest<?>> implements AnnotatedRequestArgumentBinder<QueryValue,T>
ArgumentBinder.BindingResult<T>
Constructor and Description |
---|
QueryValueArgumentBinder(ConversionService<?> conversionService)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ArgumentBinder.BindingResult<T> |
bind(ArgumentConversionContext<T> context,
HttpRequest<?> source)
Bind the given argument from the given 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 QueryValueArgumentBinder(ConversionService<?> conversionService)
conversionService
- conversionServicepublic java.lang.Class<QueryValue> getAnnotationType()
getAnnotationType
in interface AnnotatedArgumentBinder<QueryValue,T,HttpRequest<?>>
public ArgumentBinder.BindingResult<T> bind(ArgumentConversionContext<T> context, HttpRequest<?> source)
ArgumentBinder
bind
in interface ArgumentBinder<T,HttpRequest<?>>
context
- The ArgumentConversionContext
source
- The sourceOptional
of the value. If no binding was possible Optional.empty()