public class httpUtils extends Object
| 构造器和说明 |
|---|
httpUtils() |
public static String doPost(Config config, String url, String body) throws BaseException
BaseExceptionpublic static String doPost(Config config, String url, String body, int connectTimeout, int readTimeout, Map<String,String> headerMap) throws BaseException
BaseExceptionprotected static String getResponseAsString(HttpURLConnection conn) throws IOException
IOExceptionCopyright © 2018. All rights reserved.