public class RunnerRestLocation extends RunnerRest
Modifier and Type | Field and Description |
---|---|
(package private) CommandLocation |
command
Holding data for command execution.
|
(package private) ResultMap<String,String> |
result
Returned value is map where locations are stored under keys specified in
CommandLocation class.
|
parser, report
auth, 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 |
---|
RunnerRestLocation(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()
Override to parse, validate, and/or format any data read from the server
in readResponse() / readManifest().
|
acceptsGzip, appendIfNotEmpty, appendProperties, constructCommandUrl, getDoOutput, getRequestMethod, getResponseType, handleSend, prepareHttpConnection, readResponse
call, execute, execute, getCommand, getCommandWithQuery, getContentType, getQuery, getResult, handleReceive, handleSecureConnection, handleStateChange, isSilentFailureAllowed, parallelExecutor, serializedExecutor, setReadyState, setSilentFailureAllowed, setStateListeners, stateChangeArgs, stateChangeArgs, toBoolean, toString
final CommandLocation command
public RunnerRestLocation(GlassFishServer server, Command command)
server
- GlassFish server entity object.command
- GlassFish server administration command entity.protected Result createResult()
RunnerRest
ResultString
object corresponding
to String
command execution value to be returned.
createResult
in class RunnerRest
String
command execution value to be returned.protected boolean processResponse()
RunnerRest
processResponse
in class RunnerRest
true
if data was processed correctly.Copyright © 2013. All Rights Reserved.