Class WebFluxResponseStatusExceptionHandler
java.lang.Object
org.springframework.web.server.handler.ResponseStatusExceptionHandler
org.springframework.web.reactive.handler.WebFluxResponseStatusExceptionHandler
- All Implemented Interfaces:
- WebExceptionHandler
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.
 If the response is already committed, the error remains unresolved and is propagated.
- Since:
- 5.0.5
- Author:
- Juergen Hoeller, Rossen Stoyanchev
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected HttpStatusCodeDetermine the HTTP status for the given exception.Methods inherited from class org.springframework.web.server.handler.ResponseStatusExceptionHandlerdetermineRawStatusCode, handle, setWarnLogCategory
- 
Constructor Details- 
WebFluxResponseStatusExceptionHandlerpublic WebFluxResponseStatusExceptionHandler()
 
- 
- 
Method Details- 
determineStatusDescription copied from class:ResponseStatusExceptionHandlerDetermine the HTTP status for the given exception.- Overrides:
- determineStatusin class- ResponseStatusExceptionHandler
- Parameters:
- ex- the exception to check
- Returns:
- the associated HTTP status code, or nullif it can't be derived
 
 
-