Class ReturnableRedirectResult

java.lang.Object
org.apache.struts2.result.StrutsResultSupport
org.apache.struts2.result.ServletRedirectResult
com.atlassian.bamboo.ww2.results.ReturnableRedirectResult
All Implemented Interfaces:
Serializable, org.apache.struts2.result.Redirectable, org.apache.struts2.result.Result, org.apache.struts2.StrutsStatics, org.apache.struts2.util.reflection.ReflectionExceptionHandler

public class ReturnableRedirectResult extends org.apache.struts2.result.ServletRedirectResult
See Also:
  • 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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    doExecute(String finalLocation, org.apache.struts2.ActionInvocation invocation)
    The redirect can be bypassed by using one of the following modes as the value when passing the FreemarkerRequestDispatcherPageFilter.BAMBOO_SUCCESS_RETURN_MODE parameter in the query string: FreemarkerRequestDispatcherPageFilter.BAMBOO_SUCCESS_RETURN_MODE_JSON Sends back JSON Object found in the response with content-type JSONResult.getContentType() FreemarkerRequestDispatcherPageFilter.BAMBOO_SUCCESS_RETURN_MODE_JSON_AS_HTML Sends back JSON Object found in the response with content-type JSONAsHTMLResult.CONTENT_TYPE
    void
    setObjectFactory(org.apache.struts2.ObjectFactory objectFactory)
     

    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