Class WebFilterExchange

  • public class WebFilterExchange
    extends java.lang.Object
    A composite of the ServerWebExchange and the WebFilterChain. This is typically used as a value object for handling success and failures.
    • Constructor Summary

      Constructor Description
      WebFilterExchange​(org.springframework.web.server.ServerWebExchange exchange, org.springframework.web.server.WebFilterChain chain)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.web.server.WebFilterChain getChain()
      The filter chain
      org.springframework.web.server.ServerWebExchange getExchange()
      Get the exchange
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WebFilterExchange

        public WebFilterExchange​(org.springframework.web.server.ServerWebExchange exchange,
                                 org.springframework.web.server.WebFilterChain chain)
    • Method Detail

      • getExchange

        public org.springframework.web.server.ServerWebExchange getExchange()
        Get the exchange
        the exchange. Cannot be null
      • getChain

        public org.springframework.web.server.WebFilterChain getChain()
        The filter chain
        the filter chain. Cannot be null