public class DeleteContainerCommand extends PostCommand<DeleteContainerResponse>
Command.CommonParameters, Command.Response
CONTENT_TYPE_JSON
Constructor and Description |
---|
DeleteContainerCommand() |
DeleteContainerCommand(DeleteContainerCommand source) |
Modifier and Type | Method and Description |
---|---|
DeleteContainerCommand |
copy()
Returns a copy of this object.
|
protected DeleteContainerResponse |
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.
|
createRequest, getJsonObject, setJsonObject
_execute, checkThrowError, execute, getActionName, getActionUrl, getControllerName, getHttpRequest, getParameters, getParamValueAsString, getQueryString, getRequiredVersion, getTimeout, setParameters, setRequiredVersion, setTimeout
public DeleteContainerCommand()
public DeleteContainerCommand(DeleteContainerCommand source)
protected DeleteContainerResponse 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<DeleteContainerResponse>
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 DeleteContainerCommand copy()
Command
copy
in class PostCommand<DeleteContainerResponse>