Package hudson.plugins.git
Class GitStatus.ResponseContributor
java.lang.Object
hudson.plugins.git.GitStatus.ResponseContributor
- Direct Known Subclasses:
- GitStatus.MessageResponseContributor
- Enclosing class:
- GitStatus
Contributes to a 
GitStatus.doNotifyCommit(HttpServletRequest, String, String, String, String) response.- Since:
- 1.4.1
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddHeaders(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) Add headers to the response.voidWrite the contributed body.voidwriteBody(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, PrintWriter w) Write the contributed body.
- 
Constructor Details- 
ResponseContributorpublic ResponseContributor()
 
- 
- 
Method Details- 
addHeaderspublic void addHeaders(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) Add headers to the response.- Parameters:
- req- the request.
- rsp- the response.
- Since:
- 1.4.1
 
- 
writeBodypublic void writeBody(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, PrintWriter w) Write the contributed body.- Parameters:
- req- the request.
- rsp- the response.
- w- the writer.
- Since:
- 1.4.1
 
- 
writeBodyWrite the contributed body.- Parameters:
- w- the writer.
- Since:
- 1.4.1
 
 
-