类 HttpUtils
java.lang.Object
HttpUtils
-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
HttpUtils
public HttpUtils()
-
-
方法详细资料
-
sendGet
- 抛出:
IOException
-
post
public static String post(String apiUrl, String body, Map<String, String> headers, int readTimeOut, int connectTimeOut) throws IOException- 抛出:
IOException
-
httpspost
public static String httpspost(String apiUrl, String body, Map<String, String> headers) throws NoSuchAlgorithmException, KeyManagementException, IOException
-