|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mortbay.component.AbstractLifeCycle
org.mortbay.jetty.handler.AbstractHandler
org.mortbay.jetty.handler.AbstractHandlerContainer
org.mortbay.jetty.handler.HandlerWrapper
org.mortbay.jetty.handler.RequestLogHandler
RequestLogHandler. This handler can be used to wrap an individual context for context logging.
| Field Summary |
| Fields inherited from class org.mortbay.jetty.handler.AbstractHandler |
_string |
| Fields inherited from interface org.mortbay.jetty.Handler |
ALL, DEFAULT, ERROR, FORWARD, INCLUDE, REQUEST |
| Constructor Summary | |
RequestLogHandler()
|
|
| Method Summary | |
protected void |
doStart()
|
protected void |
doStop()
|
RequestLog |
getRequestLog()
|
void |
handle(String target,
HttpServletRequest request,
HttpServletResponse response,
int dispatch)
Handle a request. |
void |
setRequestLog(RequestLog requestLog)
|
void |
setServer(Server server)
|
| Methods inherited from class org.mortbay.jetty.handler.HandlerWrapper |
addHandler, expandChildren, getHandler, setHandler |
| Methods inherited from class org.mortbay.jetty.handler.AbstractHandlerContainer |
expandHandler, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass |
| Methods inherited from class org.mortbay.jetty.handler.AbstractHandler |
getServer, toString |
| Methods inherited from class org.mortbay.component.AbstractLifeCycle |
isFailed, isRunning, isStarted, isStarting, isStopping, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.mortbay.component.LifeCycle |
isFailed, isRunning, isStarted, isStarting, isStopping, start, stop |
| Constructor Detail |
public RequestLogHandler()
| Method Detail |
public void handle(String target,
HttpServletRequest request,
HttpServletResponse response,
int dispatch)
throws IOException,
ServletException
Handler
handle in interface Handlerhandle in class HandlerWrapperIOException
ServletExceptionpublic void setRequestLog(RequestLog requestLog)
public void setServer(Server server)
setServer in interface HandlersetServer in class HandlerWrapperpublic RequestLog getRequestLog()
protected void doStart()
throws Exception
doStart in class HandlerWrapperException
protected void doStop()
throws Exception
doStop in class HandlerWrapperException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||