Class GetSchemasCommand

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

public class GetSchemasCommand extends GetCommand<GetSchemasResponse>
Command to obtain the list of schemas available in a given folder path.
  • Constructor Details

    • GetSchemasCommand

      public GetSchemasCommand()
  • Method Details

    • createResponse

      protected GetSchemasResponse createResponse(String text, int status, 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<GetSchemasResponse,org.apache.hc.client5.http.classic.methods.HttpGet>
      Parameters:
      text - The response text from the server.
      status - 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.