Interface ServerWebExchangeFirewall

  • All Known Implementing Classes:
    StrictServerWebExchangeFirewall

    public interface ServerWebExchangeFirewall
    Interface which can be used to reject potentially dangerous requests and/or wrap them to control their behaviour.
    Since:
    5.7.13
    • Method Detail

      • getFirewalledExchange

        reactor.core.publisher.Mono<org.springframework.web.server.ServerWebExchange> getFirewalledExchange​(org.springframework.web.server.ServerWebExchange exchange)
        Get a ServerWebExchange that has firewall rules applied to it.
        Parameters:
        exchange - the ServerWebExchange to apply firewall rules to.
        Returns:
        the ServerWebExchange that has firewall rules applied to it.
        Throws:
        ServerExchangeRejectedException - when a rule is broken.