@Singleton public class PublisherBodyBinder extends DefaultBodyAnnotationBinder<Publisher> implements NonBlockingBodyArgumentBinder<Publisher>
ArgumentBinder.BindingResult<T>conversionService| Constructor and Description |
|---|
PublisherBodyBinder(ConversionService conversionService,
HttpContentProcessorResolver httpContentProcessorResolver) |
| Modifier and Type | Method and Description |
|---|---|
Argument<Publisher> |
argumentType() |
ArgumentBinder.BindingResult<Publisher> |
bind(ArgumentConversionContext<Publisher> context,
HttpRequest<?> source)
Bind the given argument from the given source.
|
getAnnotationTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotationTypeofsuperTypespublic PublisherBodyBinder(ConversionService conversionService, HttpContentProcessorResolver httpContentProcessorResolver)
conversionService - The conversion servicehttpContentProcessorResolver - The http content processor resolverpublic Argument<Publisher> argumentType()
argumentType in interface TypeArgumentBinder<Publisher,HttpRequest<?>>public ArgumentBinder.BindingResult<Publisher> bind(ArgumentConversionContext<Publisher> context, HttpRequest<?> source)
ArgumentBinderbind in interface ArgumentBinder<Publisher,HttpRequest<?>>bind in class DefaultBodyAnnotationBinder<Publisher>context - The ArgumentConversionContextsource - The sourceOptional of the value. If no binding was possible Optional.empty()