接口 AsyncHandlerMethodReturnValueHandler

    • 方法详细资料

      • isAsyncReturnValue

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