org.eclipse.jetty.server.handler
Class AbstractHandler

java.lang.Object
  extended by org.eclipse.jetty.util.component.AbstractLifeCycle
      extended by org.eclipse.jetty.util.component.AggregateLifeCycle
          extended by org.eclipse.jetty.server.handler.AbstractHandler
All Implemented Interfaces:
Handler, Destroyable, Dumpable, LifeCycle
Direct Known Subclasses:
AbstractHandlerContainer, DefaultHandler, ErrorHandler, HelloHandler, ManyHandlers.ParamHandler, ResourceHandler

public abstract class AbstractHandler
extends AggregateLifeCycle
implements Handler

AbstractHandler.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener
 
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener
 
Field Summary
 
Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
_listeners, FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
 
Constructor Summary
AbstractHandler()
           
 
Method Summary
 void destroy()
           
protected  void doStart()
           
protected  void doStop()
           
 void dumpThis(Appendable out)
           
 Server getServer()
           
 void setServer(Server server)
           
 
Methods inherited from class org.eclipse.jetty.util.component.AggregateLifeCycle
addBean, dump, dump, dump, dump, dump, dumpStdErr, getBean, getBeans, getBeans, removeBean, removeBeans
 
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
 
Methods inherited from interface org.eclipse.jetty.util.component.LifeCycle
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
 

Constructor Detail

AbstractHandler

public AbstractHandler()
Method Detail

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-2011 Mort Bay Consulting. All Rights Reserved.