spring-framework / org.springframework.web.server.handler / ResponseStatusExceptionHandler

ResponseStatusExceptionHandler

open class ResponseStatusExceptionHandler : WebExceptionHandler

Handle ResponseStatusException by setting the response status.

Author
Rossen Stoyanchev

Author
Sebastien Deleuze

Since
5.0

Constructors

<init>

ResponseStatusExceptionHandler()

Handle ResponseStatusException by setting the response status.

Functions

handle

open fun handle(exchange: ServerWebExchange, ex: Throwable): Mono<Void>