public class http extends Object
| Constructor and Description |
|---|
http() |
| Modifier and Type | Method and Description |
|---|---|
static String |
delete(String url,
Map<String,String> params,
Map<String,Object> body) |
static String |
delete(String url,
String body,
boolean https) |
static String |
get(String url,
Map<String,String> params) |
static String |
post(String url,
Map<String,String> params,
Map<String,Object> body) |
static String |
post(String url,
Map<String,String> header,
String body,
boolean https) |
static String |
post(String url,
String body,
boolean https) |
public static String post(String url, Map<String,String> header, String body, boolean https) throws IOException, NoSuchAlgorithmException, NoSuchProviderException, KeyManagementException
public static String post(String url, String body, boolean https) throws IOException, NoSuchAlgorithmException, NoSuchProviderException, KeyManagementException
public static String delete(String url, String body, boolean https) throws IOException, NoSuchAlgorithmException, NoSuchProviderException, KeyManagementException
public static String delete(String url, Map<String,String> params, Map<String,Object> body) throws Exception
Exceptionpublic static String post(String url, Map<String,String> params, Map<String,Object> body) throws Exception
ExceptionCopyright © 2020. All rights reserved.