Interface DeferredResultAdapter
@Deprecated public interface DeferredResultAdapter
Deprecated.in 4.3.8 since 5.0 adds first-class support for reactive type return values from Spring MVC controller methods based on the pluggableReactiveAdapterRegistrymechanism. Yet another alternative would be to implement a customAsyncHandlerMethodReturnValueHandler.Contract to adapt a single-value async return value toDeferredResult.- Since:
- 4.3
- Author:
- Rossen Stoyanchev
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description DeferredResult<?>adaptToDeferredResult(Object returnValue)Deprecated.Create aDeferredResultfor the given return value.
Method Detail
adaptToDeferredResult
DeferredResult<?> adaptToDeferredResult(Object returnValue)
Deprecated.Create aDeferredResultfor the given return value.- Parameters:
returnValue- the return value (nevernull)- Returns:
- the DeferredResult