public class Curl extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Curl.CurlException |
| Constructor and Description |
|---|
Curl() |
| Modifier and Type | Method and Description |
|---|---|
static Map |
get(String urlStr,
Map<String,String> headers) |
static Map |
post(String urlStr,
String data,
Map<String,String> headers) |
static void |
put(String urlStr,
File file) |
static Map |
put(String urlStr,
String data,
Map<String,String> headers) |
public static Map get(String urlStr, Map<String,String> headers) throws IOException, Curl.CurlException
IOExceptionCurl.CurlExceptionpublic static Map post(String urlStr, String data, Map<String,String> headers) throws IOException, Curl.CurlException
IOExceptionCurl.CurlExceptionpublic static Map put(String urlStr, String data, Map<String,String> headers) throws IOException, Curl.CurlException
IOExceptionCurl.CurlExceptionpublic static void put(String urlStr, File file) throws IOException, Curl.CurlException
IOExceptionCurl.CurlExceptionCopyright © 2015. All rights reserved.