Package hudson.model

Class Slave.JnlpJar

java.lang.Object
hudson.model.Slave.JnlpJar
All Implemented Interfaces:
org.kohsuke.stapler.HttpResponse
Enclosing class:
Slave

public static final class Slave.JnlpJar extends Object implements org.kohsuke.stapler.HttpResponse
Web-bound object used to serve jar files for inbound connections.
  • Constructor Details

    • JnlpJar

      public JnlpJar(String fileName)
  • Method Details

    • doIndex

      public void doIndex(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) throws IOException, jakarta.servlet.ServletException
      Throws:
      IOException
      jakarta.servlet.ServletException
    • generateResponse

      public void generateResponse(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, Object node) throws IOException, jakarta.servlet.ServletException
      Specified by:
      generateResponse in interface org.kohsuke.stapler.HttpResponse
      Throws:
      IOException
      jakarta.servlet.ServletException
    • getURL

      public URL getURL() throws IOException
      Throws:
      IOException
    • readFully

      public byte[] readFully() throws IOException
      Throws:
      IOException