接口 DeferredResultAdapter
@Deprecated public interface DeferredResultAdapter
已过时。in 4.3.8 since 5.0 adds first-class support for reactive type return values from Spring MVC controller methods based on the pluggableReactiveAdapterRegistry
mechanism. Yet another alternative would be to implement a customAsyncHandlerMethodReturnValueHandler
.Contract to adapt a single-value async return value toDeferredResult
.- 从以下版本开始:
- 4.3
- 作者:
- Rossen Stoyanchev
方法概要
所有方法 实例方法 抽象方法 已过时的方法 修饰符和类型 方法 说明 DeferredResult<?>
adaptToDeferredResult(Object returnValue)
已过时。Create aDeferredResult
for the given return value.
方法详细资料
adaptToDeferredResult
DeferredResult<?> adaptToDeferredResult(Object returnValue)
已过时。Create aDeferredResult
for the given return value.- 参数:
returnValue
- the return value (nevernull
)- 返回:
- the DeferredResult