Package org.eclipse.jetty.servlet
Class FilterHolder
java.lang.Object
Deprecated.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceDeprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.static classDeprecated.Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.ConstructorFilterHolder(Class<? extends Filter> filter) Deprecated.ConstructorFilterHolder(Filter filter) Deprecated.Constructor for existing filter.FilterHolder(Source source) Deprecated.Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.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.Deprecated.Deprecated.voidDeprecated.Do any setup necessary after startingvoidDeprecated.toString()Deprecated.Methods inherited from class org.eclipse.jetty.servlet.Holder
dump, getDisplayName, getInitParameter, getInitParameterNames, getInitParameters, getName, isAsyncSupported, setAsyncSupported, setClassName, setDisplayName, setHeldClass, setInitParameter, setInitParameters, setNameMethods inherited from class org.eclipse.jetty.servlet.BaseHolder
getClassName, getHeldClass, getServletHandler, getSource, isInstance, setServletHandlerMethods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop
-
Constructor Details
-
FilterHolder
public FilterHolder()Deprecated.Constructor -
FilterHolder
Deprecated.Constructor- Parameters:
source- the holder source
-
FilterHolder
Deprecated.Constructor- Parameters:
filter- the filter class
-
FilterHolder
Deprecated.Constructor for existing filter.- Parameters:
filter- the filter
-
-
Method Details
-
doStart
Deprecated.- Overrides:
doStartin classBaseHolder<Filter>- Throws:
Exception
-
initialize
Deprecated.Description copied from class:BaseHolderDo any setup necessary after starting- Overrides:
initializein classBaseHolder<Filter>- Throws:
Exception- if unable to initialize
-
doStop
Deprecated.- Overrides:
doStopin classBaseHolder<Filter>- Throws:
Exception
-
destroyInstance
Deprecated.- Overrides:
destroyInstancein classHolder<Filter>
-
setFilter
Deprecated. -
getFilter
Deprecated. -
doFilter
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException Deprecated.- Throws:
IOExceptionServletException
-
dump
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
-
toString
Deprecated. -
getRegistration
Deprecated.
-