public class RunnerHttpListComponents extends RunnerHttpTarget
Modifier and Type | Field and Description |
---|---|
(package private) ResultMap<String,List<String>> |
result
GlassFish administration command result containing server components.
|
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 |
---|
RunnerHttpListComponents(GlassFishServer server,
Command command)
Constructs an instance of administration command executor using
HTTP interface.
|
Modifier and Type | Method and Description |
---|---|
protected ResultMap<String,List<String>> |
createResult()
Create
ResultList object corresponding
to server log command execution value to be returned. |
protected boolean |
processResponse()
Extracts result value from internal
Manifest object. |
query
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 RunnerHttpListComponents(GlassFishServer server, Command command)
server
- GlassFish server entity object.command
- GlassFish server administration command entity.protected ResultMap<String,List<String>> createResult()
ResultList
object corresponding
to server log command execution value to be returned.createResult
in class RunnerHttp
String
command execution value to be returned.protected boolean processResponse()
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.