org.apache.wicket.request.cycle
Class AbstractRequestCycleListener

java.lang.Object
  extended by org.apache.wicket.request.cycle.AbstractRequestCycleListener
All Implemented Interfaces:
IRequestCycleListener

public abstract class AbstractRequestCycleListener
extends Object
implements IRequestCycleListener


Constructor Summary
AbstractRequestCycleListener()
           
 
Method Summary
 void onBeginRequest(RequestCycle cycle)
          Called when the request cycle object is beginning its response
 void onDetach(RequestCycle cycle)
          Called after the request cycle has been detached
 void onEndRequest(RequestCycle cycle)
          Called when the request cycle object has finished its response
 void onException(RequestCycle cycle, Exception ex)
          Called when there is an exception in the request cycle that would normally be handled by RequestCycle.handleException(Exception) Note that in the event of an exception, #onEndRequest() will still be called after these listeners have #onException(Exception) called
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractRequestCycleListener

public AbstractRequestCycleListener()
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 interface IRequestCycleListener

onDetach

public void onDetach(RequestCycle cycle)
Description copied from interface: IRequestCycleListener
Called after the request cycle has been detached

Specified by:
onDetach in interface IRequestCycleListener

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 interface IRequestCycleListener

onException

public void onException(RequestCycle cycle,
                        Exception ex)
Description copied from interface: IRequestCycleListener
Called when there is an exception in the request cycle that would normally be handled by RequestCycle.handleException(Exception) Note that in the event of an exception, #onEndRequest() will still be called after these listeners have #onException(Exception) called

Specified by:
onException in interface IRequestCycleListener
ex - the exception that was passed in to RequestCycle.handleException(Exception)


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.