Class RedirectResult

java.lang.Object
org.apache.struts2.result.StrutsResultSupport
org.apache.struts2.result.ServletRedirectResult
com.atlassian.confluence.xwork.RedirectResult
All Implemented Interfaces:
com.opensymphony.xwork2.Result, com.opensymphony.xwork2.util.reflection.ReflectionExceptionHandler, Serializable, org.apache.struts2.result.Redirectable, org.apache.struts2.result.Result, org.apache.struts2.StrutsStatics
Direct Known Subclasses:
RedirectWithFlashResult

@Deprecated(forRemoval=true, since="9.3") public class RedirectResult extends org.apache.struts2.result.ServletRedirectResult
Deprecated, for removal: This API element is subject to removal in a future version.
since 9.3, use ServletRedirectResult instead.
A wrapper around xwork's ServletRedirectResult to patch up an issue revolving around IE6's incompetency and some servlet container's inability to parse request URLs with fragment ids ("#")

See CONF-11835 for more information

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.opensymphony.xwork2.Result

    com.opensymphony.xwork2.Result.LegacyAdapter
  • 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
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    doExecute(String s, com.opensymphony.xwork2.ActionInvocation actionInvocation)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected void
    doExecute(String s, org.apache.struts2.ActionInvocation actionInvocation)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.opensymphony.xwork2.Result

    execute
  • Constructor Details

    • RedirectResult

      public RedirectResult()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • doExecute

      protected void doExecute(String s, com.opensymphony.xwork2.ActionInvocation actionInvocation) throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      doExecute in class org.apache.struts2.result.ServletRedirectResult
      Throws:
      Exception
    • doExecute

      protected void doExecute(String s, org.apache.struts2.ActionInvocation actionInvocation) throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      doExecute in class org.apache.struts2.result.StrutsResultSupport
      Throws:
      Exception