| Modifier and Type | Method and Description |
|---|---|
SimpleHttpResponse |
SimpleHttp.get(String url)
get 请求
|
SimpleHttpResponse |
SimpleHttp.get(String url,
Map<String,String> params)
get 请求
|
SimpleHttpResponse |
SimpleHttp.postFile(String url,
String name,
File file)
post multipart/form-data 文件上传
|
SimpleHttpResponse |
SimpleHttp.postFile(String url,
String name,
String filename,
byte[] fileBytes)
post multipart/form-data 文件上传
|
SimpleHttpResponse |
SimpleHttp.postFormFile(String url,
Map<String,Object> formData)
post multipart/form-data 文件上传
|
SimpleHttpResponse |
SimpleHttp.postFormFile(String url,
Map<String,Object> formData,
HttpHeader header)
post multipart/form-data 文件上传
|
SimpleHttpResponse |
SimpleHttp.postFormStr(String url)
post请求
|
SimpleHttpResponse |
SimpleHttp.postFormStr(String url,
Map<String,String> formdata)
post 表单请求
|
SimpleHttpResponse |
SimpleHttp.postFormStr(String url,
Map<String,String> formData,
HttpHeader header)
post 表单请求
|
SimpleHttpResponse |
SimpleHttp.postFormStr(String url,
String dataJson)
post请求
|
SimpleHttpResponse |
SimpleHttp.postFormStr(String url,
String dataJson,
HttpHeader header)
post请求
|
| Modifier and Type | Method and Description |
|---|---|
SimpleHttpResponse |
SimpleHttpResponse.body(byte[] body) |
Copyright © 2022. All rights reserved.