org.mortbay.jetty.servlet
Class FilterHolder
java.lang.Object
org.mortbay.component.AbstractLifeCycle
org.mortbay.jetty.servlet.Holder
org.mortbay.jetty.servlet.FilterHolder
- All Implemented Interfaces:
- Serializable, LifeCycle
public class FilterHolder
- extends Holder
- Author:
- Greg Wilkins
- See Also:
- Serialized Form
Methods inherited from class org.mortbay.jetty.servlet.Holder |
getClassName, getDisplayName, getHeldClass, getInitParameter, getInitParameterNames, getInitParameters, getName, getServletHandler, newInstance, setClassName, setDisplayName, setHeldClass, setInitParameter, setInitParameters, setName, setServletHandler |
FilterHolder
public FilterHolder()
- Constructor for Serialization.
FilterHolder
public FilterHolder(Class filter)
- Constructor for Serialization.
FilterHolder
public FilterHolder(Filter filter)
- Constructor for existing filter.
dispatch
public static int dispatch(String type)
- Dispatch type from name
doStart
public void doStart()
throws Exception
- Overrides:
doStart
in class Holder
- Throws:
Exception
doStop
public void doStop()
- Overrides:
doStop
in class Holder
destroyInstance
public void destroyInstance(Object o)
throws Exception
- Overrides:
destroyInstance
in class Holder
- Throws:
Exception
setFilter
public void setFilter(Filter filter)
getFilter
public Filter getFilter()
toString
public String toString()
- Overrides:
toString
in class Holder