Class CompletableFutureReturnValueHandler

java.lang.Object
org.springframework.messaging.handler.invocation.AbstractAsyncReturnValueHandler
org.springframework.messaging.handler.invocation.CompletableFutureReturnValueHandler
All Implemented Interfaces:
AsyncHandlerMethodReturnValueHandler, HandlerMethodReturnValueHandler

public class CompletableFutureReturnValueHandler extends AbstractAsyncReturnValueHandler
Support for CompletableFuture (and as of 4.3.7 also CompletionStage) as a return value type.
Since:
4.2
Author:
Sebastien Deleuze, Juergen Hoeller