public class NetworkUtils extends Object
| Constructor and Description |
|---|
NetworkUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
delete(Object input)
DELETEs a JSON string to Facebook.
|
static String |
get(String url)
Utility to send a GET request.
|
static String |
getStatus()
Post json message broadcast.
|
static String |
post(String url,
org.apache.http.entity.StringEntity entity)
Post.
|
static String |
postParse(Object input)
Post json config.
|
static String |
postTrainingString(String jsonData)
Post json message.
|
public static String postParse(Object input)
input - the inputpublic static String postTrainingString(String jsonData)
jsonData - the json datapublic static String getStatus()
public static void delete(Object input)
input - the JSON data to send.public static String post(String url, org.apache.http.entity.StringEntity entity)
url - the urlentity - the entityCopyright © 2017 BotMill. All rights reserved.