Package org.apache.wicket.protocol.http
Class RequestLoggerRequestCycleListener
- java.lang.Object
-
- org.apache.wicket.protocol.http.RequestLoggerRequestCycleListener
-
- All Implemented Interfaces:
IRequestCycleListener
public class RequestLoggerRequestCycleListener extends java.lang.Object implements IRequestCycleListener
Listener that logs request details in theApplication.getRequestLogger()request logger.
-
-
Constructor Summary
Constructors Constructor Description RequestLoggerRequestCycleListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonBeginRequest(RequestCycle cycle)Called when the request cycle object is beginning its responsevoidonEndRequest(RequestCycle cycle)Called when the request cycle object has finished its responsevoidonExceptionRequestHandlerResolved(RequestCycle cycle, org.apache.wicket.request.IRequestHandler handler, java.lang.Exception exception)Called when anIRequestHandleris resolved for an exception and will be executed.voidonRequestHandlerResolved(RequestCycle cycle, org.apache.wicket.request.IRequestHandler handler)Called when anIRequestHandleris resolved and will be executed.voidonRequestHandlerScheduled(RequestCycle cycle, org.apache.wicket.request.IRequestHandler handler)Called when aIRequestHandlerhas been scheduled.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.wicket.request.cycle.IRequestCycleListener
onDetach, onException, onRequestHandlerExecuted, onUrlMapped
-
-
-
-
Method Detail
-
onBeginRequest
public void onBeginRequest(RequestCycle cycle)
Description copied from interface:IRequestCycleListenerCalled when the request cycle object is beginning its response- Specified by:
onBeginRequestin interfaceIRequestCycleListener
-
onRequestHandlerScheduled
public void onRequestHandlerScheduled(RequestCycle cycle, org.apache.wicket.request.IRequestHandler handler)
Description copied from interface:IRequestCycleListenerCalled when aIRequestHandlerhas been scheduled. Can be called multiple times during a request when new handlers get scheduled for processing.- Specified by:
onRequestHandlerScheduledin interfaceIRequestCycleListener- See Also:
RequestCycle.scheduleRequestHandlerAfterCurrent(IRequestHandler)
-
onRequestHandlerResolved
public void onRequestHandlerResolved(RequestCycle cycle, org.apache.wicket.request.IRequestHandler handler)
Description copied from interface:IRequestCycleListenerCalled when anIRequestHandleris resolved and will be executed.- Specified by:
onRequestHandlerResolvedin interfaceIRequestCycleListener
-
onExceptionRequestHandlerResolved
public void onExceptionRequestHandlerResolved(RequestCycle cycle, org.apache.wicket.request.IRequestHandler handler, java.lang.Exception exception)
Description copied from interface:IRequestCycleListenerCalled when anIRequestHandleris resolved for an exception and will be executed.- Specified by:
onExceptionRequestHandlerResolvedin interfaceIRequestCycleListener
-
onEndRequest
public void onEndRequest(RequestCycle cycle)
Description copied from interface:IRequestCycleListenerCalled when the request cycle object has finished its response- Specified by:
onEndRequestin interfaceIRequestCycleListener
-
-