org.apache.wicket.examples
Class WicketExampleRequestCycle
java.lang.Object
org.apache.wicket.RequestCycle
org.apache.wicket.protocol.http.WebRequestCycle
org.apache.wicket.examples.WicketExampleRequestCycle
public class WicketExampleRequestCycle
- extends WebRequestCycle
Handles the PageExpiredException so that the SourcesPage can recover from a session expired.
- Author:
- rgravener
Methods inherited from class org.apache.wicket.RequestCycle |
detach, get, getApplication, getClientInfo, getMetaData, getOriginalResponse, getPageParameters, getRedirect, getRequest, getRequestTarget, getResponse, getResponsePage, getResponsePageClass, getSession, getStartTime, isUrlForNewWindowEncoding, logRuntimeException, onAfterTargetsDetached, onBeginRequest, onEndRequest, 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 |
WicketExampleRequestCycle
public WicketExampleRequestCycle(WebApplication application,
WebRequest request,
Response response)
- Construct.
- Parameters:
application
- request
- response
-
onRuntimeException
public Page onRuntimeException(Page page,
RuntimeException e)
- Description copied from class:
RequestCycle
- Template method that is called when a runtime exception is thrown, just before the actual
handling of the runtime exception. This is called by
AbstractRequestCycleProcessor.respond(RuntimeException, RequestCycle)
.
- Overrides:
onRuntimeException
in class RequestCycle
- Parameters:
page
- Any page context where the exception was throwne
- The exception
- Returns:
- Any error page to redirect to
- See Also:
RequestCycle.onRuntimeException(org.apache.wicket.Page,
java.lang.RuntimeException)
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.