An implementation can also choose to be an instance of
DispatchExceptionHandler if it wants to handle exceptions that occur
before the request is successfully mapped to a handler. This allows a
HandlerAdapter to expose the same exception handling both for handler
invocation errors and for errors before a handler is selected.
In Reactive Streams terms, handle handles the onNext signal, while
DispatchExceptionHandler#handleError handles the onError signal
from the dispatch processing chain.
| Modifier and Type | Method and Description |
|---|---|
| public Mono | Returns: Mono that emits a HandlerResult, or completes
empty if the request is fully handled; any error signal would not be
handled within the DispatcherHandler, and would instead be
processed by the chain of registered
org.s at the end
of the org. chaincurrent server exchange exchange, Object the selected handler which must have been previously
checked via handler)supports(Object)Handle the request with the given handler, previously checked via
|
| public boolean |
| handle | back to summary |
|---|---|
| public Mono Handle the request with the given handler, previously checked via
Implementations should consider the following for exception handling:
| |
| supports | back to summary |
|---|---|
| public boolean supports(Object handler) Whether this
| |