public class RunnerHttpUndeploy extends RunnerHttp
undeploy
Admin Command Execution
using HTTP interface.
Contains common code for commands that are called with
DEFAULT=<target>
query string. Individual child classes
are not needed at this stage.
Class implements GlassFish server administration functionality trough HTTP
interface.
Modifier and Type | Field and Description |
---|---|
private static String |
DEFAULT_PARAM
Enable/Disable command
DEFAULT param name. |
private static String |
TARGET_PARAM
Enable/Disable command
target param name. |
LIBRARY_SEPARATOR, manifest, result
auth, command, FALSE_VALUE, HTTP_CONNECTION_TIMEOUT, HTTP_RETRY_DELAY, ITEM_SEPARATOR, PARAM_ASSIGN_VALUE, PARAM_SEPARATOR, path, query, QUERY_SEPARATOR, retry, server, silentFailureAllowed, stateListeners, TRUE_VALUE
Constructor and Description |
---|
RunnerHttpUndeploy(GlassFishServer server,
Command command,
IdeContext ide)
Constructs an instance of administration command executor using
HTTP interface.
|
Modifier and Type | Method and Description |
---|---|
private static String |
query(Command command)
Builds enable/disable query string for given command.
|
acceptsGzip, constructCommandUrl, createResult, getDoOutput, getExtraProperties, getLastModified, getRequestMethod, handleSend, prepareHttpConnection, processResponse, queryLibrariesAppend, queryLibrariesLength, queryPropertiesAppend, queryPropertiesLength, readResponse
call, execute, execute, getCommand, getCommandWithQuery, getContentType, getQuery, getResult, handleReceive, handleSecureConnection, handleStateChange, isSilentFailureAllowed, parallelExecutor, serializedExecutor, setReadyState, setSilentFailureAllowed, setStateListeners, stateChangeArgs, stateChangeArgs, toBoolean, toString
private static final String DEFAULT_PARAM
DEFAULT
param name.private static final String TARGET_PARAM
target
param name.public RunnerHttpUndeploy(GlassFishServer server, Command command, IdeContext ide)
server
- GlassFish server entity object.command
- GlassFish server administration command entity.private static String query(Command command)
QUERY :: "DEFAULT" '=' <name>
['&' "target" '=' <target> ]
command
- GlassFish Server Admin Command Entity.
CommandDisable
instance is expected.Copyright © 2013. All Rights Reserved.