- All Implemented Interfaces:
HandlerAdapterimplementation that supports
- Arjen Poutsma
supportspublic boolean supports
(Object handler)Description copied from interface:
HandlerAdaptersupports the given
handlepublic reactor.core.publisher.Mono<HandlerResult> handle
(ServerWebExchange exchange, Object handler)Description copied from interface:
HandlerAdapterHandle the request with the given handler.
Implementations are encouraged to handle exceptions resulting from the invocation of a handler in order and if necessary to return an alternate result that represents an error response.
Furthermore since an async
HandlerResultmay produce an error later during result handling implementations are also encouraged to
set an exception handleron the
HandlerResultso that may also be applied later after result handling.
- Specified by:
exchange- current server exchange
handler- the selected handler which must have been previously checked via
Monothat emits a single
HandlerResultor none if the request has been fully handled and doesn't require further handling.