public class RunnerHttpTarget extends RunnerHttp
DEFAULT=<target>
query 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
Start/Stop command
DEFAULT 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 |
---|
RunnerHttpTarget(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 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
parameter's name.public RunnerHttpTarget(GlassFishServer server, Command command)
server
- GlassFish server entity object.command
- GlassFish server administration command entity.Copyright © 2013. All Rights Reserved.