org.mortbay.jetty.handler
public class DebugHandler extends HandlerWrapper
_string
Constructor and Description |
---|
DebugHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
doStart() |
protected void |
doStop() |
java.io.OutputStream |
getOutputStream() |
void |
handle(java.lang.String target,
HttpServletRequest request,
HttpServletResponse response,
int dispatch)
Handle a request.
|
void |
setOutputStream(java.io.OutputStream out) |
addHandler, expandChildren, getHandler, removeHandler, setHandler, setServer
expandHandler, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass
destroy, getServer, toString
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
public void handle(java.lang.String target, HttpServletRequest request, HttpServletResponse response, int dispatch) throws java.io.IOException, ServletException
Handler
handle
in interface Handler
handle
in class HandlerWrapper
target
- The target of the request - either a URI or a name.request
- The request either as the Request
object or a wrapper of that request. The HttpConnection.getCurrentConnection()
method can be used access the Request object if required.response
- The response as the Response
object or a wrapper of that request. The HttpConnection.getCurrentConnection()
method can be used access the Response object if required.dispatch
- The dispatch mode: Handler.REQUEST
, Handler.FORWARD
, Handler.INCLUDE
, Handler.ERROR
java.io.IOException
ServletException
protected void doStart() throws java.lang.Exception
doStart
in class HandlerWrapper
java.lang.Exception
protected void doStop() throws java.lang.Exception
doStop
in class HandlerWrapper
java.lang.Exception
public java.io.OutputStream getOutputStream()
public void setOutputStream(java.io.OutputStream out)
out
- the out to setCopyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.