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 HttpResponseRenderer
node
- Object that handled the request.response
- The return value or the exception from the method.HttpResponseRenderer
will be consulted.IOException
javax.servlet.ServletException
protected boolean handleJavaScriptProxyMethodCall(StaplerRequest req, StaplerResponse rsp, Object response) throws IOException
IOException
protected boolean handlePrimitive(StaplerResponse rsp, Object response) throws IOException
IOException
protected boolean handleHttpResponse(StaplerRequest req, StaplerResponse rsp, Object node, Object response) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
protected boolean handleJSON(StaplerResponse rsp, Object response) throws IOException
IOException
Copyright © 2015. All rights reserved.