Interface ServerExchangeRejectedHandler
-
- All Known Implementing Classes:
HttpStatusExchangeRejectedHandler
public interface ServerExchangeRejectedHandler
HandlesServerExchangeRejectedException
thrown byServerWebExchangeFirewall
.- Since:
- 5.7.13
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description reactor.core.publisher.Mono<java.lang.Void>
handle(org.springframework.web.server.ServerWebExchange exchange, ServerExchangeRejectedException serverExchangeRejectedException)
Handles an request rejected failure.
-
-
-
Method Detail
-
handle
reactor.core.publisher.Mono<java.lang.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
-
-