Class 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
      • Fields inherited from class org.apache.struts2.result.StrutsResultSupport

        DEFAULT_PARAM, DEFAULT_URL_ENCODING, parseLocation
      • Fields inherited from interface org.apache.struts2.StrutsStatics

        ACTION_MAPPING, HTTP_REQUEST, HTTP_RESPONSE, PAGE_CONTEXT, SERVLET_CONTEXT, SERVLET_DISPATCHER, STRUTS_ACTION_TAG_INVOCATION, STRUTS_PORTLET_CONTEXT
    • 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
      • Methods inherited from class org.apache.struts2.result.StrutsResultSupport

        conditionalParse, conditionalParseCollection, getLastFinalLocation, getLocation, setEncode, setLocation, setParse
    • Constructor Detail

      • RedirectWithFlashResult

        public RedirectWithFlashResult()