Package org.eclipse.jetty.servlet
Class FilterHolder
- java.lang.Object
-
- org.eclipse.jetty.util.component.AbstractLifeCycle
-
- org.eclipse.jetty.servlet.BaseHolder<T>
-
- org.eclipse.jetty.servlet.Holder<Filter>
-
- org.eclipse.jetty.servlet.FilterHolder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFilterHolder.WrapFunctionDeprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.static classFilterHolder.WrapperDeprecated.-
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainer
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener
-
-
Constructor Summary
Constructors Constructor Description FilterHolder()Deprecated.ConstructorFilterHolder(Class<? extends Filter> filter)Deprecated.ConstructorFilterHolder(Filter filter)Deprecated.Constructor for existing filter.FilterHolder(Source source)Deprecated.Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voiddestroyInstance(Object o)Deprecated.voiddoFilter(ServletRequest request, ServletResponse response, FilterChain chain)Deprecated.voiddoStart()Deprecated.voiddoStop()Deprecated.voiddump(Appendable out, String indent)Deprecated.Dump this object (and children) into an Appendable using the provided indent after any new lines.FiltergetFilter()Deprecated.FilterRegistration.DynamicgetRegistration()Deprecated.voidinitialize()Deprecated.Do any setup necessary after startingvoidsetFilter(Filter filter)Deprecated.StringtoString()Deprecated.-
Methods inherited from class org.eclipse.jetty.servlet.Holder
dump, getDisplayName, getInitParameter, getInitParameterNames, getInitParameters, getName, isAsyncSupported, setAsyncSupported, setClassName, setDisplayName, setHeldClass, setInitParameter, setInitParameters, setName
-
Methods inherited from class org.eclipse.jetty.servlet.BaseHolder
getClassName, getHeldClass, getServletHandler, getSource, isInstance, setServletHandler
-
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop
-
-
-
-
Constructor Detail
-
FilterHolder
public FilterHolder()
Deprecated.Constructor
-
FilterHolder
public FilterHolder(Source source)
Deprecated.Constructor- Parameters:
source- the holder source
-
FilterHolder
public FilterHolder(Class<? extends Filter> filter)
Deprecated.Constructor- Parameters:
filter- the filter class
-
FilterHolder
public FilterHolder(Filter filter)
Deprecated.Constructor for existing filter.- Parameters:
filter- the filter
-
-
Method Detail
-
doStart
public void doStart() throws ExceptionDeprecated.- Overrides:
doStartin classBaseHolder<Filter>- Throws:
Exception
-
initialize
public void initialize() throws ExceptionDeprecated.Description copied from class:BaseHolderDo any setup necessary after starting- Overrides:
initializein classBaseHolder<Filter>- Throws:
Exception- if unable to initialize
-
doStop
public void doStop() throws ExceptionDeprecated.- Overrides:
doStopin classBaseHolder<Filter>- Throws:
Exception
-
destroyInstance
public void destroyInstance(Object o)
Deprecated.- Overrides:
destroyInstancein classHolder<Filter>
-
setFilter
public void setFilter(Filter filter)
Deprecated.
-
getFilter
public Filter getFilter()
Deprecated.
-
doFilter
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException
Deprecated.- Throws:
IOExceptionServletException
-
dump
public void dump(Appendable out, String indent) throws IOException
Deprecated.Description copied from interface:DumpableDump this object (and children) into an Appendable using the provided indent after any new lines. The indent should not be applied to the first object dumped.- Specified by:
dumpin interfaceDumpable- Overrides:
dumpin classBaseHolder<Filter>- Parameters:
out- The appendable to dump toindent- The indent to apply after any new lines.- Throws:
IOException- if unable to write to Appendable
-
getRegistration
public FilterRegistration.Dynamic getRegistration()
Deprecated.
-
-