A B C D F G H I J M O P R S T U 
所有类 所有程序包

A

APPLICATION_ATOM_XML - 类 中的静态变量com.github.hugh.http.constant.MediaTypes
Atom XML 类型。
APPLICATION_FORM_URLENCODED - 类 中的静态变量com.github.hugh.http.constant.MediaTypes
表单 URL 编码类型。
APPLICATION_FORM_URLENCODED_UTF8 - 类 中的静态变量com.github.hugh.http.constant.MediaTypes
表单 URL 编码类型。
APPLICATION_JSON_UTF8 - 类 中的静态变量com.github.hugh.http.constant.MediaTypes
JSON 类型,采用 UTF-8 字符集编码。
APPLICATION_OCTET_STREAM - 类 中的静态变量com.github.hugh.http.constant.MediaTypes
二进制流类型。
APPLICATION_PDF - 类 中的静态变量com.github.hugh.http.constant.MediaTypes
PDF 类型。
APPLICATION_RSS_XML - 类 中的静态变量com.github.hugh.http.constant.MediaTypes
RSS XML 类型。
APPLICATION_XHTML_XML - 类 中的静态变量com.github.hugh.http.constant.MediaTypes
XHTML XML 类型。
APPLICATION_XML - 类 中的静态变量com.github.hugh.http.constant.MediaTypes
XML 类型。

B

buildClient() - 类 中的静态方法com.github.hugh.http.OkHttpUtils
已过时。
构建OkHttpClient对象
buildClient(int, int) - 类 中的静态方法com.github.hugh.http.OkHttpUtils
已过时。
构建OkHttpClient对象

C

com.github.hugh.http - 程序包 com.github.hugh.http
 
com.github.hugh.http.builder - 程序包 com.github.hugh.http.builder
 
com.github.hugh.http.constant - 程序包 com.github.hugh.http.constant
 
com.github.hugh.http.exception - 程序包 com.github.hugh.http.exception
 
com.github.hugh.http.model - 程序包 com.github.hugh.http.model
 
COOKIE_STORE - 类 中的静态变量com.github.hugh.http.constant.OkHttpCode
本地cookie存储
cookieClient - 类 中的静态变量com.github.hugh.http.builder.HttpClient
OkHttp管理cookie

D

doGet() - 类 中的方法com.github.hugh.http.builder.OkHttps
发送 GET 请求,并获取 HTTP 响应消息。
doPostForm() - 类 中的方法com.github.hugh.http.builder.OkHttps
执行带有表单数据的 POST 请求。
doPostJson() - 类 中的方法com.github.hugh.http.builder.OkHttps
执行带有 JSON 数据的 POST 请求。

F

FileFrom - com.github.hugh.http.model中的类
文件来源类,表示包含一组文件媒体信息。
FileFrom() - 类 的构造器com.github.hugh.http.model.FileFrom
 
fromJson(Class<T>) - 类 中的方法com.github.hugh.http.builder.OkHttpsResponse
将 HTTP 响应消息反序列化为指定类型的 Java 对象。

G

get(String) - 类 中的静态方法com.github.hugh.http.OkHttpUtils
已过时。
get请求
get(String, int) - 类 中的静态方法com.github.hugh.http.OkHttpUtils
已过时。
get请求
get(String, D, Map<String, String>) - 类 中的静态方法com.github.hugh.http.OkHttpUtils
已过时。
发送Get请求
get(String, T) - 类 中的静态方法com.github.hugh.http.OkHttpUtils
已过时。
发送get请求
get(String, T, int) - 类 中的静态方法com.github.hugh.http.OkHttpUtils
已过时。
发送get请求
getByCookieReJsonObjects(String) - 类 中的静态方法com.github.hugh.http.OkHttpUtils
已过时。
发送带cookie 的get请求
getInstance() - 类 中的静态方法com.github.hugh.http.builder.HttpClient
获取 HttpClient 实例。
getMessage() - 类 中的方法com.github.hugh.http.builder.OkHttpsResponse
获取 HTTP 响应消息的字符串形式。
getOkHttpClient() - 类 中的方法com.github.hugh.http.builder.HttpClient
获取 OkHttpClient 实例。
getReJsonObjects(String) - 类 中的静态方法com.github.hugh.http.OkHttpUtils
已过时。
getReJsonObjects(String, T) - 类 中的静态方法com.github.hugh.http.OkHttpUtils
已过时。
getReJsonObjects(String, T, int) - 类 中的静态方法com.github.hugh.http.OkHttpUtils
已过时。

H

HttpClient - com.github.hugh.http.builder中的类
HttpClient 类封装了 OkHttp 的单例实现,提供 HTTP 请求相关功能。

I

IMAGE_GIF - 类 中的静态变量com.github.hugh.http.constant.MediaTypes
GIF 图片类型。
IMAGE_JPEG - 类 中的静态变量com.github.hugh.http.constant.MediaTypes
JPEG 图片类型。
IMAGE_PNG - 类 中的静态变量com.github.hugh.http.constant.MediaTypes
PNG 图片类型。
isSendCookie(boolean) - 类 中的方法com.github.hugh.http.builder.OkHttps
设置是否发送 cookie 的方法。

J

jsonParse(T) - 类 中的静态方法com.github.hugh.http.UrlUtils
将json中键值对拼接为url对应的参数

M

MediaTypes - com.github.hugh.http.constant中的类
定义常用的媒体类型和对应的值。
MediaTypes() - 类 的构造器com.github.hugh.http.constant.MediaTypes
 
MULTIPART_FORM_DATA - 类 中的静态变量com.github.hugh.http.constant.MediaTypes
multipart/form-data 类型,用于文件上传等场景。

O

OkHttpCode - com.github.hugh.http.constant中的类
okhttp 请求常量类
OkHttpCode() - 类 的构造器com.github.hugh.http.constant.OkHttpCode
 
OkHttps - com.github.hugh.http.builder中的类
封装OkHttp 工具类
OkHttps() - 类 的构造器com.github.hugh.http.builder.OkHttps
 
OkHttpsResponse - com.github.hugh.http.builder中的类
代表 OkHttp 客户端接收到的 HTTP 响应消息。
OkHttpsResponse() - 类 的构造器com.github.hugh.http.builder.OkHttpsResponse
 
OkHttpUtils - com.github.hugh.http中的类
已过时。

P

postForm(String) - 类 中的静态方法com.github.hugh.http.OkHttpUtils
已过时。
发送post表单请求
postForm(String, T) - 类 中的静态方法com.github.hugh.http.OkHttpUtils
已过时。
发送表单形式参数的POST
postForm(String, T, Map<String, String>) - 类 中的静态方法com.github.hugh.http.OkHttpUtils
已过时。
发送表单形式参数的POST
postForm(String, T, Map<String, String>, OkHttpClient) - 类 中的静态方法com.github.hugh.http.OkHttpUtils
已过时。
发送表单形式参数的POST
postForm(String, T, OkHttpClient) - 类 中的静态方法com.github.hugh.http.OkHttpUtils
已过时。
发送表单形式参数的POST
postFormCookie(String, P) - 类 中的静态方法com.github.hugh.http.OkHttpUtils
已过时。
发送表单形式参数的POST Content-Type:application/x-www-form-urlencoded 该方法为OkHttp管理Cookie,请求获取cookie接口后、将cookie存储至本地Map内存中
postFormReJsonObject(String, T) - 类 中的静态方法com.github.hugh.http.OkHttpUtils
已过时。
postFormReJsonObjects(String) - 类 中的静态方法com.github.hugh.http.OkHttpUtils
已过时。
postFormReJsonObjects(String, T) - 类 中的静态方法com.github.hugh.http.OkHttpUtils
已过时。
postJson(String, T) - 类 中的静态方法com.github.hugh.http.OkHttpUtils
已过时。
发送json形式参数的post请求
postJsonReJsonObjects(String) - 类 中的静态方法com.github.hugh.http.OkHttpUtils
已过时。
postJsonReJsonObjects(String, T) - 类 中的静态方法com.github.hugh.http.OkHttpUtils
已过时。

R

reJsons() - 类 中的方法com.github.hugh.http.builder.OkHttpsResponse
将 message 字符串转换为 Jsons 对象。

S

send(Request, OkHttpClient) - 类 中的静态方法com.github.hugh.http.OkHttpUtils
已过时。
统一发送请求
setBody(Object) - 类 中的方法com.github.hugh.http.builder.OkHttps
设置 HTTP 请求的请求体信息。
setConnectionPool(ConnectionPool) - 类 中的方法com.github.hugh.http.builder.OkHttps
设置连接池对象。
setConnectTimeout(int) - 类 中的方法com.github.hugh.http.builder.HttpClient
设置连接超时时间。
setConnectTimeout(int) - 类 中的方法com.github.hugh.http.builder.OkHttps
设置连接超时时间。
setFileFrom(FileFrom) - 类 中的方法com.github.hugh.http.builder.OkHttps
设置文件来源,使用单个 FileFrom 对象
setFileFrom(List<FileFrom>) - 类 中的方法com.github.hugh.http.builder.OkHttps
设置文件来源,使用一个包含多个 FileFrom 对象的列表
setHeader(Map<String, String>) - 类 中的方法com.github.hugh.http.builder.OkHttps
设置 HTTP 请求的请求头信息。
setOkHttpClient(OkHttpClient) - 类 中的方法com.github.hugh.http.builder.OkHttps
设置 OkHttpClient 对象。
setReadTimeout(int) - 类 中的方法com.github.hugh.http.builder.HttpClient
设置读取超时时间。
setReadTimeout(int) - 类 中的方法com.github.hugh.http.builder.OkHttps
设置读取超时时间。
setUrl(String) - 类 中的方法com.github.hugh.http.builder.OkHttps
设置请求的 URL,用于发起 HTTPS 请求。
setWriteTimeout(int) - 类 中的方法com.github.hugh.http.builder.HttpClient
设置写入超时时间。
setWriteTimeout(int) - 类 中的方法com.github.hugh.http.builder.OkHttps
设置写入超时时间。

T

TEXT_HTML - 类 中的静态变量com.github.hugh.http.constant.MediaTypes
HTML 类型。
TEXT_MARKDOWN - 类 中的静态变量com.github.hugh.http.constant.MediaTypes
Markdown 类型。
TEXT_PLAIN - 类 中的静态变量com.github.hugh.http.constant.MediaTypes
纯文本类型。
TEXT_XML - 类 中的静态变量com.github.hugh.http.constant.MediaTypes
XML 类型。
ToolboxHttpException - com.github.hugh.http.exception中的异常错误
工具箱 http请求异常类
ToolboxHttpException() - 异常错误 的构造器com.github.hugh.http.exception.ToolboxHttpException
 
ToolboxHttpException(String) - 异常错误 的构造器com.github.hugh.http.exception.ToolboxHttpException
 
ToolboxHttpException(String, Throwable) - 异常错误 的构造器com.github.hugh.http.exception.ToolboxHttpException
 
ToolboxHttpException(String, Throwable, boolean, boolean) - 异常错误 的构造器com.github.hugh.http.exception.ToolboxHttpException
 
ToolboxHttpException(Throwable) - 异常错误 的构造器com.github.hugh.http.exception.ToolboxHttpException
 

U

upload(String, Map<K, V>, String, Map<K, V>) - 类 中的静态方法com.github.hugh.http.OkHttpUtils
已过时。
上传文件方法
upload(String, Map<K, V>, String, Map<K, V>, MediaType) - 类 中的静态方法com.github.hugh.http.OkHttpUtils
已过时。
上传文件方法
uploadFile() - 类 中的方法com.github.hugh.http.builder.OkHttps
上传文件的方法
urlParam(String, T) - 类 中的静态方法com.github.hugh.http.UrlUtils
在url后拼接参数
UrlUtils - com.github.hugh.http中的类
url 工具类
UrlUtils() - 类 的构造器com.github.hugh.http.UrlUtils
 
A B C D F G H I J M O P R S T U 
所有类 所有程序包