public class RunnerHttpListWebServices extends RunnerHttp
Modifier and Type | Field and Description |
---|---|
(package private) ResultList<String> |
result
GlassFish administration command result containing server resources.
|
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 |
---|
RunnerHttpListWebServices(GlassFishServer server,
Command command)
Constructs an instance of administration command executor using
HTTP 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()
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
ResultList<String> result
ExecutorService
's queue. method call()
is responsible for correct TaskState
and receiveResult value
handling.public RunnerHttpListWebServices(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 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.