Class LineageCommand

java.lang.Object
org.labkey.remoteapi.Command<ResponseType,org.apache.hc.client5.http.classic.methods.HttpGet>
org.labkey.remoteapi.GetCommand<LineageResponse>
org.labkey.remoteapi.experiment.LineageCommand
All Implemented Interfaces:
HasRequiredVersion

public class LineageCommand extends GetCommand<LineageResponse>
  • Method Details

    • createResponse

      protected LineageResponse createResponse(String text, int statusCode, String contentType, org.json.JSONObject json)
      Description copied from class: Command
      Creates an instance of the response class, initialized with the response text, the HTTP status code, and parsed JSONObject.

      Override this method to create an instance of a different class that extends CommandResponse

      Overrides:
      createResponse in class Command<LineageResponse,org.apache.hc.client5.http.classic.methods.HttpGet>
      Parameters:
      text - The response text from the server.
      statusCode - The HTTP status code.
      contentType - The Content-Type header value.
      json - The parsed JSONObject (or null if no JSON was returned).
      Returns:
      An instance of the response object.
    • createParameterMap

      protected Map<String,Object> createParameterMap()
      Description copied from class: Command
      Returns a new, mutable parameter map. Derived classes will typically override this method to put values passed to specialized setter methods into the map.
      Overrides:
      createParameterMap in class Command<LineageResponse,org.apache.hc.client5.http.classic.methods.HttpGet>
      Returns:
      The parameter map to use when building the URL.