public class RunnerRestList extends RunnerRest
Modifier and Type | Field and Description |
---|---|
(package private) ResultList<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 |
---|
RunnerRestList(GlassFishServer server,
Command command)
Constructs an instance of administration command executor using
REST interface.
|
Modifier and Type | Method and Description |
---|---|
protected ResultList<String> |
createResult()
Create
ResultList object corresponding
to server log 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
ResultList<String> result
public RunnerRestList(GlassFishServer server, Command command)
server
- GlassFish server entity object.command
- GlassFish server administration command entity.protected ResultList<String> createResult()
ResultList
object corresponding
to server log 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.