public class HttpUtils extends Object
| Constructor and Description |
|---|
HttpUtils() |
| Modifier and Type | Method and Description |
|---|---|
static HttpURLConnection |
createHttpConnection(URL endpointUrl,
String httpMethod,
Map<String,String> headers) |
static String |
executeHttpRequest(HttpURLConnection connection) |
public static String executeHttpRequest(HttpURLConnection connection)
public static HttpURLConnection createHttpConnection(URL endpointUrl, String httpMethod, Map<String,String> headers) throws IOException
IOExceptionCopyright © 2021–2024. All rights reserved.