public class httpUtils extends Object
| Constructor and Description |
|---|
httpUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
doPost(Config config,
String url,
String body) |
static String |
doPost(Config config,
String url,
String body,
int connectTimeout,
int readTimeout,
Map<String,String> headerMap) |
protected static String |
getResponseAsString(HttpURLConnection conn) |
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 © 2023. All rights reserved.