@Internal public class InputStreamBodyBinder extends java.lang.Object implements NonBlockingBodyArgumentBinder<java.io.InputStream>
InputStream argument from the body of the request.ArgumentBinder.BindingResult<T>| Modifier and Type | Field and Description | 
|---|---|
static Argument<java.io.InputStream> | 
TYPE  | 
| Constructor and Description | 
|---|
InputStreamBodyBinder(HttpContentProcessorResolver processorResolver,
                     java.util.concurrent.ExecutorService executorService)  | 
| Modifier and Type | Method and Description | 
|---|---|
Argument<java.io.InputStream> | 
argumentType()  | 
ArgumentBinder.BindingResult<java.io.InputStream> | 
bind(ArgumentConversionContext<java.io.InputStream> context,
    HttpRequest<?> source)
Bind the given argument from the given source. 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotationTypeofsuperTypespublic static final Argument<java.io.InputStream> TYPE
public InputStreamBodyBinder(HttpContentProcessorResolver processorResolver, java.util.concurrent.ExecutorService executorService)
processorResolver - The http content processor resolverexecutorService - The executor service to usepublic Argument<java.io.InputStream> argumentType()
argumentType in interface TypeArgumentBinder<java.io.InputStream,HttpRequest<?>>public ArgumentBinder.BindingResult<java.io.InputStream> bind(ArgumentConversionContext<java.io.InputStream> context, HttpRequest<?> source)
ArgumentBinderbind in interface ArgumentBinder<java.io.InputStream,HttpRequest<?>>context - The ArgumentConversionContextsource - The sourceOptional of the value. If no binding was possible Optional.empty()