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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addHeaders
(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) Add headers to the response.void
Write the contributed body.void
writeBody
(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, PrintWriter w) Write the contributed body.
-
Constructor Details
-
ResponseContributor
public ResponseContributor()
-
-
Method Details
-
addHeaders
public 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
-
writeBody
public 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
-
writeBody
Write the contributed body.- Parameters:
w
- the writer.- Since:
- 1.4.1
-