public class GetContainersCommand extends Command<GetContainersResponse>
Command.CommonParameters, Command.ResponseCONTENT_TYPE_JSON| Constructor and Description |
|---|
GetContainersCommand() |
GetContainersCommand(GetContainersCommand source) |
| Modifier and Type | Method and Description |
|---|---|
GetContainersCommand |
copy()
Returns a copy of this object.
|
protected GetContainersResponse |
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.
|
java.util.Map<java.lang.String,java.lang.Object> |
getParameters()
Returns the current parameter map, or null if a map has not yet been set.
|
boolean |
isIncludeSubfolders() |
void |
setIncludeSubfolders(boolean includeSubfolders) |
_execute, createRequest, execute, getActionName, getActionUrl, getControllerName, getHttpRequest, getParamValueAsString, getQueryString, getRequiredVersion, getTimeout, setParameters, setRequiredVersion, setTimeoutpublic GetContainersCommand()
public GetContainersCommand(GetContainersCommand source)
public boolean isIncludeSubfolders()
public void setIncludeSubfolders(boolean includeSubfolders)
protected GetContainersResponse createResponse(java.lang.String text, int status, java.lang.String contentType, org.json.simple.JSONObject json)
CommandOverride this method to create an instance of a different class that extends CommandResponse
createResponse in class Command<GetContainersResponse>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 java.util.Map<java.lang.String,java.lang.Object> getParameters()
CommandgetParameters in class Command<GetContainersResponse>public GetContainersCommand copy()
Commandcopy in class Command<GetContainersResponse>