@Deprecated public class HttpUtils extends Object
| 构造器和说明 |
|---|
HttpUtils()
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static org.apache.http.client.methods.CloseableHttpResponse |
doDelete(String host,
String path,
String method,
Map<String,String> headers,
Map<String,String> querys)
已过时。
Delete
|
static org.apache.http.client.methods.CloseableHttpResponse |
doGet(String host,
String path,
String method,
Map<String,String> headers,
Map<String,String> querys)
已过时。
get
|
static org.apache.http.client.methods.CloseableHttpResponse |
doPost(String host,
String path,
String method,
Map<String,String> headers,
Map<String,String> querys,
byte[] body)
已过时。
Post stream
|
static org.apache.http.client.methods.CloseableHttpResponse |
doPost(String host,
String path,
String method,
Map<String,String> headers,
Map<String,String> querys,
Map<String,String> bodys)
已过时。
post form
|
static org.apache.http.client.methods.CloseableHttpResponse |
doPost(String host,
String path,
String method,
Map<String,String> headers,
Map<String,String> querys,
String body)
已过时。
Post String
|
static org.apache.http.client.methods.CloseableHttpResponse |
doPut(String host,
String path,
String method,
Map<String,String> headers,
Map<String,String> querys,
byte[] body)
已过时。
Put stream
|
static org.apache.http.client.methods.CloseableHttpResponse |
doPut(String host,
String path,
String method,
Map<String,String> headers,
Map<String,String> querys,
String body)
已过时。
Put String
|
public static org.apache.http.client.methods.CloseableHttpResponse doGet(String host, String path, String method, Map<String,String> headers, Map<String,String> querys) throws Exception
host - path - method - headers - querys - Exceptionpublic static org.apache.http.client.methods.CloseableHttpResponse doPost(String host, String path, String method, Map<String,String> headers, Map<String,String> querys, Map<String,String> bodys) throws Exception
host - path - method - headers - querys - bodys - Exceptionpublic static org.apache.http.client.methods.CloseableHttpResponse doPost(String host, String path, String method, Map<String,String> headers, Map<String,String> querys, String body) throws Exception
host - path - method - headers - querys - body - Exceptionpublic static org.apache.http.client.methods.CloseableHttpResponse doPost(String host, String path, String method, Map<String,String> headers, Map<String,String> querys, byte[] body) throws Exception
host - path - method - headers - querys - body - Exceptionpublic static org.apache.http.client.methods.CloseableHttpResponse doPut(String host, String path, String method, Map<String,String> headers, Map<String,String> querys, String body) throws Exception
host - path - method - headers - querys - body - Exceptionpublic static org.apache.http.client.methods.CloseableHttpResponse doPut(String host, String path, String method, Map<String,String> headers, Map<String,String> querys, byte[] body) throws Exception
host - path - method - headers - querys - body - ExceptionCopyright © 2025. All rights reserved.