public class GetSchemasCommand extends Command<GetSchemasResponse>
Command.CommonParameters, Command.Response
CONTENT_TYPE_JSON
Constructor and Description |
---|
GetSchemasCommand() |
GetSchemasCommand(GetSchemasCommand source) |
Modifier and Type | Method and Description |
---|---|
GetSchemasCommand |
copy()
Returns a copy of this object.
|
protected GetSchemasResponse |
createResponse(java.lang.String text,
int status,
java.lang.String contentType,
org.json.simple.JSONObject json)
Creates an instance of the response class, initialized with
the response text, the HTTP status code, and parsed JSONObject.
|
_execute, checkThrowError, createRequest, execute, getActionName, getActionUrl, getControllerName, getHttpRequest, getParameters, getParamValueAsString, getQueryString, getRequiredVersion, getTimeout, setParameters, setRequiredVersion, setTimeout
public GetSchemasCommand()
public GetSchemasCommand(GetSchemasCommand source)
protected GetSchemasResponse createResponse(java.lang.String text, int status, java.lang.String contentType, org.json.simple.JSONObject json)
Command
Override this method to create an instance of a different class that extends CommandResponse
createResponse
in class Command<GetSchemasResponse>
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).public GetSchemasCommand copy()
Command
copy
in class Command<GetSchemasResponse>