接口 Http
public interface Http
HTTP client 接口
- 作者:
- wudi
-
方法详细资料
-
download
使用get提交url- 参数:
url- 网址header- http头列表- 返回:
- 返回的结果
-
post
使用post提交url- 参数:
url- 网址data- 参数header- http头列表- 返回:
- 返回的结果
-
download
使用get提交url- 参数:
url- 网址- 返回:
- 返回的结果
-
get
使用get提交url- 参数:
url- 网址- 返回:
- 返回的结果
-
get
使用get提交url- 参数:
url- 网址header- http头列表- 返回:
- 返回的结果
-
post
模拟post提交 定制提交 参数对象与提交参数相同 返回结果为json对象- 参数:
url- post提交地址data- 提交参数c- 返回类类型- 返回:
- 提交结果
-
post
使用post提交url- 参数:
url- 网址data- 参数- 返回:
- 返回的结果
-