|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opensymphony.webwork.dispatcher.WebWorkResultSupport com.opensymphony.webwork.dispatcher.ServletRedirectResult com.atlassian.bamboo.ww2.results.ReturnableRedirectResult
public class ReturnableRedirectResult
Field Summary |
---|
Fields inherited from class com.opensymphony.webwork.dispatcher.ServletRedirectResult |
---|
prependServletContext |
Fields inherited from class com.opensymphony.webwork.dispatcher.WebWorkResultSupport |
---|
DEFAULT_PARAM, encode, location, parse |
Fields inherited from interface com.opensymphony.webwork.WebWorkStatics |
---|
HTTP_REQUEST, HTTP_RESPONSE, PAGE_CONTEXT, SERVLET_CONTEXT, SERVLET_DISPATCHER |
Constructor Summary | |
---|---|
ReturnableRedirectResult()
|
Method Summary | |
---|---|
protected void |
doExecute(java.lang.String finalLocation,
com.opensymphony.xwork.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.contentType
FreemarkerRequestDispatcherPageFilter.BAMBOO_SUCCESS_RETURN_MODE_JSON_AS_HTML
Sends back JSON Object found in the response with content-type JSONAsHTMLResult.CONTENT_TYPE
|
Methods inherited from class com.opensymphony.webwork.dispatcher.ServletRedirectResult |
---|
setPrependServletContext |
Methods inherited from class com.opensymphony.webwork.dispatcher.WebWorkResultSupport |
---|
conditionalParse, execute, setEncode, setLocation, setParse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReturnableRedirectResult()
Method Detail |
---|
protected void doExecute(java.lang.String finalLocation, com.opensymphony.xwork.ActionInvocation invocation) throws java.lang.Exception
FreemarkerRequestDispatcherPageFilter.BAMBOO_SUCCESS_RETURN_MODE
parameter in the query string:
FreemarkerRequestDispatcherPageFilter.BAMBOO_SUCCESS_RETURN_MODE_JSON
JSONResult.contentType
FreemarkerRequestDispatcherPageFilter.BAMBOO_SUCCESS_RETURN_MODE_JSON_AS_HTML
JSONAsHTMLResult.CONTENT_TYPE
doExecute
in class com.opensymphony.webwork.dispatcher.ServletRedirectResult
finalLocation
- invocation
-
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |