@Internal public class CompletableFutureBodyBinder extends DefaultBodyAnnotationBinder<CompletableFuture> implements NonBlockingBodyArgumentBinder<CompletableFuture>
NonBlockingBodyArgumentBinder that handles CompletableFuture instances.ArgumentBinder.BindingResult<T>conversionService| Constructor and Description | 
|---|
| CompletableFutureBodyBinder(HttpContentProcessorResolver httpContentProcessorResolver,
                           ConversionService conversionService) | 
| Modifier and Type | Method and Description | 
|---|---|
| Argument<CompletableFuture> | argumentType() | 
| ArgumentBinder.BindingResult<CompletableFuture> | bind(ArgumentConversionContext<CompletableFuture> context,
    HttpRequest<?> source)Bind the given argument from the given source. | 
| List<Class<?>> | superTypes()Returns additional super types. | 
getAnnotationTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotationTypeofpublic CompletableFutureBodyBinder(HttpContentProcessorResolver httpContentProcessorResolver, ConversionService conversionService)
httpContentProcessorResolver - The http content processor resolverconversionService - The conversion service@NonNull public List<Class<?>> superTypes()
TypedRequestArgumentBindersuperTypes in interface TypedRequestArgumentBinder<CompletableFuture>public Argument<CompletableFuture> argumentType()
argumentType in interface TypeArgumentBinder<CompletableFuture,HttpRequest<?>>public ArgumentBinder.BindingResult<CompletableFuture> bind(ArgumentConversionContext<CompletableFuture> context, HttpRequest<?> source)
ArgumentBinderbind in interface ArgumentBinder<CompletableFuture,HttpRequest<?>>bind in class DefaultBodyAnnotationBinder<CompletableFuture>context - The ArgumentConversionContextsource - The sourceOptional of the value. If no binding was possible Optional.empty()