Interface FilterHolder.WrapFunction

Enclosing class:
FilterHolder

@Deprecated(since="2021-05-27") public static interface FilterHolder.WrapFunction
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
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 Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Optionally wrap the Filter.
  • Method Details

    • 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)