Package | Description |
---|---|
org.springframework.web.server.adapter |
Implementations to adapt to the underlying
org.springframework.http.client.reactive reactive HTTP adapter
and HttpHandler . |
org.springframework.web.server.handler |
Provides common WebHandler implementations and a
WebHandlerDecorator . |
Modifier and Type | Method and Description |
---|---|
WebHttpHandlerBuilder |
WebHttpHandlerBuilder.exceptionHandler(WebExceptionHandler... handlers)
Add the given exception handler(s).
|
Modifier and Type | Method and Description |
---|---|
WebHttpHandlerBuilder |
WebHttpHandlerBuilder.exceptionHandlers(Consumer<List<WebExceptionHandler>> consumer)
Manipulate the "live" list of currently configured exception handlers.
|
Modifier and Type | Class and Description |
---|---|
class |
ResponseStatusExceptionHandler
Handle
ResponseStatusException by setting the response status. |
Modifier and Type | Method and Description |
---|---|
List<WebExceptionHandler> |
ExceptionHandlingWebHandler.getExceptionHandlers()
Return a read-only list of the configured exception handlers.
|
Constructor and Description |
---|
ExceptionHandlingWebHandler(WebHandler delegate,
List<WebExceptionHandler> handlers)
Create an
ExceptionHandlingWebHandler for the given delegate. |