public class NetworkClient extends Object
| Constructor and Description |
|---|
NetworkClient(String serverUrl,
String sessionId,
String token,
IErrorLogger errorLogger) |
| Modifier and Type | Method and Description |
|---|---|
static String |
getHostname() |
String |
getToken() |
void |
sendPOSTRequest(String url,
String attachmentFilePath) |
void |
uploadFile(String filePath) |
public NetworkClient(String serverUrl, String sessionId, String token, IErrorLogger errorLogger)
public String getToken()
public static String getHostname()
public void sendPOSTRequest(String url, String attachmentFilePath) throws IOException
IOExceptionpublic void uploadFile(String filePath) throws IOException
IOExceptionCopyright © 2023. All rights reserved.