public class Server extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DELETE |
static String |
GET |
static okhttp3.MediaType |
JSON |
static String |
POST |
static String |
SESSION |
| Constructor and Description |
|---|
Server(int port) |
| Modifier and Type | Method and Description |
|---|---|
static String |
exchange(String url,
String method,
String json,
int timeoutSec) |
BrowserType |
getBrowserType(String browserName) |
public static final okhttp3.MediaType JSON
public static final String GET
public static final String DELETE
public static final String POST
public static final String SESSION
public BrowserType getBrowserType(String browserName)
public static String exchange(String url, String method, String json, int timeoutSec) throws IOException
IOExceptionCopyright © 2019. All rights reserved.