接口 HandlerResultHandler

    • 方法详细资料

      • supports

        boolean supports​(HandlerResult result)
        Whether this handler supports the given HandlerResult.
        参数:
        result - the result object to check
        返回:
        whether or not this object can use the given result
      • handleResult

        reactor.core.publisher.Mono<VoidhandleResult​(ServerWebExchange exchange,
                                                       HandlerResult result)
        Process the given result modifying response headers and/or writing data to the response.
        参数:
        exchange - current server exchange
        result - the result from the handling
        返回:
        Mono<Void> to indicate when request handling is complete.