public class HttpClientUtil extends Object
| Constructor and Description |
|---|
HttpClientUtil() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.http.client.methods.CloseableHttpResponse |
doGet(String url,
Map<String,String> param,
Map<String,String> header,
int timeout) |
static org.apache.http.client.methods.CloseableHttpResponse |
doPost(String url,
Map<String,String> params,
Map<String,String> header,
int timeout) |
public static org.apache.http.client.methods.CloseableHttpResponse doPost(String url, Map<String,String> params, Map<String,String> header, int timeout) throws IOException
IOExceptionpublic static org.apache.http.client.methods.CloseableHttpResponse doGet(String url, Map<String,String> param, Map<String,String> header, int timeout) throws IOException
IOExceptionCopyright © 2023 Seata. All rights reserved.