DeferredResultMethodReturnValueHandler
supports
ListenableFuture return values via an adapter mechanism.@Deprecated public class ListenableFutureReturnValueHandler extends Object implements org.springframework.web.method.support.AsyncHandlerMethodReturnValueHandler
ListenableFuture
.Constructor and Description |
---|
ListenableFutureReturnValueHandler()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
handleReturnValue(Object returnValue,
org.springframework.core.MethodParameter returnType,
org.springframework.web.method.support.ModelAndViewContainer mavContainer,
org.springframework.web.context.request.NativeWebRequest webRequest)
Deprecated.
|
boolean |
isAsyncReturnValue(Object returnValue,
org.springframework.core.MethodParameter returnType)
Deprecated.
|
boolean |
supportsReturnType(org.springframework.core.MethodParameter returnType)
Deprecated.
|
public ListenableFutureReturnValueHandler()
public boolean supportsReturnType(org.springframework.core.MethodParameter returnType)
supportsReturnType
in interface org.springframework.web.method.support.HandlerMethodReturnValueHandler
public boolean isAsyncReturnValue(Object returnValue, org.springframework.core.MethodParameter returnType)
isAsyncReturnValue
in interface org.springframework.web.method.support.AsyncHandlerMethodReturnValueHandler
public void handleReturnValue(Object returnValue, org.springframework.core.MethodParameter returnType, org.springframework.web.method.support.ModelAndViewContainer mavContainer, org.springframework.web.context.request.NativeWebRequest webRequest) throws Exception
handleReturnValue
in interface org.springframework.web.method.support.HandlerMethodReturnValueHandler
Exception