public class HttpClient extends Object
| Modifier and Type | Method and Description |
|---|---|
int |
delete(String path) |
com.google.gson.JsonObject |
get(String path) |
com.google.gson.JsonObject |
post(String path,
com.google.gson.JsonObject data) |
com.google.gson.JsonObject |
post(String path,
String name,
boolean value) |
com.google.gson.JsonObject |
post(String path,
String name,
long value) |
com.google.gson.JsonObject |
post(String path,
String name,
String value) |
public com.google.gson.JsonObject post(String path, String name, long value) throws IOException
IOExceptionpublic com.google.gson.JsonObject post(String path, String name, boolean value) throws IOException
IOExceptionpublic com.google.gson.JsonObject post(String path, String name, String value) throws IOException
IOExceptionpublic com.google.gson.JsonObject get(String path) throws IOException
IOExceptionpublic com.google.gson.JsonObject post(String path, com.google.gson.JsonObject data) throws IOException
IOExceptionpublic int delete(String path) throws IOException
IOExceptionCopyright © 2016. All rights reserved.