Interface FilterHolder.WrapFunction

Enclosing class:
FilterHolder

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 Summary

    Modifier and Type
    Method
    Description
    javax.servlet.Filter
    wrapFilter(javax.servlet.Filter filter)
    Optionally wrap the Filter.
  • Method Details

    • wrapFilter

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