public class ResponseStatusExceptionHandler extends Object implements WebExceptionHandler
ResponseStatusException by setting the response status.| Constructor and Description | 
|---|
ResponseStatusExceptionHandler()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected HttpStatus | 
determineStatus(Throwable ex)
Determine the HTTP status implied by the given exception. 
 | 
reactor.core.publisher.Mono<Void> | 
handle(ServerWebExchange exchange,
      Throwable ex)
Handle the given exception. 
 | 
public reactor.core.publisher.Mono<Void> handle(ServerWebExchange exchange, Throwable ex)
WebExceptionHandlerhandle in interface WebExceptionHandlerexchange - the current exchangeex - the exception to handleMono<Void> to indicate when exception handling is complete@Nullable protected HttpStatus determineStatus(Throwable ex)
ex - the exception to introspect