T
- The part typepublic class PartAnnotationBinder<T> extends AbstractAnnotatedArgumentBinder<Part,T,HttpRequest<?>> implements AnnotatedRequestArgumentBinder<Part,T>
ArgumentBinder.BindingResult<T>
Constructor and Description |
---|
PartAnnotationBinder(ConversionService<?> conversionService) |
Modifier and Type | Method and Description |
---|---|
ArgumentBinder.BindingResult<T> |
bind(ArgumentConversionContext<T> context,
HttpRequest<?> source)
Bind the given argument from the given source.
|
Class<Part> |
getAnnotationType() |
doBind, doBind, doConvert, doConvert, doResolve, getFallbackFormat
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
of
public PartAnnotationBinder(ConversionService<?> conversionService)
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()
public Class<Part> getAnnotationType()
getAnnotationType
in interface AnnotatedArgumentBinder<Part,T,HttpRequest<?>>