public interface HandlerResultHandler
HandlerResult
, usually returned by an HandlerAdapter
.Modifier and Type | Method and Description |
---|---|
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.
|
boolean |
supports(HandlerResult result)
Whether this handler supports the given
HandlerResult . |
boolean supports(HandlerResult result)
HandlerResult
.result
- result object to checkreactor.core.publisher.Mono<java.lang.Void> handleResult(ServerWebExchange exchange, HandlerResult result)
exchange
- current server exchangeresult
- the result from the handlingMono<Void>
to indicate when request handling is complete.