Package | Description |
---|---|
org.springframework.web.reactive.config |
Spring WebFlux configuration infrastructure.
|
org.springframework.web.reactive.function.server |
Provides the types that make up Spring's functional web framework.
|
org.springframework.web.reactive.handler |
Provides HandlerMapping implementations including abstract base classes.
|
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 |
---|---|
WebExceptionHandler |
WebFluxConfigurationSupport.responseStatusExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
List<WebExceptionHandler> |
HandlerStrategies.exceptionHandlers()
Return the
WebExceptionHandler s to be used for handling exceptions. |
Modifier and Type | Method and Description |
---|---|
HandlerStrategies.Builder |
HandlerStrategies.Builder.exceptionHandler(WebExceptionHandler exceptionHandler)
Add the given exception handler to this builder.
|
Modifier and Type | Class and Description |
---|---|
class |
WebFluxResponseStatusExceptionHandler
Common WebFlux exception handler that detects instances of
ResponseStatusException
(inherited from the base class) as well as exceptions annotated with
@ResponseStatus by determining the HTTP status
for them and updating the status of the response accordingly. |
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) |