public class ServerManagementProxy extends AbstractRestProxy
AbstractRestProxy.ThrowableSupplier<T,E extends Throwable>| Modifier and Type | Field and Description |
|---|---|
static String |
SERVER_PATH |
static String |
SERVER_START_PATH |
static String |
SERVER_STATUS_PATH |
static String |
SERVER_STOP_PATH |
logger| Constructor and Description |
|---|
ServerManagementProxy() |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(String serviceURL,
String username,
String password) |
String |
getConnectedServerAddress() |
static ServerManagementProxy |
getInstance() |
String |
start() |
String |
status() |
String |
stop() |
delete, get, get, invoke, invokeForMsg, parseMsg, parseResponseClass, parseResponseGeneric, post, postpublic static final String SERVER_PATH
public static final String SERVER_START_PATH
public static final String SERVER_STOP_PATH
public static final String SERVER_STATUS_PATH
public static ServerManagementProxy getInstance()
public String getConnectedServerAddress()
public String status() throws TerminalException
TerminalExceptionpublic String start() throws TerminalException
TerminalExceptionpublic String stop() throws TerminalException
TerminalExceptionCopyright © 2016–2019 AdroitLogic. All rights reserved.