public class HttpUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
connectRequestTimeout |
static org.apache.http.impl.client.CloseableHttpClient |
httpclient |
static int |
maxPerRoute |
static int |
maxTotal |
| Constructor and Description |
|---|
HttpUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
closeResponse(org.apache.http.client.methods.CloseableHttpResponse response) |
static String |
doGet(String url,
int timeout) |
static byte[] |
doGetBytes(String url,
int timeout) |
Copyright © 2025. All rights reserved.