Package org.eclipse.jetty.servlet
Interface FilterHolder.WrapFunction
-
- Enclosing class:
- FilterHolder
public static interface FilterHolder.WrapFunction
Experimental Wrapper mechanism for Filter objects.Beans in
ServletContextHandler
orWebAppContext
that implement this interface will be called to optionally wrap any newly created Filters (before theirFilter.init(FilterConfig)
method is called)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.servlet.Filter
wrapFilter(javax.servlet.Filter filter)
Optionally wrap the Filter.
-
-
-
Method Detail
-
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)
-
-