|
||||||||||
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.atlassian.confluence.json.JSONResult
public class JSONResult
This result will format the the a result of the action using JSON. This result will look at the JSONString property of the action and will send it to the client. This result will set the content type to 'application/javascript'. More recent webwork libraries contain a slightly different implementation a JSON Result. This result was based on that implementation to (hopefully) allow for a clean upgrade path when the time comes to update webwork.
Field Summary |
---|
Fields inherited from class com.opensymphony.webwork.dispatcher.WebWorkResultSupport |
---|
DEFAULT_PARAM, parse |
Fields inherited from interface com.opensymphony.webwork.WebWorkStatics |
---|
HTTP_REQUEST, HTTP_RESPONSE, PAGE_CONTEXT, SERLVET_DISPATCHER, SERVLET_CONFIG, SERVLET_DISPATCHER |
Constructor Summary | |
---|---|
JSONResult()
|
Method Summary | |
---|---|
protected void |
doExecute(java.lang.String finalDestination,
com.opensymphony.xwork.ActionInvocation actionInvocation)
|
Methods inherited from class com.opensymphony.webwork.dispatcher.WebWorkResultSupport |
---|
execute, setLocation, setParse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JSONResult()
Method Detail |
---|
protected void doExecute(java.lang.String finalDestination, com.opensymphony.xwork.ActionInvocation actionInvocation) throws java.lang.Exception
doExecute
in class com.opensymphony.webwork.dispatcher.WebWorkResultSupport
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |