|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.request.cycle.AbstractRequestCycleListener org.apache.wicket.protocol.http.RequestLoggerRequestCycleListener
public class RequestLoggerRequestCycleListener
Listener that logs request details in the Application.getRequestLogger()
request logger.
Constructor Summary | |
---|---|
RequestLoggerRequestCycleListener()
|
Method Summary | |
---|---|
void |
onBeginRequest(RequestCycle cycle)
Called when the request cycle object is beginning its response |
void |
onEndRequest(RequestCycle cycle)
Called when the request cycle object has finished its response |
void |
onExceptionRequestHandlerResolved(RequestCycle cycle,
IRequestHandler handler,
Exception exception)
Called when an IRequestHandler is resolved for an exception and will be executed. |
void |
onRequestHandlerResolved(RequestCycle cycle,
IRequestHandler handler)
Called when an IRequestHandler is resolved and will be executed. |
void |
onRequestHandlerScheduled(RequestCycle cycle,
IRequestHandler handler)
Called when a IRequestHandler has been scheduled. |
Methods inherited from class org.apache.wicket.request.cycle.AbstractRequestCycleListener |
---|
onDetach, onException, onRequestHandlerExecuted, onUrlMapped |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RequestLoggerRequestCycleListener()
Method Detail |
---|
public void onBeginRequest(RequestCycle cycle)
IRequestCycleListener
onBeginRequest
in interface IRequestCycleListener
onBeginRequest
in class AbstractRequestCycleListener
public void onRequestHandlerScheduled(RequestCycle cycle, IRequestHandler handler)
IRequestCycleListener
IRequestHandler
has been scheduled. Can be called multiple times during
a request when new handlers get scheduled for processing.
onRequestHandlerScheduled
in interface IRequestCycleListener
onRequestHandlerScheduled
in class AbstractRequestCycleListener
RequestCycle.scheduleRequestHandlerAfterCurrent(IRequestHandler)
public void onRequestHandlerResolved(RequestCycle cycle, IRequestHandler handler)
IRequestCycleListener
IRequestHandler
is resolved and will be executed.
onRequestHandlerResolved
in interface IRequestCycleListener
onRequestHandlerResolved
in class AbstractRequestCycleListener
public void onExceptionRequestHandlerResolved(RequestCycle cycle, IRequestHandler handler, Exception exception)
IRequestCycleListener
IRequestHandler
is resolved for an exception and will be executed.
onExceptionRequestHandlerResolved
in interface IRequestCycleListener
onExceptionRequestHandlerResolved
in class AbstractRequestCycleListener
public void onEndRequest(RequestCycle cycle)
IRequestCycleListener
onEndRequest
in interface IRequestCycleListener
onEndRequest
in class AbstractRequestCycleListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |