org.mortbay.jetty.handler
Class AbstractHandler
java.lang.Object
org.mortbay.component.AbstractLifeCycle
org.mortbay.jetty.handler.AbstractHandler
- All Implemented Interfaces:
- org.mortbay.component.LifeCycle, Handler
- Direct Known Subclasses:
- AbstractHandlerContainer, DefaultHandler, ErrorHandler, ResourceHandler, ServletHandler
public abstract class AbstractHandler
- extends org.mortbay.component.AbstractLifeCycle
- implements Handler
AbstractHandler.
- Author:
- gregw
Nested classes/interfaces inherited from interface org.mortbay.component.LifeCycle |
org.mortbay.component.LifeCycle.Listener |
Field Summary |
protected java.lang.String |
_string
|
Fields inherited from class org.mortbay.component.AbstractLifeCycle |
_listeners |
Methods inherited from class org.mortbay.component.AbstractLifeCycle |
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, 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 |
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
_string
protected java.lang.String _string
AbstractHandler
public AbstractHandler()
doStart
protected void doStart()
throws java.lang.Exception
- Overrides:
doStart
in class org.mortbay.component.AbstractLifeCycle
- Throws:
java.lang.Exception
doStop
protected void doStop()
throws java.lang.Exception
- Overrides:
doStop
in class org.mortbay.component.AbstractLifeCycle
- Throws:
java.lang.Exception
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
setServer
public void setServer(Server server)
- Specified by:
setServer
in interface Handler
getServer
public Server getServer()
- Specified by:
getServer
in interface Handler
destroy
public void destroy()
- Specified by:
destroy
in interface Handler
Copyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.