Class GitStatus.ResponseContributor

    • Constructor Detail

      • ResponseContributor

        public ResponseContributor()
    • 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