Interface FilterHolder.WrapFunction

  • Enclosing class:

    public static interface FilterHolder.WrapFunction
    Experimental Wrapper mechanism for Filter objects.

    Beans in ServletContextHandler or WebAppContext that implement this interface will be called to optionally wrap any newly created Filters (before their Filter.init(FilterConfig) method is called)

    • Method Detail

      • wrapFilter

        javax.servlet.Filter wrapFilter​(javax.servlet.Filter filter)
        Optionally wrap the Filter.
        filter - the Filter being passed in.
        the Filter (extend from FilterHolder.Wrapper if you do wrap the Filter)