org.mortbay.jetty.handler
Class AbstractHandler

java.lang.Object
  extended by org.mortbay.component.AbstractLifeCycle
      extended by org.mortbay.jetty.handler.AbstractHandler
All Implemented Interfaces:
LifeCycle, Handler
Direct Known Subclasses:
ErrorHandler, HandlerCollection, NotFoundHandler, ServletHandler, WrappedHandler

public abstract class AbstractHandler
extends AbstractLifeCycle
implements Handler

AbstractHandler.

Author:
gregw

Field Summary
private  Server _server
           
protected  String _string
           
 
Fields inherited from interface org.mortbay.jetty.Handler
ALL, DEFAULT, ERROR, FORWARD, INCLUDE, REQUEST
 
Constructor Summary
AbstractHandler()
           
 
Method Summary
protected  void doStart()
           
protected  void doStop()
           
 Server getServer()
           
 void setServer(Server server)
           
 String toString()
           
 
Methods inherited from class org.mortbay.component.AbstractLifeCycle
isFailed, isRunning, isStarted, isStarting, isStopping, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mortbay.jetty.Handler
handle
 
Methods inherited from interface org.mortbay.component.LifeCycle
isFailed, isRunning, isStarted, isStarting, isStopping, start, stop
 

Field Detail

_string

protected String _string

_server

private Server _server
Constructor Detail

AbstractHandler

public AbstractHandler()
Method Detail

doStart

protected void doStart()
                throws Exception
Overrides:
doStart in class AbstractLifeCycle
Throws:
Exception

doStop

protected void doStop()
               throws Exception
Overrides:
doStop in class AbstractLifeCycle
Throws:
Exception

toString

public String toString()
Overrides:
toString in class Object

setServer

public void setServer(Server server)
Specified by:
setServer in interface Handler

getServer

public Server getServer()
Specified by:
getServer in interface Handler