public class JsonHttpResponse extends HttpResponses.HttpResponseException
JSONObject as a response.| Constructor and Description |
|---|
JsonHttpResponse(net.sf.json.JSONObject o) |
JsonHttpResponse(net.sf.json.JSONObject o,
int status) |
JsonHttpResponse(Throwable t,
int status) |
| Modifier and Type | Method and Description |
|---|---|
void |
generateResponse(StaplerRequest req,
StaplerResponse rsp,
Object node) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic JsonHttpResponse(net.sf.json.JSONObject o)
public JsonHttpResponse(net.sf.json.JSONObject o,
int status)
public JsonHttpResponse(Throwable t, int status)
public void generateResponse(StaplerRequest req, StaplerResponse rsp, Object node) throws IOException, javax.servlet.ServletException
node - The object whose "doXyz" method created this object.IOExceptionjavax.servlet.ServletExceptionCopyright © 2016. All rights reserved.