Package com.atlassian.confluence.xwork
Class RedirectWithFlashResult
- java.lang.Object
-
- org.apache.struts2.result.StrutsResultSupport
-
- org.apache.struts2.result.ServletRedirectResult
-
- com.atlassian.confluence.xwork.RedirectResult
-
- com.atlassian.confluence.xwork.RedirectWithFlashResult
-
- All Implemented Interfaces:
com.opensymphony.xwork2.Result
,com.opensymphony.xwork2.util.reflection.ReflectionExceptionHandler
,Serializable
,org.apache.struts2.result.Redirectable
,org.apache.struts2.StrutsStatics
public class RedirectWithFlashResult extends RedirectResult
Takes Flash scope objects from the current request and puts them on the session.Adds a unique flashId request parameter to ensure that multiple requests within a single session do not leak data.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.struts2.result.ServletRedirectResult
actionMapper, anchor, prependServletContext, requestParameters, statusCode, suppressEmptyParameters
-
-
Constructor Summary
Constructors Constructor Description RedirectWithFlashResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doExecute(String redirectUrl, com.opensymphony.xwork2.ActionInvocation actionInvocation)
-
Methods inherited from class org.apache.struts2.result.ServletRedirectResult
addParameter, execute, getProhibitedResultParams, handle, isPathUrl, sendRedirect, setActionMapper, setAnchor, setPrependServletContext, setQueryStringBuilder, setStatusCode, setSuppressEmptyParameters
-
-
-
-
Method Detail
-
doExecute
protected void doExecute(String redirectUrl, com.opensymphony.xwork2.ActionInvocation actionInvocation) throws Exception
- Overrides:
doExecute
in classRedirectResult
- Throws:
Exception
-
-