public static class HttpResponseRenderer.Default extends HttpResponseRenderer
HttpResponseRenderer.HttpResponseRenderer.Default| Constructor and Description |
|---|
HttpResponseRenderer.Default() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
generateResponse(StaplerRequest req,
StaplerResponse rsp,
Object node,
Object response) |
protected boolean |
handleHttpResponse(StaplerRequest req,
StaplerResponse rsp,
Object node,
Object response) |
protected boolean |
handleJavaScriptProxyMethodCall(StaplerRequest req,
StaplerResponse rsp,
Object response) |
protected boolean |
handleJSON(StaplerResponse rsp,
Object response) |
protected boolean |
handlePrimitive(StaplerResponse rsp,
Object response) |
public boolean generateResponse(StaplerRequest req, StaplerResponse rsp, Object node, Object response) throws IOException, javax.servlet.ServletException
generateResponse in class HttpResponseRenderernode - Object that handled the request.response - The return value or the exception from the method.HttpResponseRenderer
will be consulted.IOExceptionjavax.servlet.ServletExceptionprotected boolean handleJavaScriptProxyMethodCall(StaplerRequest req, StaplerResponse rsp, Object response) throws IOException
IOExceptionprotected boolean handlePrimitive(StaplerResponse rsp, Object response) throws IOException
IOExceptionprotected boolean handleHttpResponse(StaplerRequest req, StaplerResponse rsp, Object node, Object response) throws IOException, javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionprotected boolean handleJSON(StaplerResponse rsp, Object response) throws IOException
IOExceptionCopyright © 2014. All rights reserved.