public class HTTParty extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HTTParty.Call |
| Constructor and Description |
|---|
HTTParty() |
| Modifier and Type | Method and Description |
|---|---|
static HTTParty.Call |
delete(String url,
net.sf.json.JSONObject args) |
static String |
encodeURIComponent(String component) |
static HTTParty.Call |
get(String url) |
static HTTParty.Call |
get(String url,
net.sf.json.JSONObject args) |
static HTTParty.Call |
post(String url,
net.sf.json.JSONObject data) |
static HTTParty.Call |
put(String url,
File file) |
static HTTParty.Call |
put(String url,
File file,
LoggingOutputStream.Listener listener) |
static HTTParty.Call |
put(String url,
net.sf.json.JSONObject data) |
static String |
toQuery(net.sf.json.JSONObject json) |
public static HTTParty.Call get(String url) throws IOException
IOExceptionpublic static HTTParty.Call get(String url, net.sf.json.JSONObject args) throws IOException
IOExceptionpublic static HTTParty.Call put(String url, net.sf.json.JSONObject data) throws UnsupportedEncodingException, IOException
public static HTTParty.Call put(String url, File file) throws IOException
IOExceptionpublic static HTTParty.Call put(String url, File file, LoggingOutputStream.Listener listener) throws IOException
IOExceptionpublic static HTTParty.Call delete(String url, net.sf.json.JSONObject args) throws IOException
IOExceptionpublic static HTTParty.Call post(String url, net.sf.json.JSONObject data) throws UnsupportedEncodingException, IOException
public static String encodeURIComponent(String component) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic static String toQuery(net.sf.json.JSONObject json) throws UnsupportedEncodingException
UnsupportedEncodingExceptionCopyright © 2004-2015. All Rights Reserved.