Package com.atlassian.confluence.json
Class JsonResult
- java.lang.Object
-
- org.apache.struts2.result.StrutsResultSupport
-
- com.atlassian.confluence.json.JsonResult
-
- All Implemented Interfaces:
com.opensymphony.xwork2.Result
,Serializable
,org.apache.struts2.StrutsStatics
@Deprecated public class JsonResult extends org.apache.struts2.result.StrutsResultSupport
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JsonResult()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
doExecute(String finalDestination, com.opensymphony.xwork2.ActionInvocation actionInvocation)
Deprecated.String
getJsonString(com.opensymphony.xwork2.ActionInvocation actionInvocation)
Deprecated.void
setJsonator(Jsonator<Object> jsonator)
Deprecated.
-
-
-
Method Detail
-
doExecute
protected void doExecute(String finalDestination, com.opensymphony.xwork2.ActionInvocation actionInvocation) throws Exception
Deprecated.- Specified by:
doExecute
in classorg.apache.struts2.result.StrutsResultSupport
- Throws:
Exception
-
getJsonString
public String getJsonString(com.opensymphony.xwork2.ActionInvocation actionInvocation)
Deprecated.
-
-