org.kohsuke.stapler
Class HttpResponseRenderer
java.lang.Object
org.kohsuke.stapler.HttpResponseRenderer
- Direct Known Subclasses:
- HttpResponseRenderer.Default
public abstract class HttpResponseRenderer
- extends Object
Pluggable interface that takes the return value from request handling
methods and convert that to HTTP responses.
- Author:
- Kohsuke Kawaguchi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpResponseRenderer
public HttpResponseRenderer()
generateResponse
public abstract boolean generateResponse(StaplerRequest req,
StaplerResponse rsp,
Object node,
Object response)
throws IOException,
javax.servlet.ServletException
- Parameters:
node
- Object that handled the request.response
- The return value or the exception from the method.
- Returns:
- true if the response object was understood and rendered by this method.
false otherwise, in which case the next
HttpResponseRenderer
will be consulted.
- Throws:
IOException
javax.servlet.ServletException
Copyright © 2010. All Rights Reserved.