public class DebugHandler extends HandlerWrapper
_string| Constructor and Description |
|---|
DebugHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
OutputStream |
getOutputStream() |
void |
handle(String target,
HttpServletRequest request,
HttpServletResponse response,
int dispatch)
Handle a request.
|
void |
setOutputStream(OutputStream out) |
addHandler, expandChildren, getHandler, removeHandler, setHandler, setServerexpandHandler, getChildHandlerByClass, getChildHandlers, getChildHandlersByClassdestroy, getServer, toStringaddLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stoppublic void handle(String target, HttpServletRequest request, HttpServletResponse response, int dispatch) throws IOException, ServletException
Handlerhandle in interface Handlerhandle in class HandlerWrappertarget - 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.ERRORIOExceptionServletExceptionprotected void doStart()
throws Exception
doStart in class HandlerWrapperExceptionprotected void doStop()
throws Exception
doStop in class HandlerWrapperExceptionpublic OutputStream getOutputStream()
public void setOutputStream(OutputStream out)
out - the out to setCopyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.