org.jboss.seam.wicket
Class SeamRequestCycle

java.lang.Object
  extended by org.apache.wicket.RequestCycle
      extended by org.apache.wicket.protocol.http.WebRequestCycle
          extended by org.jboss.seam.wicket.SeamRequestCycle

public class SeamRequestCycle
extends org.apache.wicket.protocol.http.WebRequestCycle

SeamRequestCycle is a subclass of the standard wicket WebRequestCycle which:

Author:
cpopetz
See Also:
Which handles propogation of conversation data for newly-started long running conversations, by storing their ids in the page metadata

Field Summary
 
Fields inherited from class org.apache.wicket.RequestCycle
application, processor, request, response
 
Constructor Summary
SeamRequestCycle(org.apache.wicket.protocol.http.WebApplication application, org.apache.wicket.protocol.http.WebRequest request, org.apache.wicket.Response response)
           
 
Method Summary
 void detach()
           
protected  void handleMissingConversation(String id)
           
protected  void onRequestTargetSet(org.apache.wicket.IRequestTarget target)
          Override to set up the conversation context and to choose the conversation if a conversation id is present in target metadata.
 
Methods inherited from class org.apache.wicket.protocol.http.WebRequestCycle
getProcessor, getWebRequest, getWebResponse, getWebSession, isRedirect, newBrowserInfoPage, newClientInfo, onExceptionLoop, redirectTo
 
Methods inherited from class org.apache.wicket.RequestCycle
get, getApplication, getClientInfo, getMetaData, getOriginalResponse, getPageParameters, getRedirect, getRequest, getRequestTarget, getResponse, getResponsePage, getResponsePageClass, getSession, getStartTime, isUrlForNewWindowEncoding, logRuntimeException, onAfterTargetsDetached, onBeginRequest, onEndRequest, onRuntimeException, 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

SeamRequestCycle

public SeamRequestCycle(org.apache.wicket.protocol.http.WebApplication application,
                        org.apache.wicket.protocol.http.WebRequest request,
                        org.apache.wicket.Response response)
Method Detail

onRequestTargetSet

protected void onRequestTargetSet(org.apache.wicket.IRequestTarget target)
Override to set up the conversation context and to choose the conversation if a conversation id is present in target metadata.

Overrides:
onRequestTargetSet in class org.apache.wicket.RequestCycle

handleMissingConversation

protected void handleMissingConversation(String id)

detach

public void detach()
Overrides:
detach in class org.apache.wicket.RequestCycle


Copyright © 2011 Seam Framework. All Rights Reserved.