- 所有已实现的接口:
Http
public class Jdk11Http
extends Object
implements Http
http jdk11的实现
- 作者:
- wudi
-
-
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
构造器详细资料
-
Jdk11Http
public Jdk11Http()
-
方法详细资料
-
post
使用post提交url
- 指定者:
post 在接口中 Http
- 参数:
url - 网址
data - 参数
header - http头列表
- 返回:
- 返回的结果
-
download
使用get提交url
- 指定者:
download 在接口中 Http
- 参数:
url - 网址
header - http头列表
- 返回:
- 返回的结果