org.springframework.web.reactive

Interface HandlerResultHandler

    • Method Detail

      • supports

        boolean supports(HandlerResult result)
        Whether this handler supports the given HandlerResult.
        Parameters:
        result - result object to check
        Returns:
        whether or not this object can use the given result
      • handleResult

        reactor.core.publisher.Mono<java.lang.Void> handleResult(ServerWebExchange exchange,
                                                                 HandlerResult result)
        Process the given result modifying response headers and/or writing data to the response.
        Parameters:
        exchange - current server exchange
        result - the result from the handling
        Returns:
        Mono<Void> to indicate when request handling is complete.