AsyncHandlerMethodReturnValueHandler
implementations that support only asynchronous (Future-like) return values
and merely serve as adapters of such types to Spring's
ListenableFuture.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | handleReturnValue(Object
the value returned from the handler method returnValue, MethodParameter the type of the return value. This type must have previously
been passed to returnType, Message<?> supportsReturnType(org.
and it must have returned true.the message that caused this method to be called message)Implements org. Handle the given return value. |
| public boolean | isAsyncReturnValue(Object
the value returned from the handler method returnValue, MethodParameter the type of the return value returnType)Implements org. Whether the return value represents an asynchronous, Future-like type with success and error callbacks. |
| AbstractAsyncReturnValueHandler | back to summary |
|---|---|
| public AbstractAsyncReturnValueHandler() | |
| handleReturnValue | back to summary |
|---|---|
| public void handleReturnValue(Object returnValue, MethodParameter returnType, Message<?> message) Implements org. Doc from org. Handle the given return value.
| |
| isAsyncReturnValue | back to summary |
|---|---|
| public boolean isAsyncReturnValue(Object returnValue, MethodParameter returnType) Implements org. Whether the return value represents an asynchronous, Future-like type
with success and error callbacks. If this method returns Note this method will only be invoked after
| |