| Package | Description |
|---|---|
| com.digi.wva.device |
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpClient.ExpectEmptyCallback
Version of
HttpClient.HttpCallback which expects the HTTP response body to be empty. |
| Modifier and Type | Method and Description |
|---|---|
void |
HttpClient.delete(String url,
HttpClient.HttpCallback callback)
Asynchronously perform an HTTP DELETE request on the given path.
|
void |
HttpClient.get(String url,
HttpClient.HttpCallback callback)
Asynchronously perform an HTTP GET request on the given path.
|
void |
HttpClient.post(String url,
JSONObject obj,
HttpClient.HttpCallback callback)
Asynchronously perform an HTTP POST request on the given path,
with the given JSON data.
|
void |
HttpClient.put(String url,
JSONObject obj,
HttpClient.HttpCallback callback)
Asynchronously perform an HTTP PUT request on the given path,
with the given JSON data.
|
Callback |
HttpClient.wrapCallback(HttpClient.HttpCallback callback)
Wrap an HttpCallback in an OkHttp
Callback instance. |