Package com.atlassian.confluence.json
Class JsonResult
java.lang.Object
org.apache.struts2.result.StrutsResultSupport
com.atlassian.confluence.json.JsonResult
- All Implemented Interfaces:
Serializable,org.apache.struts2.result.Result,org.apache.struts2.StrutsStatics
Deprecated.
since 8.6.0. Use a JAX-RS resource instead.
This result will format the result of an action using JSON. It will look at the JSONString property of the action.
This result will set the content type to 'application/javascript'.
- See Also:
-
Field Summary
Fields inherited from class org.apache.struts2.result.StrutsResultSupport
DEFAULT_PARAM, DEFAULT_URL_ENCODING, parseLocationFields 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 -
Method Summary
Modifier and TypeMethodDescriptionprotected voidDeprecated.getJsonString(org.apache.struts2.ActionInvocation actionInvocation) Deprecated.voidsetJsonator(Jsonator<Object> jsonator) Deprecated.Methods inherited from class org.apache.struts2.result.StrutsResultSupport
conditionalParse, conditionalParseCollection, execute, getLastFinalLocation, getLocation, setEncode, setLocation, setParse
-
Constructor Details
-
JsonResult
public JsonResult()Deprecated.
-
-
Method Details