Interface AsyncHandlerMethodReturnValueHandler

    • Method Detail

      • isAsyncReturnValue

        boolean isAsyncReturnValue​(Object returnValue,
                                   MethodParameter returnType)
        Whether the given return value represents asynchronous computation.
        Parameters:
        returnValue - the value returned from the handler method
        returnType - the return type
        Returns:
        true if the return value type represents an async value