public class WebFluxResponseStatusExceptionHandler extends ResponseStatusExceptionHandler
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.
If the response is already committed, the error remains unresolved and is propagated.
| Constructor and Description |
|---|
WebFluxResponseStatusExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected HttpStatus |
determineStatus(java.lang.Throwable ex)
Determine the HTTP status implied by the given exception.
|
handle, setWarnLogCategorypublic WebFluxResponseStatusExceptionHandler()
@Nullable protected HttpStatus determineStatus(java.lang.Throwable ex)
ResponseStatusExceptionHandlerdetermineStatus in class ResponseStatusExceptionHandlerex - the exception to introspect