|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectPageFlowManagedObject
FlowController
SharedFlowController
public abstract class SharedFlowController
Field Summary |
---|
Fields inherited from class FlowController |
---|
defaultLocale, servlet |
Constructor Summary | |
---|---|
SharedFlowController()
|
Method Summary | |
---|---|
void |
ensureFailover(HttpServletRequest request)
Ensures that any changes to this FlowController will be replicated in a cluster (for failover), even if the replication scheme uses a change-detection algorithm that relies on HttpSession.setAttribute to be aware of changes. |
String |
getDisplayName()
|
String |
getModulePath()
Get the Struts module path. |
PreviousPageInfo |
getPreviousPageInfoLegacy(PageFlowController curJpf,
HttpServletRequest request)
Deprecated. This method will be removed without replacement in a future release. |
String |
getURI()
Get the URI. |
void |
persistInSession(HttpServletRequest request,
HttpServletResponse response)
Store this object in the user session, in the appropriate place. |
protected void |
removeFromSession(HttpServletRequest request)
Remove this instance from the session. |
void |
savePreviousPageInfo(ActionForward forward,
ActionForm form,
ActionMapping mapping,
HttpServletRequest request,
ServletContext servletContext,
boolean isSpecialForward)
Store information about recent pages displayed. |
Methods inherited from class PageFlowManagedObject |
---|
fieldIsUninitialized, getServletContext, initializeField, valueBound, valueUnbound |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SharedFlowController()
Method Detail |
---|
public String getModulePath()
getModulePath
in interface ActionResolver
getModulePath
in class FlowController
public void persistInSession(HttpServletRequest request, HttpServletResponse response)
PageFlowManagedObject
persistInSession
in class PageFlowManagedObject
public void ensureFailover(HttpServletRequest request)
ensureFailover
in class PageFlowManagedObject
request
- the current HttpServletRequestpublic String getURI()
getURI
in interface ActionResolver
null
, as this object is not URL-addressible.public String getDisplayName()
getDisplayName
in class PageFlowManagedObject
public PreviousPageInfo getPreviousPageInfoLegacy(PageFlowController curJpf, HttpServletRequest request)
getPreviousPageInfoLegacy
in class FlowController
public void savePreviousPageInfo(ActionForward forward, ActionForm form, ActionMapping mapping, HttpServletRequest request, ServletContext servletContext, boolean isSpecialForward)
savePreviousPageInfo
in class FlowController
protected void removeFromSession(HttpServletRequest request)
removeFromSession
in class PageFlowManagedObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |