Class CreateResponse

java.lang.Object
io.jenkins.blueocean.rest.model.CreateResponse
All Implemented Interfaces:
org.kohsuke.stapler.HttpResponse

public class CreateResponse extends Object implements org.kohsuke.stapler.HttpResponse
Create response that sets Location header of the created entity and generates a tree response.
Author:
Vivek Pandey
  • Constructor Details

    • CreateResponse

      public CreateResponse(Reachable payload)
      Constructor that takes a reachable exported bean.
      Parameters:
      payload - must be a Reachable and an ExportedBean
  • Method Details

    • generateResponse

      public void generateResponse(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, Object node) throws IOException, javax.servlet.ServletException
      Specified by:
      generateResponse in interface org.kohsuke.stapler.HttpResponse
      Throws:
      IOException
      javax.servlet.ServletException