|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.RequestCycle
org.apache.wicket.protocol.http.WebRequestCycle
org.efaps.ui.wicket.EFapsWebRequestCycle
public class EFapsWebRequestCycle
This class extends the
WebRequestCycle to throw a own
ErrorPage and to open/close the Context on begin/end of a Request.
| Field Summary |
|---|
| Fields inherited from class org.apache.wicket.RequestCycle |
|---|
application, processor, request, response |
| Constructor Summary | |
|---|---|
EFapsWebRequestCycle(org.apache.wicket.protocol.http.WebApplication _application,
org.apache.wicket.protocol.http.WebRequest _request,
org.apache.wicket.Response _response)
Constructor for a WebRequest. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getFromCache(java.lang.String _key)
Retrieve a Component from the ComponentCache. |
protected void |
logRuntimeException(java.lang.RuntimeException _exception)
|
protected void |
onBeginRequest()
Called when the request cycle object is beginning its response. |
protected void |
onEndRequest()
Called when the request cycle object has finished its response. |
org.apache.wicket.Page |
onRuntimeException(org.apache.wicket.Page _page,
java.lang.RuntimeException _exception)
|
void |
putIntoCache(java.lang.String _key,
java.lang.Object _object)
This Method stores a Component in the Cache. |
| Methods inherited from class org.apache.wicket.protocol.http.WebRequestCycle |
|---|
getProcessor, getWebRequest, getWebResponse, getWebSession, isRedirect, newBrowserInfoPage, newClientInfo, redirectTo |
| Methods inherited from class org.apache.wicket.RequestCycle |
|---|
detach, get, getApplication, getClientInfo, getMetaData, getOriginalResponse, getPageParameters, getRedirect, getRequest, getRequestTarget, getResponse, getResponsePage, getResponsePageClass, getSession, getStartTime, isUrlForNewWindowEncoding, onAfterTargetsDetached, onRequestTargetSet, request, request, request, set, setAutomaticallyClearFeedbackMessages, setMetaData, setRedirect, setRequest, setRequestTarget, setResponse, setResponsePage, setResponsePage, setResponsePage, setResponsePage, setUrlForNewWindowEncoding, toString, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, wasHandled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EFapsWebRequestCycle(org.apache.wicket.protocol.http.WebApplication _application,
org.apache.wicket.protocol.http.WebRequest _request,
org.apache.wicket.Response _response)
_application - the Webapplication which received the WebRequest_request - the WebRequest to be used for this RequestCycle_response - the Response to be used for this RequestCycle| Method Detail |
|---|
protected void onBeginRequest()
onBeginRequest in class org.apache.wicket.RequestCycleonEndRequest()protected void onEndRequest()
onEndRequest in class org.apache.wicket.RequestCycleonBeginRequest()
public org.apache.wicket.Page onRuntimeException(org.apache.wicket.Page _page,
java.lang.RuntimeException _exception)
onRuntimeException in class org.apache.wicket.RequestCycle_page - Page that throws the error_exception - exception that was thrown
RequestCycle.onRuntimeException(org.apache.wicket.Page,
java.lang.RuntimeException)protected void logRuntimeException(java.lang.RuntimeException _exception)
logRuntimeException in class org.apache.wicket.RequestCycle_exception - RuntimeExceptionRequestCycle.logRuntimeException(java.lang.RuntimeException)
public void putIntoCache(java.lang.String _key,
java.lang.Object _object)
_key - Key the Component should be stored in_object - Object to be stored#componentcachepublic java.lang.Object getFromCache(java.lang.String _key)
_key - Key of the Component to be retrieved
#componentcache
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||