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 |
---|---|
java.util.List<WebExceptionHandler> |
HandlerStrategies.exceptionHandlers()
Return the
WebExceptionHandlers 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(java.util.function.Consumer<java.util.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 |
---|---|
java.util.List<WebExceptionHandler> |
ExceptionHandlingWebHandler.getExceptionHandlers()
Return a read-only list of the configured exception handlers.
|
Constructor and Description |
---|
ExceptionHandlingWebHandler(WebHandler delegate,
java.util.List<WebExceptionHandler> handlers) |