org.mortbay.jetty.servlet
Class FilterHolder

java.lang.Object
  extended by java.util.AbstractMap
      extended by org.mortbay.jetty.servlet.Holder
          extended by org.mortbay.jetty.servlet.FilterHolder
All Implemented Interfaces:
java.io.Serializable, java.util.Map, LifeCycle

public class FilterHolder
extends Holder

Version:
$Id: FilterHolder.java,v 1.31 2005/04/07 09:15:33 gregwilkins Exp $
Author:
Greg Wilkins
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Field Summary
 
Fields inherited from class org.mortbay.jetty.servlet.Holder
_class, _className, _displayName, _httpHandler, _initParams, _name
 
Constructor Summary
FilterHolder()
          Constructor for Serialization.
FilterHolder(HttpHandler httpHandler, java.lang.String name, java.lang.String className)
           
 
Method Summary
 Filter getFilter()
           
 void start()
          Start the LifeCycle.
 void stop()
          Stop the LifeCycle.
 java.lang.String toString()
           
 
Methods inherited from class org.mortbay.jetty.servlet.Holder
entrySet, get, getClassName, getDisplayName, getHttpContext, getHttpHandler, getInitParameter, getInitParameterNames, getInitParameters, getName, isStarted, newInstance, put, setDisplayName, setInitParameter
 
Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, remove, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FilterHolder

public FilterHolder()
Constructor for Serialization.


FilterHolder

public FilterHolder(HttpHandler httpHandler,
                    java.lang.String name,
                    java.lang.String className)
Method Detail

start

public void start()
           throws java.lang.Exception
Description copied from interface: LifeCycle
Start the LifeCycle.

Specified by:
start in interface LifeCycle
Overrides:
start in class Holder
Throws:
java.lang.Exception - An arbitrary exception may be thrown.

stop

public void stop()
Description copied from interface: LifeCycle
Stop the LifeCycle. The LifeCycle may wait for current activities to complete normally, but it can be interrupted.

Specified by:
stop in interface LifeCycle
Overrides:
stop in class Holder

getFilter

public Filter getFilter()

toString

public java.lang.String toString()
Overrides:
toString in class Holder


Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.