Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- appendGetUrlParam(String, T) - Static method in class http.HttpUtil
-
拼接 get 请求参数
B
- body - Variable in class http.demo.DemoVO
-
处理结果数据信息
- BOUNDARY - Static variable in class http.HttpUtil
-
边界标识
C
D
- DemoPagingVO<T> - Class in http.demo
-
分页返回信息
- DemoPagingVO() - Constructor for class http.demo.DemoPagingVO
-
Default constructor added by Java.
- DemoVO<T> - Class in http.demo
-
返回统一类, 可自定义 description: BaseRes
- DemoVO(String) - Constructor for class http.demo.DemoVO
-
Default constructor added by Java.
G
- getConnection(String) - Static method in class http.HttpUtil
-
设置通用的请求属性
- getResponseString(HttpURLConnection) - Static method in class http.HttpUtil
-
获取返回值
- getRet(String, Class<T>) - Static method in class http.demo.HttpDemoUtil
-
将返回值解析为泛型
- getRetPage(String, Class<T>) - Static method in class http.demo.HttpDemoUtil
-
将返回值解析为分页泛型
H
- http - package http
- http.demo - package http.demo
- HttpDemoUtil - Class in http.demo
-
http 工具示例类
- HttpDemoUtil() - Constructor for class http.demo.HttpDemoUtil
-
Default constructor added by Java.
- HttpUtil - Class in http
-
http 工具类
- HttpUtil() - Constructor for class http.HttpUtil
-
Default constructor added by Java.
I
- initGetConnection(String, T) - Static method in class http.HttpUtil
-
获取URLConnection
L
- LINE_END - Static variable in class http.HttpUtil
-
字段结束
- list - Variable in class http.demo.DemoPagingVO
-
结果
M
P
S
- sendDelete(String, T, Map<String, String>) - Static method in class http.HttpUtil
-
向指定URL发送 delete 方法的请求
- sendDelete(String, T, Map<String, String>, Class<M>) - Static method in class http.demo.HttpDemoUtil
-
向指定URL发送 delete 方法的请求
- sendGet(String, T, Map<String, String>) - Static method in class http.HttpUtil
-
向指定URL发送GET方法的请求
- sendGet(String, T, Map<String, String>, Class<M>) - Static method in class http.demo.HttpDemoUtil
-
向指定URL发送GET方法的请求
- sendGetPage(String, T, Map<String, String>, Class<M>) - Static method in class http.demo.HttpDemoUtil
-
发送分页请求
- sendObjPost(String, Object, Map<String, String>) - Static method in class http.HttpUtil
-
发送对象 post
- sendObjPost(String, Object, Map<String, String>, Class<M>) - Static method in class http.demo.HttpDemoUtil
- sendPost(String, String, Map<String, String>) - Static method in class http.HttpUtil
-
向指定 URL 发送POST方法的请求 Content type 'application/json;charset=UTF-8' not supported // 请考虑接口入参的情况
- sendPost(String, String, Map<String, String>, Class<M>) - Static method in class http.demo.HttpDemoUtil
-
向指定 URL 发送POST方法的请求
- sendPostFile(String, T, String, Map<String, String>) - Static method in class http.HttpUtil
-
发送 post 文件请求
- sendPostFile(String, T, String, Map<String, String>, Class<M>) - Static method in class http.demo.HttpDemoUtil
-
发送 post 文件请求
- status - Variable in class http.demo.DemoVO
-
处理结果状态
T
- time - Variable in class http.demo.DemoVO
-
请求结果生成时间戳
- total - Variable in class http.demo.DemoPagingVO
-
总记录数
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form