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