org.mortbay.jetty.handler
public class RequestLogHandler extends HandlerWrapper
_string| Constructor and Description |
|---|
RequestLogHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
RequestLog |
getRequestLog() |
void |
handle(java.lang.String target,
HttpServletRequest request,
HttpServletResponse response,
int dispatch)
Handle a request.
|
void |
setRequestLog(RequestLog requestLog) |
void |
setServer(Server server) |
addHandler, expandChildren, getHandler, removeHandler, setHandlerexpandHandler, getChildHandlerByClass, getChildHandlers, getChildHandlersByClassdestroy, getServer, toStringaddLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stoppublic void handle(java.lang.String target,
HttpServletRequest request,
HttpServletResponse response,
int dispatch)
throws java.io.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.ERRORjava.io.IOExceptionServletExceptionpublic void setRequestLog(RequestLog requestLog)
public void setServer(Server server)
setServer in interface HandlersetServer in class HandlerWrapperpublic RequestLog getRequestLog()
protected void doStart()
throws java.lang.Exception
doStart in class HandlerWrapperjava.lang.Exceptionprotected void doStop()
throws java.lang.Exception
doStop in class HandlerWrapperjava.lang.ExceptionCopyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.