类 PassThroughFilterChain

  • 所有已实现的接口:
    FilterChain

    public class PassThroughFilterChain
    extends Object
    implements FilterChain
    Implementation of the FilterConfig interface which simply passes the call through to a given Filter/FilterChain combination (indicating the next Filter in the chain along with the FilterChain that it is supposed to work on) or to a given Servlet (indicating the end of the chain).
    从以下版本开始:
    2.0.3
    作者:
    Juergen Hoeller
    另请参阅:
    Filter, Servlet, MockFilterChain
    • 构造器详细资料

      • PassThroughFilterChain

        public PassThroughFilterChain​(Filter filter,
                                      FilterChain nextFilterChain)
        Create a new PassThroughFilterChain that delegates to the given Filter, calling it with the given FilterChain.
        参数:
        filter - the Filter to delegate to
        nextFilterChain - the FilterChain to use for that next Filter
      • PassThroughFilterChain

        public PassThroughFilterChain​(Servlet servlet)
        Create a new PassThroughFilterChain that delegates to the given Servlet.
        参数:
        servlet - the Servlet to delegate to