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, toString
public 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.IOException
javax.servlet.ServletException
Copyright © 2004–2022. All rights reserved.