List of usage examples for org.apache.wicket.request.cycle RequestCycle getListeners
public RequestCycleListenerCollection getListeners()
From source file:gr.interamerican.wicket.bo2.protocol.http.Bo2WicketRequestCycle.java
License:Open Source License
/** * Calls <code>onBeginRequest()</code> on the specified cycle. * * Exposes the protected method. Should be used only by test * classes in order to emulate the wicket request-response cycle. * * @param cycle//from ww w. j a va2 s. c o m * {@link RequestCycle} on which the method is * invoked. */ public static void beginRequest(RequestCycle cycle) { cycle.getListeners().onBeginRequest(cycle); }
From source file:gr.interamerican.wicket.bo2.protocol.http.Bo2WicketRequestCycle.java
License:Open Source License
/** * Calls <code>onEndRequest()</code> on the specified cycle. * * Exposes the protected method. Should be used only by test * classes in order to emulate the wicket request-response cycle. * * @param cycle// w w w .jav a2 s.co m * {@link RequestCycle} on which the method is * invoked. */ public static void endRequest(RequestCycle cycle) { cycle.getListeners().onEndRequest(cycle); }