接口的使用
org.springframework.messaging.handler.invocation.AsyncHandlerMethodReturnValueHandler
使用AsyncHandlerMethodReturnValueHandler的程序包 程序包 说明 org.springframework.messaging.handler.invocation Common infrastructure for invoking message handler methods.org.springframework.messaging.handler.invocation中AsyncHandlerMethodReturnValueHandler的使用
实现AsyncHandlerMethodReturnValueHandler的org.springframework.messaging.handler.invocation中的类 修饰符和类型 类 说明 class
AbstractAsyncReturnValueHandler
Convenient base class forAsyncHandlerMethodReturnValueHandler
implementations that support only asynchronous (Future-like) return values and merely serve as adapters of such types to Spring'sListenableFuture
.class
CompletableFutureReturnValueHandler
Support forCompletableFuture
(and as of 4.3.7 alsoCompletionStage
) as a return value type.class
HandlerMethodReturnValueHandlerComposite
A HandlerMethodReturnValueHandler that wraps and delegates to others.class
ListenableFutureReturnValueHandler
Support forListenableFuture
as a return value type.class
ReactiveReturnValueHandler
Support for single-value reactive types (likeMono
orSingle
) as a return value type.