@Internal public class MultipartBodyArgumentBinder extends Object implements NonBlockingBodyArgumentBinder<MultipartBody>
Body
argument binder for a MultipartBody
argument.ArgumentBinder.BindingResult<T>
Constructor and Description |
---|
MultipartBodyArgumentBinder(BeanLocator beanLocator,
BeanProvider<HttpServerConfiguration> httpServerConfiguration)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
Argument<MultipartBody> |
argumentType() |
ArgumentBinder.BindingResult<MultipartBody> |
bind(ArgumentConversionContext<MultipartBody> context,
HttpRequest<?> source)
Bind the given argument from the given source.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAnnotationType
of
superTypes
public MultipartBodyArgumentBinder(BeanLocator beanLocator, BeanProvider<HttpServerConfiguration> httpServerConfiguration)
beanLocator
- The bean locatorhttpServerConfiguration
- The server configurationpublic Argument<MultipartBody> argumentType()
argumentType
in interface TypeArgumentBinder<MultipartBody,HttpRequest<?>>
public ArgumentBinder.BindingResult<MultipartBody> bind(ArgumentConversionContext<MultipartBody> context, HttpRequest<?> source)
ArgumentBinder
bind
in interface ArgumentBinder<MultipartBody,HttpRequest<?>>
context
- The ArgumentConversionContext
source
- The sourceOptional
of the value. If no binding was possible Optional.empty()