public class RunnerRestCreateCluster extends RunnerRest
parser, report, result
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 |
---|
RunnerRestCreateCluster(GlassFishServer server,
Command command)
Constructs an instance of administration command executor using
REST interface.
|
Modifier and Type | Method and Description |
---|---|
protected String |
constructCommandUrl()
Build Glassfish REST command URL.
|
protected void |
handleSend(HttpURLConnection hconn)
Override this method to handle sending data to server.
|
acceptsGzip, appendIfNotEmpty, appendProperties, createResult, getDoOutput, getRequestMethod, getResponseType, prepareHttpConnection, processResponse, readResponse
call, execute, execute, getCommand, getCommandWithQuery, getContentType, getQuery, getResult, handleReceive, handleSecureConnection, handleStateChange, isSilentFailureAllowed, parallelExecutor, serializedExecutor, setReadyState, setSilentFailureAllowed, setStateListeners, stateChangeArgs, stateChangeArgs, toBoolean, toString
public RunnerRestCreateCluster(GlassFishServer server, Command command)
server
- GlassFish server entity object.command
- GlassFish server administration command entity.protected String constructCommandUrl() throws CommandException
RunnerRest
constructCommandUrl
in class RunnerRest
String
value containing command URL.CommandException
protected void handleSend(HttpURLConnection hconn) throws IOException
Runner
handleSend
in class RunnerRest
IOException
Copyright © 2013. All Rights Reserved.