Interface FilterHolder.WrapFunction

  • Enclosing class:
    FilterHolder

    @Deprecated
    public static interface FilterHolder.WrapFunction
    Deprecated.
    This api is not supported anymore. Please do not use it.
    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

        Filter wrapFilter​(Filter filter)
        Deprecated.
        Optionally wrap the Filter.
        Parameters:
        filter - the Filter being passed in.
        Returns:
        the Filter (extend from FilterHolder.Wrapper if you do wrap the Filter)