Mono or Single)
as a return value type.
| Modifier and Type | Field and Description |
|---|---|
| private final ReactiveAdapterRegistry |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| adapterRegistry | back to summary |
|---|---|
| private final ReactiveAdapterRegistry adapterRegistry | |
| ReactiveReturnValueHandler | back to summary |
|---|---|
| public ReactiveReturnValueHandler() | |
| ReactiveReturnValueHandler | back to summary |
|---|---|
| public ReactiveReturnValueHandler(ReactiveAdapterRegistry adapterRegistry) | |
| isAsyncReturnValue | back to summary |
|---|---|
| public boolean isAsyncReturnValue(Object returnValue, MethodParameter returnType) Overrides org. 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
| |
| supportsReturnType | back to summary |
|---|---|
| public boolean supportsReturnType(MethodParameter returnType) Implements org. Doc from org. Whether the given method return type is supported by this handler.
| |
| toCompletableFuture | back to summary |
|---|---|
| public CompletableFuture Implements org. Adapt the asynchronous return value to a Return value handling will then continue when the CompletableFuture is completed with either success or error. Note this method will only be invoked after
| |