public interface HttpResponse
doXyz(...) method could return an object of this type or throw an exception of this type, and if it does so, the object is asked to produce HTTP response.
This is useful to make doXyz look like a real function, and decouple it further from HTTP.
Modifier and Type | Method and Description |
---|---|
void |
generateResponse(StaplerRequest req,
StaplerResponse rsp,
Object node) |
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 © 2017. All rights reserved.