Package org.eclipse.jetty.server.handler
Class HandlerList
- java.lang.Object
- 
- All Implemented Interfaces:
- Handler,- HandlerContainer,- Container,- Destroyable,- Dumpable,- Dumpable.DumpableContainer,- LifeCycle
 
 public class HandlerList extends HandlerCollection HandlerList. This extension ofHandlerCollectionwill call each contained handler in turn until either an exception is thrown, the response is committed or a positive response status is set.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.eclipse.jetty.server.handler.HandlerCollectionHandlerCollection.Handlers
 - 
Nested classes/interfaces inherited from class org.eclipse.jetty.server.handler.AbstractHandlerAbstractHandler.ErrorDispatchHandler
 - 
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycleAbstractLifeCycle.AbstractLifeCycleListener
 - 
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.ContainerContainer.InheritedListener, Container.Listener
 - 
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.DumpableDumpable.DumpableContainer
 - 
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycleLifeCycle.Listener
 
- 
 - 
Field Summary- 
Fields inherited from class org.eclipse.jetty.server.handler.HandlerCollection_handlers
 
- 
 - 
Constructor SummaryConstructors Constructor Description HandlerList()HandlerList(Handler... handlers)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandle(java.lang.String target, Request baseRequest, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Handle a request.- 
Methods inherited from class org.eclipse.jetty.server.handler.HandlerCollectionaddHandler, destroy, expandChildren, getHandlers, newHandlers, prependHandler, removeHandler, setHandlers, updateHandlers
 - 
Methods inherited from class org.eclipse.jetty.server.handler.AbstractHandlerContainerdoShutdown, expandHandler, findContainerOf, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass, setServer
 - 
Methods inherited from class org.eclipse.jetty.server.handler.AbstractHandlerdoError, doStart, doStop, getServer
 - 
Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycleaddBean, addBean, addEventListener, addManaged, contains, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpObjects, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeans
 - 
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycleaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toString
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainerisDumpable
 - 
Methods inherited from interface org.eclipse.jetty.util.component.LifeCycleaddLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
 
- 
 
- 
- 
- 
Constructor Detail- 
HandlerListpublic HandlerList() 
 - 
HandlerListpublic HandlerList(Handler... handlers) 
 
- 
 - 
Method Detail- 
handlepublic void handle(java.lang.String target, Request baseRequest, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletExceptionDescription copied from interface:HandlerHandle a request.- Specified by:
- handlein interface- Handler
- Overrides:
- handlein class- HandlerCollection
- Parameters:
- target- The target of the request - either a URI or a name.
- baseRequest- The original unwrapped request object.
- request- The request either as the- Requestobject or a wrapper of that request. The- HttpConnection.getCurrentConnection().- getHttpChannel().- getRequest()
- response- The response as the- Responseobject or a wrapper of that request. The- HttpConnection.getCurrentConnection().- getHttpChannel().- getResponse()
- Throws:
- java.io.IOException- if unable to handle the request or response processing
- javax.servlet.ServletException- if unable to handle the request or response due to underlying servlet issue
- See Also:
- Handler.handle(String, Request, HttpServletRequest, HttpServletResponse)
 
 
- 
 
-