com.atlassian.bamboo.ww2.results
Class JSONAsHTMLResult

java.lang.Object
  extended by com.opensymphony.webwork.dispatcher.json.JSONResult
      extended by com.atlassian.bamboo.ww2.results.JSONAsHTMLResult
All Implemented Interfaces:
com.opensymphony.xwork.Result, java.io.Serializable

public class JSONAsHTMLResult
extends com.opensymphony.webwork.dispatcher.json.JSONResult

Attempt to retrieve an instance of JSONObject from WebWork's ValueStack through property returned from JSONResult.getJSONObjectProperty() and write the String representation of the retrived JSONObject to HttpServletResponse's outputstream. This class differs from JSONResult in that it sets the content-type header to text/html so that the JSON string can be wrapped by HTML (e.g. a