public class RunnerRestGetProperty extends RunnerRest
Modifier and Type | Field and Description |
---|---|
private static Logger |
LOGGER
Logger instance for this class.
|
(package private) ResultMap<String,String> |
result
Result object - contains list of JDBC resources names.
|
parser, report
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 |
---|
RunnerRestGetProperty(GlassFishServer server,
Command command)
Constructs an instance of administration command executor using
REST 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 void |
handleSend(HttpURLConnection hconn)
Override this method to handle sending data to server.
|
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, prepareHttpConnection, 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 RunnerRestGetProperty(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 RunnerRest
String
command execution value to be returned.protected boolean processResponse()
RunnerRest
processResponse
in class RunnerRest
true
if data was processed correctly.protected void handleSend(HttpURLConnection hconn) throws IOException
Runner
handleSend
in class RunnerRest
IOException
Copyright © 2013. All Rights Reserved.