public class MultipartBodyArgumentBinder extends java.lang.Object implements NonBlockingBodyArgumentBinder<MultipartBody>
Body argument binder for a MultipartBody argument.ArgumentBinder.BindingResult<T>| Constructor and Description |
|---|
MultipartBodyArgumentBinder(BeanLocator beanLocator,
javax.inject.Provider<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.
|
boolean |
supportsSuperTypes()
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotationTypeofsuperTypespublic MultipartBodyArgumentBinder(BeanLocator beanLocator, javax.inject.Provider<HttpServerConfiguration> httpServerConfiguration)
beanLocator - The bean locatorhttpServerConfiguration - The server configuration@Deprecated public boolean supportsSuperTypes()
TypedRequestArgumentBinderT
implements are candidates for binding.supportsSuperTypes in interface TypedRequestArgumentBinder<MultipartBody>public Argument<MultipartBody> argumentType()
argumentType in interface TypeArgumentBinder<MultipartBody,HttpRequest<?>>public ArgumentBinder.BindingResult<MultipartBody> bind(ArgumentConversionContext<MultipartBody> context, HttpRequest<?> source)
ArgumentBinderbind in interface ArgumentBinder<MultipartBody,HttpRequest<?>>context - The ArgumentConversionContextsource - The sourceOptional of the value. If no binding was possible Optional.empty()