org.apache.wicket.examples
Class WicketExampleRequestCycle

java.lang.Object
  extended by org.apache.wicket.request.cycle.RequestCycle
      extended by org.apache.wicket.examples.WicketExampleRequestCycle
All Implemented Interfaces:
IEventSink, IRequestCycle

public class WicketExampleRequestCycle
extends RequestCycle

Handles the PageExpiredException so that the SourcesPage can recover from a session expired. TODO NG

Author:
rgravener

Constructor Summary
WicketExampleRequestCycle(RequestCycleContext context)
          Construct.
 
Method Summary
 IRequestHandler handleException(java.lang.Exception e)
          Return IRequestHandler for the given exception.
 
Methods inherited from class org.apache.wicket.request.cycle.RequestCycle
detach, get, getActiveRequestHandler, getExceptionRetryCount, getListeners, getMetaData, getOriginalResponse, getRequest, getRequestHandlerScheduledAfterCurrent, getResponse, getStartTime, getUrlRenderer, isCleanupFeedbackMessagesOnDetach, mapUrlFor, mapUrlFor, mapUrlFor, newUrlRenderer, onBeginRequest, onDetach, onEndRequest, onEvent, processRequest, processRequestAndDetach, replaceAllRequestHandlers, resolveRequestHandler, scheduleRequestHandlerAfterCurrent, setCleanupFeedbackMessagesOnDetach, setMetaData, setRequest, setResponse, setResponsePage, setResponsePage, setResponsePage, urlFor, urlFor, urlFor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WicketExampleRequestCycle

public WicketExampleRequestCycle(RequestCycleContext context)
Construct.

Parameters:
context -
Method Detail

handleException

public IRequestHandler handleException(java.lang.Exception e)
Description copied from class: RequestCycle
Return IRequestHandler for the given exception.

Overrides:
handleException in class RequestCycle
Returns:
RequestHandler instance
See Also:
org.apache.wicket.RequestCycle#onRuntimeException(org.apache.wicket.Page, java.lang.RuntimeException)


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.