public class RunnerHttpGetProperty extends RunnerHttp
Modifier and Type | Field and Description |
---|---|
private static Logger |
LOGGER
Logger instance for this class.
|
(package private) ResultMap<String,String> |
result
Returned value is map where key-value pairs returned by server
are stored.
|
LIBRARY_SEPARATOR, manifest
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 |
---|
RunnerHttpGetProperty(GlassFishServer server,
Command command)
Constructs an instance of administration command executor using
HTTP interface.
|
Modifier and Type | Method and Description |
---|---|
protected ResultMap<String,String> |
createResult()
Create
ResultMap object corresponding
to server get property command execution value to be returned. |
protected boolean |
processResponse()
Extracts result value from internal
Manifest object. |
acceptsGzip, constructCommandUrl, getDoOutput, getExtraProperties, getLastModified, getRequestMethod, handleSend, prepareHttpConnection, 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 Logger LOGGER
public RunnerHttpGetProperty(GlassFishServer server, Command command)
server
- GlassFish server entity object.command
- GlassFish server administration command entity.protected ResultMap<String,String> createResult()
ResultMap
object corresponding
to server get property command execution value to be returned.createResult
in class RunnerHttp
String
command execution value to be returned.protected boolean processResponse()
RunnerHttp
Manifest
object.
Value of message attribute in Manifest
object is
stored as value into ResultString
result object.
processResponse
in class RunnerHttp
null
messagevalue is considered as failure.Copyright © 2013. All Rights Reserved.