public class RunnerHttpLocation extends RunnerHttp
Modifier and Type | Field and Description |
---|---|
(package private) ResultMap<String,String> |
result
Returned value is map where locations are stored under keys specified in
CommandLocation class.
|
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 |
---|
RunnerHttpLocation(GlassFishServer server,
Command command)
Constructs an instance of administration command executor using
HTTP interface.
|
Modifier and Type | Method and Description |
---|---|
protected Result |
createResult()
Create
ResultString object corresponding
to String 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
public RunnerHttpLocation(GlassFishServer server, Command command)
server
- GlassFish server entity object.command
- GlassFish server administration command entity.protected Result createResult()
RunnerHttp
ResultString
object corresponding
to String
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.