org.eclipse.jetty.server.handler
Class AbstractHandler
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AggregateLifeCycle
org.eclipse.jetty.server.handler.AbstractHandler
- All Implemented Interfaces:
- Handler, Destroyable, Dumpable, LifeCycle
- Direct Known Subclasses:
- AbstractHandlerContainer, DefaultHandler, ErrorHandler, ShutdownHandler
public abstract class AbstractHandler
- extends AggregateLifeCycle
- implements Handler
AbstractHandler.
Methods inherited from class org.eclipse.jetty.util.component.AggregateLifeCycle |
addBean, addBean, contains, dump, dump, dump, dump, dump, dumpObject, dumpStdErr, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, unmanage |
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle |
addLifeCycleListener, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.jetty.server.Handler |
handle |
AbstractHandler
public AbstractHandler()
doStart
protected void doStart()
throws Exception
- Overrides:
doStart
in class AggregateLifeCycle
- Throws:
Exception
doStop
protected void doStop()
throws Exception
- Overrides:
doStop
in class AggregateLifeCycle
- Throws:
Exception
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
- Specified by:
destroy
in interface Destroyable
- Overrides:
destroy
in class AggregateLifeCycle
dumpThis
public void dumpThis(Appendable out)
throws IOException
- Overrides:
dumpThis
in class AggregateLifeCycle
- Throws:
IOException
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.