Package hudson.plugins.git
Class GitStatus.ResponseContributor
- java.lang.Object
-
- hudson.plugins.git.GitStatus.ResponseContributor
-
- Direct Known Subclasses:
GitStatus.MessageResponseContributor
- Enclosing class:
- GitStatus
public static class GitStatus.ResponseContributor extends Object
Contributes to aGitStatus.doNotifyCommit(HttpServletRequest, String, String, String, String)response.- Since:
- 1.4.1
-
-
Constructor Summary
Constructors Constructor Description ResponseContributor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddHeaders(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)Add headers to the response.voidwriteBody(PrintWriter w)Write the contributed body.voidwriteBody(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, PrintWriter w)Write the contributed body.
-
-
-
Method Detail
-
addHeaders
public void addHeaders(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)Add headers to the response.- Parameters:
req- the request.rsp- the response.- Since:
- 1.4.1
-
writeBody
public void writeBody(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, PrintWriter w)Write the contributed body.- Parameters:
req- the request.rsp- the response.w- the writer.- Since:
- 1.4.1
-
writeBody
public void writeBody(PrintWriter w)
Write the contributed body.- Parameters:
w- the writer.- Since:
- 1.4.1
-
-