public class RestClient extends Object
| Constructor and Description |
|---|
RestClient() |
| Modifier and Type | Method and Description |
|---|---|
static Map |
get(String urlStr,
Map<String,String> headers) |
static Map |
patch(String urlStr,
String data,
Map<String,String> headers) |
static Map |
post(String urlStr,
String data,
Map<String,String> headers) |
static void |
put(String urlStr,
File file,
UploadListener uploadListener) |
public static Map get(String urlStr, Map<String,String> headers) throws IOException
IOExceptionpublic static Map post(String urlStr, String data, Map<String,String> headers) throws IOException
IOExceptionpublic static Map patch(String urlStr, String data, Map<String,String> headers) throws IOException
IOExceptionpublic static void put(String urlStr, File file, UploadListener uploadListener) throws IOException
IOExceptionCopyright © 2015. All rights reserved.