public class ApiUtil extends Object
| Constructor and Description |
|---|
ApiUtil() |
| Modifier and Type | Method and Description |
|---|---|
static org.json.JSONObject |
get(String url,
Map<String,String> queryParam,
Map<String,String> headers) |
static org.apache.http.impl.client.CloseableHttpClient |
getHttpClient(String url) |
public static org.json.JSONObject get(String url, Map<String,String> queryParam, Map<String,String> headers) throws org.json.JSONException
org.json.JSONExceptionpublic static org.apache.http.impl.client.CloseableHttpClient getHttpClient(String url) throws KeyManagementException, NoSuchAlgorithmException, KeyStoreException
Copyright © 2021. All rights reserved.