Interface ServerExchangeRejectedHandler
- All Known Implementing Classes:
HttpStatusExchangeRejectedHandler
public interface ServerExchangeRejectedHandler
Handles
ServerExchangeRejectedException
thrown by
ServerWebExchangeFirewall
.- Since:
- 6.4
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>
handle
(org.springframework.web.server.ServerWebExchange exchange, ServerExchangeRejectedException serverExchangeRejectedException) Handles an request rejected failure.
-
Method Details
-
handle
reactor.core.publisher.Mono<Void> handle(org.springframework.web.server.ServerWebExchange exchange, ServerExchangeRejectedException serverExchangeRejectedException) Handles an request rejected failure.- Parameters:
exchange
- theServerWebExchange
that was rejectedserverExchangeRejectedException
- that caused the invocation
-