Index
All Classes and Interfaces|All Packages
A
- ArgMap<K,
V> - Class in com.imyeyu.network -
请求参数列表。
- ArgMap() - Constructor for class com.imyeyu.network.ArgMap
- asBytes() - Method in class com.imyeyu.network.CommonRequest
- asBytes() - Method in class com.imyeyu.network.ProgressiveRequest
- asJsonArray() - Method in class com.imyeyu.network.JacksonRequest
-
将响应体解析为 JSON 数组。
- asJsonNode() - Method in class com.imyeyu.network.JacksonRequest
-
将响应体解析为 JSON 节点。
- asJsonObject() - Method in class com.imyeyu.network.JacksonRequest
-
将响应体解析为 JSON 对象。
- asNumber() - Method in class com.imyeyu.network.CommonRequest
- asNumber() - Method in class com.imyeyu.network.TimiRequest
- asStream() - Method in class com.imyeyu.network.CommonRequest
- asString() - Method in class com.imyeyu.network.CommonRequest
- asString() - Method in class com.imyeyu.network.ProgressiveRequest
- asString() - Method in class com.imyeyu.network.TimiRequest
B
- body(Object) - Method in class com.imyeyu.network.FileRequest
- body(Object) - Method in class com.imyeyu.network.JacksonRequest
-
设置 JSON 请求体。
- body(Object) - Method in class com.imyeyu.network.ProgressiveRequest
- body(Object) - Method in class com.imyeyu.network.TimiRequest
- bodyEntity(HttpEntity) - Method in class com.imyeyu.network.CommonRequest
- bodyEntity(HttpEntity) - Method in class com.imyeyu.network.FileRequest
- bodyEntity(HttpEntity) - Method in class com.imyeyu.network.JacksonRequest
- bodyEntity(HttpEntity) - Method in class com.imyeyu.network.ProgressiveRequest
- bodyEntity(HttpEntity) - Method in class com.imyeyu.network.TimiRequest
C
- callback - Variable in class com.imyeyu.network.ProgressiveRequest
- clear() - Method in class com.imyeyu.network.ArgMap
-
清空全部参数。
- com.imyeyu.network - package com.imyeyu.network
- CommonRequest - Class in com.imyeyu.network
- CommonRequest(Request) - Constructor for class com.imyeyu.network.CommonRequest
E
- entries() - Method in class com.imyeyu.network.ArgMap
-
返回只读参数视图。
- execute() - Method in class com.imyeyu.network.CommonRequest
- execute() - Method in class com.imyeyu.network.TimiRequest
F
- FileRequest - Class in com.imyeyu.network
- FileRequest(Request) - Constructor for class com.imyeyu.network.FileRequest
- forEach(BiConsumer<? super K, ? super V>) - Method in class com.imyeyu.network.ArgMap
-
按插入顺序遍历全部参数。
G
- get(String) - Static method in class com.imyeyu.network.CommonRequest
- get(String) - Static method in class com.imyeyu.network.FileRequest
- get(String) - Static method in class com.imyeyu.network.JacksonRequest
-
创建 GET 请求。
- get(String) - Static method in class com.imyeyu.network.TimiRequest
- get(String, ProgressiveRequest.ProgressiveCallback) - Static method in class com.imyeyu.network.ProgressiveRequest
- getFileDownloadHeader(String) - Static method in class com.imyeyu.network.Network
- getObjectMapper() - Method in class com.imyeyu.network.JacksonRequest
-
获取当前请求使用的对象映射器。
H
- handler(long, long, long) - Method in interface com.imyeyu.network.ProgressiveRequest.ProgressiveCallback
- header(String, String) - Method in class com.imyeyu.network.CommonRequest
- header(String, String) - Method in class com.imyeyu.network.FileRequest
- header(String, String) - Method in class com.imyeyu.network.JacksonRequest
- header(String, String) - Method in class com.imyeyu.network.ProgressiveRequest
- header(String, String) - Method in class com.imyeyu.network.TimiRequest
I
- isBusyPort(int) - Static method in class com.imyeyu.network.Network
-
检测一个端口是否被占用
- isEmpty() - Method in class com.imyeyu.network.ArgMap
-
判断参数列表是否为空。
J
- JacksonRequest - Class in com.imyeyu.network
-
基于 Jackson 的请求封装。
- JacksonRequest(Request) - Constructor for class com.imyeyu.network.JacksonRequest
L
- language(String) - Method in class com.imyeyu.network.CommonRequest
- language(String) - Method in class com.imyeyu.network.FileRequest
- language(String) - Method in class com.imyeyu.network.JacksonRequest
- language(String) - Method in class com.imyeyu.network.ProgressiveRequest
- language(String) - Method in class com.imyeyu.network.TimiRequest
- length() - Method in class com.imyeyu.network.FileRequest
N
- Network - Class in com.imyeyu.network
- Network() - Constructor for class com.imyeyu.network.Network
O
- objectMapper(ObjectMapper) - Method in class com.imyeyu.network.JacksonRequest
-
指定对象映射器。
- of(K, V) - Static method in class com.imyeyu.network.ArgMap
-
使用一组参数创建对象。
- of(K, V, K, V) - Static method in class com.imyeyu.network.ArgMap
-
使用两组参数创建对象。
- of(K, V, K, V, K, V) - Static method in class com.imyeyu.network.ArgMap
-
使用三组参数创建对象。
- openURIInBrowser(String) - Static method in class com.imyeyu.network.Network
-
使用默认浏览器打开 URL 地址
P
- ping(String) - Static method in class com.imyeyu.network.Network
-
TCP 测试 IP 连接延时(同步),8 秒连接失败返回 -1
- ping(String, int) - Static method in class com.imyeyu.network.Network
-
TCP 测试 IP 连接延时(同步)
- pingAsync(String, int, CallbackArg<Integer>) - Static method in class com.imyeyu.network.Network
-
TCP 测试 IP 连接延时(异步)
- pingAsync(String, CallbackArg<Integer>) - Static method in class com.imyeyu.network.Network
-
TCP 测试 IP 连接延时(异步)
- post(String) - Static method in class com.imyeyu.network.CommonRequest
- post(String) - Static method in class com.imyeyu.network.FileRequest
- post(String) - Static method in class com.imyeyu.network.JacksonRequest
-
创建 POST 请求。
- post(String) - Static method in class com.imyeyu.network.TimiRequest
- post(String, ProgressiveRequest.ProgressiveCallback) - Static method in class com.imyeyu.network.ProgressiveRequest
- ProgressiveRequest - Class in com.imyeyu.network
-
封装
Request计算返回进度 - ProgressiveRequest(Request, ProgressiveRequest.ProgressiveCallback) - Constructor for class com.imyeyu.network.ProgressiveRequest
- ProgressiveRequest.ProgressiveCallback - Interface in com.imyeyu.network
- put(K, V) - Method in class com.imyeyu.network.ArgMap
-
追加一个参数。
R
- request - Variable in class com.imyeyu.network.CommonRequest
- resultAs(TypeReference<T>) - Method in class com.imyeyu.network.JacksonRequest
-
将响应体解析为指定泛型类型。
- resultAs(TypeReference<T>) - Method in class com.imyeyu.network.TimiRequest
-
读取 Timi 响应中的泛型数据字段。
- resultAs(Class<T>) - Method in class com.imyeyu.network.JacksonRequest
-
将响应体解析为指定类型。
- resultAs(Class<T>) - Method in class com.imyeyu.network.TimiRequest
-
读取 Timi 响应中的数据字段。
- resultAs(Type) - Method in class com.imyeyu.network.JacksonRequest
-
将响应体解析为指定反射类型。
- resultAs(Type) - Method in class com.imyeyu.network.TimiRequest
-
读取 Timi 响应中的泛型数据字段。
S
- simpleURIFileName(String) - Static method in class com.imyeyu.network.Network
-
获取 URI 简易的文件名,不含格式
- size() - Method in class com.imyeyu.network.ArgMap
-
返回参数数量。
T
- timeout(long) - Method in class com.imyeyu.network.CommonRequest
- timeout(long) - Method in class com.imyeyu.network.FileRequest
- timeout(long) - Method in class com.imyeyu.network.JacksonRequest
- timeout(long) - Method in class com.imyeyu.network.ProgressiveRequest
- timeout(long) - Method in class com.imyeyu.network.TimiRequest
- TimiRequest - Class in com.imyeyu.network
- TimiRequest(Request) - Constructor for class com.imyeyu.network.TimiRequest
- timiResponseType(TypeReference<?>) - Method in class com.imyeyu.network.TimiRequest
-
构造带泛型的 Timi 响应类型。
- timiResponseType(Class<?>) - Method in class com.imyeyu.network.TimiRequest
-
构造带泛型的 Timi 响应类型。
- timiResponseType(Type) - Method in class com.imyeyu.network.TimiRequest
-
构造带泛型的 Timi 响应类型。
- toEntity() - Method in class com.imyeyu.network.ArgMap
-
转换为 multipart 实体。
- toFile(File) - Method in class com.imyeyu.network.FileRequest
- toFile(File) - Method in class com.imyeyu.network.ProgressiveRequest
- toFile(String, String) - Method in class com.imyeyu.network.FileRequest
- toFile(Path) - Method in class com.imyeyu.network.FileRequest
- toFile(Path) - Method in class com.imyeyu.network.ProgressiveRequest
- token(String) - Method in class com.imyeyu.network.CommonRequest
- token(String) - Method in class com.imyeyu.network.FileRequest
- token(String) - Method in class com.imyeyu.network.JacksonRequest
- token(String) - Method in class com.imyeyu.network.ProgressiveRequest
- token(String) - Method in class com.imyeyu.network.TimiRequest
- toNameValuePair() - Method in class com.imyeyu.network.ArgMap
-
转换为表单参数列表。
- toURL() - Method in class com.imyeyu.network.ArgMap
-
转换为 query string。
- toURL(String) - Method in class com.imyeyu.network.ArgMap
-
将参数拼接到指定 URL。
U
- uriFileExtension(String) - Static method in class com.imyeyu.network.Network
-
获取 URI 文件扩展名
- uriFileName(String) - Static method in class com.imyeyu.network.Network
-
获取 URI 文件名
W
- wrap(Request) - Static method in class com.imyeyu.network.CommonRequest
- wrap(Request) - Static method in class com.imyeyu.network.FileRequest
- wrap(Request) - Static method in class com.imyeyu.network.JacksonRequest
-
包装现有请求对象。
- wrap(Request) - Static method in class com.imyeyu.network.TimiRequest
- wrap(Request, ProgressiveRequest.ProgressiveCallback) - Static method in class com.imyeyu.network.ProgressiveRequest
All Classes and Interfaces|All Packages