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 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 void
onBeginRequest(RequestCycle cycle)
Called when the request cycle object is beginning its responsevoid
onEndRequest(RequestCycle cycle)
Called when the request cycle object has finished its responsevoid
onExceptionRequestHandlerResolved(RequestCycle cycle, IRequestHandler handler, Exception exception)
Called when anIRequestHandler
is resolved for an exception and will be executed.void
onRequestHandlerResolved(RequestCycle cycle, IRequestHandler handler)
Called when anIRequestHandler
is resolved and will be executed.void
onRequestHandlerScheduled(RequestCycle cycle, IRequestHandler handler)
Called when aIRequestHandler
has 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
-
-
-
-
Constructor Detail
-
RequestLoggerRequestCycleListener
public RequestLoggerRequestCycleListener()
-
-
Method Detail
-
onBeginRequest
public void onBeginRequest(RequestCycle cycle)
Description copied from interface:IRequestCycleListener
Called when the request cycle object is beginning its response- Specified by:
onBeginRequest
in interfaceIRequestCycleListener
-
onRequestHandlerScheduled
public void onRequestHandlerScheduled(RequestCycle cycle, IRequestHandler handler)
Description copied from interface:IRequestCycleListener
Called when aIRequestHandler
has been scheduled. Can be called multiple times during a request when new handlers get scheduled for processing.- Specified by:
onRequestHandlerScheduled
in interfaceIRequestCycleListener
- See Also:
RequestCycle.scheduleRequestHandlerAfterCurrent(IRequestHandler)
-
onRequestHandlerResolved
public void onRequestHandlerResolved(RequestCycle cycle, IRequestHandler handler)
Description copied from interface:IRequestCycleListener
Called when anIRequestHandler
is resolved and will be executed.- Specified by:
onRequestHandlerResolved
in interfaceIRequestCycleListener
-
onExceptionRequestHandlerResolved
public void onExceptionRequestHandlerResolved(RequestCycle cycle, IRequestHandler handler, Exception exception)
Description copied from interface:IRequestCycleListener
Called when anIRequestHandler
is resolved for an exception and will be executed.- Specified by:
onExceptionRequestHandlerResolved
in interfaceIRequestCycleListener
-
onEndRequest
public void onEndRequest(RequestCycle cycle)
Description copied from interface:IRequestCycleListener
Called when the request cycle object has finished its response- Specified by:
onEndRequest
in interfaceIRequestCycleListener
-
-