public class RunnerHttpRestartDAS extends RunnerHttp
query execution using HTTP interface.
Contains code for command that is called with
debug=true|false&force=true|false&kill=true|false
query string.
Class implements GlassFish server administration functionality trough HTTP
interface.
Modifier and Type | Field and Description |
---|---|
private static String |
DEBUG_PARAM
Restart DAS command
debug parameter's name. |
private static String |
FORCE_PARAM
Restart DAS command
force parameter's name. |
private static String |
KILL_PARAM
Restart DAS command
kill parameter's 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 |
---|
RunnerHttpRestartDAS(GlassFishServer server,
Command command)
Constructs an instance of administration command executor using
HTTP interface.
|
Modifier and Type | Method and Description |
---|---|
(package private) static String |
query(Command command)
Builds restart DAS 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 DEBUG_PARAM
debug
parameter's name.private static final String FORCE_PARAM
force
parameter's name.private static final String KILL_PARAM
kill
parameter's name.public RunnerHttpRestartDAS(GlassFishServer server, Command command)
server
- GlassFish server entity object.command
- GlassFish server administration command entity.static String query(Command command)
debug=true|false&force=true|false&kill=true|false
command
- GlassFish Server Administration Command Entity.
CommandRestartDAS
instance is expected.Copyright © 2013. All Rights Reserved.