所有方法 静态方法 实例方法 具体方法
| 限定符和类型 |
方法和说明 |
HttpUtils |
bodyRaw(InputStream raw,
String contentType) |
HttpUtils |
bodyTxt(String txt,
String contentType) |
HttpUtils |
charset(String charset) |
HttpUtils |
cookies(Map<String,Object> cookies) |
HttpUtils |
data(Map<String,Object> data) |
HttpUtils |
data(String key,
String value) |
HttpUtils |
data(String key,
String filename,
InputStream inputStream,
String contentType) |
String |
delete() |
okhttp3.Response |
exec(String mothod) |
String |
exec2(String mothod) |
String |
get() |
HttpUtils |
header(String name,
String value) |
HttpUtils |
headers(Map<String,Object> headers) |
static HttpUtils |
http(String url) |
String |
patch() |
String |
post() |
String |
put() |
HttpUtils |
userAgent(String ua) |