跳过导航链接
A B C D E F G H I J L M O P Q R S T U V W X 

A

AbsHttpRequest<Req extends HttpRequest<Req>> - com.mzlion.easyokhttp.request中的类
2016-04-16 HttpRequest的抽象实现,实现了大部分方法.
accept(String) - 类 中的方法com.mzlion.easyokhttp.http.BasicHeader.StandardBuilder
 
ACCEPT - 接口 中的静态变量com.mzlion.easyokhttp.http.Header
The header Accept
ACCEPT_CHARSET - 接口 中的静态变量com.mzlion.easyokhttp.http.Header
The header Accept-Charset
ACCEPT_ENCODING - 接口 中的静态变量com.mzlion.easyokhttp.http.Header
The header Accept-Encoding
ACCEPT_LANGUAGE - 接口 中的静态变量com.mzlion.easyokhttp.http.Header
The header Accept-Language
ACCEPT_RANGES - 接口 中的静态变量com.mzlion.easyokhttp.http.Header
The header Accept-Ranges
acceptCharset(String) - 类 中的方法com.mzlion.easyokhttp.http.BasicHeader.StandardBuilder
 
acceptEncoding(String) - 类 中的方法com.mzlion.easyokhttp.http.BasicHeader.StandardBuilder
 
acceptLanguage(String) - 类 中的方法com.mzlion.easyokhttp.http.BasicHeader.StandardBuilder
 
acceptRanges(String) - 类 中的方法com.mzlion.easyokhttp.http.BasicHeader.StandardBuilder
 
add(HttpUrl, List<Cookie>) - 接口 中的方法com.mzlion.easyokhttp.cookie.CookieStore
为请求地址url增加Cookie
add(HttpUrl, List<Cookie>) - 类 中的方法com.mzlion.easyokhttp.cookie.MemoryCookieStore
 
addInterceptor(Interceptor) - 枚举 中的方法com.mzlion.easyokhttp.HttpClient
添加全局拦截器
age(String) - 类 中的方法com.mzlion.easyokhttp.http.BasicHeader.StandardBuilder
 
AGE - 接口 中的静态变量com.mzlion.easyokhttp.http.Header
The header Age
allow(String) - 类 中的方法com.mzlion.easyokhttp.http.BasicHeader.StandardBuilder
 
ALLOW - 接口 中的静态变量com.mzlion.easyokhttp.http.Header
The header Allow
asBean(Class<E>) - 类 中的方法com.mzlion.easyokhttp.request.AbsHttpRequest
将响应结果转为JavaBean对象
asBean(TypeRef<E>) - 类 中的方法com.mzlion.easyokhttp.request.AbsHttpRequest
将响应结果转为JavaBean对象 用法如下:Map<String,String> data = httpResponse.asBean(new TypeRef<Map<String,String>>);
asBean(Class<E>) - 类 中的方法com.mzlion.easyokhttp.response.HttpResponse
将响应结果转为JavaBean对象
asBean(TypeRef<E>) - 类 中的方法com.mzlion.easyokhttp.response.HttpResponse
将响应结果转为JavaBean对象 用法如下:Map<String,String> data = httpResponse.asBean(new TypeRef<Map<String,String>>);
asByteData() - 类 中的方法com.mzlion.easyokhttp.request.AbsHttpRequest
将响应结果转为字节数组
asByteData() - 类 中的方法com.mzlion.easyokhttp.response.HttpResponse
将响应结果转为字节数组
asFile(File) - 类 中的方法com.mzlion.easyokhttp.request.AbsHttpRequest
将响应结果输出到文件中
asFile(File) - 类 中的方法com.mzlion.easyokhttp.response.HttpResponse
将响应结果输出到文件中
asStream(OutputStream) - 类 中的方法com.mzlion.easyokhttp.request.AbsHttpRequest
将响应结果输出到输出流,并不会主动关闭输出流out
asStream(OutputStream) - 类 中的方法com.mzlion.easyokhttp.response.HttpResponse
将响应结果输出到输出流,并不会主动关闭输出流out
asString() - 类 中的方法com.mzlion.easyokhttp.request.AbsHttpRequest
将响应结果转为字符串
asString() - 类 中的方法com.mzlion.easyokhttp.response.HttpResponse
将响应结果转为字符串

B

BasicHeader - com.mzlion.easyokhttp.http中的类
消息头
BasicHeader(String, String) - 类 的构造器com.mzlion.easyokhttp.http.BasicHeader
 
BasicHeader.StandardBuilder - com.mzlion.easyokhttp.http中的类
标准的消息头Builder
binaryBody(String) - 枚举 中的静态方法com.mzlion.easyokhttp.HttpClient
向请求体中传入二进制流
BinaryBodyPostRequest - com.mzlion.easyokhttp.request中的类
2016-05-15 22:33 POST提交二进制流,服务端应该从Request请求体获取二进制流。
BinaryBodyPostRequest(String) - 类 的构造器com.mzlion.easyokhttp.request.BinaryBodyPostRequest
默认构造器
build() - 类 中的方法com.mzlion.easyokhttp.http.BasicHeader.StandardBuilder
 
build() - 类 中的方法com.mzlion.easyokhttp.http.FileWrapper.Builder
 
Builder() - 类 的构造器com.mzlion.easyokhttp.http.FileWrapper.Builder
 

C

CACHE_CONTROL - 接口 中的静态变量com.mzlion.easyokhttp.http.Header
The header Cache-Control
cacheControl(String) - 类 中的方法com.mzlion.easyokhttp.http.BasicHeader.StandardBuilder
 
Callback<T> - com.mzlion.easyokhttp.response.callback中的接口
异步请求的回调接口
CallbackAdaptor<T> - com.mzlion.easyokhttp.response.callback中的类
Callback的默认实现
CallbackAdaptor() - 类 的构造器com.mzlion.easyokhttp.response.callback.CallbackAdaptor
 
charset(String) - 类 中的方法com.mzlion.easyokhttp.request.TextBodyRequest
设置字符集
clearDefaultHeaders(String) - 枚举 中的方法com.mzlion.easyokhttp.HttpClient
清除默认参数
clone() - 类 中的方法com.mzlion.easyokhttp.http.BasicHeader
Clone it.
com.mzlion.easyokhttp - 程序包 com.mzlion.easyokhttp
 
com.mzlion.easyokhttp.cookie - 程序包 com.mzlion.easyokhttp.cookie
 
com.mzlion.easyokhttp.exception - 程序包 com.mzlion.easyokhttp.exception
 
com.mzlion.easyokhttp.http - 程序包 com.mzlion.easyokhttp.http
 
com.mzlion.easyokhttp.request - 程序包 com.mzlion.easyokhttp.request
 
com.mzlion.easyokhttp.response - 程序包 com.mzlion.easyokhttp.response
 
com.mzlion.easyokhttp.response.callback - 程序包 com.mzlion.easyokhttp.response.callback
 
com.mzlion.easyokhttp.response.handle - 程序包 com.mzlion.easyokhttp.response.handle
 
com.mzlion.easyokhttp.utils - 程序包 com.mzlion.easyokhttp.utils
 
connection(String) - 类 中的方法com.mzlion.easyokhttp.http.BasicHeader.StandardBuilder
 
CONNECTION - 接口 中的静态变量com.mzlion.easyokhttp.http.Header
The header Connection
connectTimeout(int, TimeUnit) - 枚举 中的方法com.mzlion.easyokhttp.HttpClient
设置连接超时时间
connectTimeout(int) - 枚举 中的方法com.mzlion.easyokhttp.HttpClient
设置连接超时时间
connectTimeout(int, TimeUnit) - 类 中的方法com.mzlion.easyokhttp.request.AbsHttpRequest
为构建本次HttpRequest设置单独连接超时时间。
connectTimeout(int) - 类 中的方法com.mzlion.easyokhttp.request.AbsHttpRequest
为构建本次HttpRequest设置单独连接超时时间。
connectTimeout(int, TimeUnit) - 接口 中的方法com.mzlion.easyokhttp.request.HttpRequest
为构建本次HttpRequest设置单独连接超时时间。
connectTimeout(int) - 接口 中的方法com.mzlion.easyokhttp.request.HttpRequest
为构建本次HttpRequest设置单独连接超时时间。
CONTENT_DISPOSITION - 接口 中的静态变量com.mzlion.easyokhttp.http.Header
The header Content-Disposition
CONTENT_ENCODING - 接口 中的静态变量com.mzlion.easyokhttp.http.Header
The header Content-Encoding
CONTENT_LANGUAGE - 接口 中的静态变量com.mzlion.easyokhttp.http.Header
The header Content-Language
CONTENT_LENGTH - 接口 中的静态变量com.mzlion.easyokhttp.http.Header
The header Content-Length
CONTENT_LOCATION - 接口 中的静态变量com.mzlion.easyokhttp.http.Header
The header Content-Location
CONTENT_MD5 - 接口 中的静态变量com.mzlion.easyokhttp.http.Header
The header Content-MD5
CONTENT_RANGE - 接口 中的静态变量com.mzlion.easyokhttp.http.Header
The header Content-Range
CONTENT_TYPE - 接口 中的静态变量com.mzlion.easyokhttp.http.Header
The header Content-Type
contentDisposition(String) - 类 中的方法com.mzlion.easyokhttp.http.BasicHeader.StandardBuilder
 
contentEncoding(String) - 类 中的方法com.mzlion.easyokhttp.http.BasicHeader.StandardBuilder
 
contentLanguage(String) - 类 中的方法com.mzlion.easyokhttp.http.BasicHeader.StandardBuilder
 
contentLength(String) - 类 中的方法com.mzlion.easyokhttp.http.BasicHeader.StandardBuilder
 
contentLength() - 类 中的方法com.mzlion.easyokhttp.http.FileRequestBody
Returns the number of bytes that will be written to out in a call to FileRequestBody.writeTo(okio.BufferedSink), or -1 if that count is unknown.
contentLength() - 类 中的方法com.mzlion.easyokhttp.http.InputStreamRequestBody
Returns the number of bytes that will be written to out in a call to InputStreamRequestBody.writeTo(okio.BufferedSink), or -1 if that count is unknown.
contentLength() - 类 中的方法com.mzlion.easyokhttp.http.ProcessRequestBody
Returns the number of bytes that will be written to out in a call to ProcessRequestBody.writeTo(okio.BufferedSink), or -1 if that count is unknown.
contentLocation(String) - 类 中的方法com.mzlion.easyokhttp.http.BasicHeader.StandardBuilder
 
contentMD5(String) - 类 中的方法com.mzlion.easyokhttp.http.BasicHeader.StandardBuilder
 
contentRange(String) - 类 中的方法com.mzlion.easyokhttp.http.BasicHeader.StandardBuilder
 
contentType(String) - 类 中的方法com.mzlion.easyokhttp.http.BasicHeader.StandardBuilder
 
contentType() - 类 中的方法com.mzlion.easyokhttp.http.FileRequestBody
Returns the Content-Type header for this body.
contentType(String) - 类 中的方法com.mzlion.easyokhttp.http.FileWrapper.Builder
 
contentType() - 类 中的方法com.mzlion.easyokhttp.http.InputStreamRequestBody
Returns the Content-Type header for this body.
contentType() - 类 中的方法com.mzlion.easyokhttp.http.ProcessRequestBody
Returns the Content-Type header for this body.
contentType(String) - 类 中的方法com.mzlion.easyokhttp.request.BinaryBodyPostRequest
设置请求内容类型
contentType(ContentType) - 类 中的方法com.mzlion.easyokhttp.request.BinaryBodyPostRequest
设置请求内容类型
CookieStore - com.mzlion.easyokhttp.cookie中的接口
定义Cookie存储机制
create() - 类 中的静态方法com.mzlion.easyokhttp.http.BasicHeader.StandardBuilder
 
create() - 类 中的静态方法com.mzlion.easyokhttp.http.FileWrapper
 
create() - 类 中的静态方法com.mzlion.easyokhttp.response.handle.StringDataHandler
返回字符串数据处理器
custom(DataHandler<T>) - 类 中的方法com.mzlion.easyokhttp.response.HttpResponse
响应结果转换
customSSL(InputStream...) - 枚举 中的方法com.mzlion.easyokhttp.HttpClient
https单向认证
customSSL(X509TrustManager) - 枚举 中的方法com.mzlion.easyokhttp.HttpClient
https单向认证,直接配置证书管理
customSSL(InputStream, char[], InputStream...) - 枚举 中的方法com.mzlion.easyokhttp.HttpClient
https双向认证
customSSL(InputStream, char[], X509TrustManager) - 枚举 中的方法com.mzlion.easyokhttp.HttpClient
https双向认证
customSSL(InputStream...) - 类 中的方法com.mzlion.easyokhttp.request.AbsHttpRequest
为构建本次HttpRequest设置单独SSL证书
customSSL(X509TrustManager) - 类 中的方法com.mzlion.easyokhttp.request.AbsHttpRequest
为构建本次HttpRequest设置SSL单向认证
customSSL(InputStream, char[], InputStream...) - 类 中的方法com.mzlion.easyokhttp.request.AbsHttpRequest
SSL双向认证
customSSL(InputStream, char[], X509TrustManager) - 类 中的方法com.mzlion.easyokhttp.request.AbsHttpRequest
SSL双向认证
customSSL(InputStream...) - 接口 中的方法com.mzlion.easyokhttp.request.HttpRequest
为构建本次HttpRequest设置SSL单向认证
customSSL(X509TrustManager) - 接口 中的方法com.mzlion.easyokhttp.request.HttpRequest
为构建本次HttpRequest设置SSL单向认证
customSSL(InputStream, char[], InputStream...) - 接口 中的方法com.mzlion.easyokhttp.request.HttpRequest
SSL双向认证
customSSL(InputStream, char[], X509TrustManager) - 接口 中的方法com.mzlion.easyokhttp.request.HttpRequest
SSL双向认证

D

DataHandler<T> - com.mzlion.easyokhttp.response.handle中的接口
数据处理定义接口,将得到的响应结果转为所需的数据
debugLog() - 枚举 中的方法com.mzlion.easyokhttp.HttpClient
调试模式,默认打印请求参数和响应结果
debugLog(DebugLoggingInterceptor.Level) - 枚举 中的方法com.mzlion.easyokhttp.HttpClient
调试模式,自定义设置日志级别
DebugLoggingInterceptor - com.mzlion.easyokhttp.http中的枚举
日志打印
DebugLoggingInterceptor.Level - com.mzlion.easyokhttp.http中的枚举
定义日志打印级别
DEFAULT_TIMEOUT - 枚举 中的静态变量com.mzlion.easyokhttp.HttpClient
 
DefaultCookieJar - com.mzlion.easyokhttp.cookie中的类
默认的Cookie处理,自动管理用户的Cookie.
DefaultCookieJar(CookieStore) - 类 的构造器com.mzlion.easyokhttp.cookie.DefaultCookieJar
 

E

EMPTY_CALLBACK - 接口 中的静态变量com.mzlion.easyokhttp.response.callback.Callback
空实现
execute() - 类 中的方法com.mzlion.easyokhttp.request.AbsHttpRequest
执行HTTP请求,获取响应结果
execute(Callback<T>) - 类 中的方法com.mzlion.easyokhttp.request.AbsHttpRequest
异步执行请求
execute() - 接口 中的方法com.mzlion.easyokhttp.request.HttpRequest
执行HTTP请求,获取响应结果
execute(Callback<E>) - 接口 中的方法com.mzlion.easyokhttp.request.HttpRequest
异步执行HTTP请求,

F

file(File) - 类 中的方法com.mzlion.easyokhttp.http.FileWrapper.Builder
 
file(File) - 类 中的方法com.mzlion.easyokhttp.request.BinaryBodyPostRequest
设置文件,转为文件流
FileDataHandler - com.mzlion.easyokhttp.response.handle中的类
文件处理器,一般用于从远程下载资源(如图片、报表等) 支持自动获取文件名,也支持自定义文件名
FileDataHandler(String) - 类 的构造器com.mzlion.easyokhttp.response.handle.FileDataHandler
 
FileDataHandler(String, String) - 类 的构造器com.mzlion.easyokhttp.response.handle.FileDataHandler
 
filename(String) - 类 中的方法com.mzlion.easyokhttp.http.FileWrapper.Builder
 
FileRequestBody - com.mzlion.easyokhttp.http中的类
文件请求对象
FileRequestBody(File, MediaType) - 类 的构造器com.mzlion.easyokhttp.http.FileRequestBody
 
FileWrapper - com.mzlion.easyokhttp.http中的类
文件包装类
FileWrapper.Builder - com.mzlion.easyokhttp.http中的类
 

G

generateRequest(RequestBody) - 类 中的方法com.mzlion.easyokhttp.request.AbsHttpRequest
根据不同的请求方式,将RequestBody转换成Request对象
generateRequest(RequestBody) - 类 中的方法com.mzlion.easyokhttp.request.GetRequest
根据不同的请求方式,将RequestBody转换成Request对象
generateRequestBody() - 类 中的方法com.mzlion.easyokhttp.request.AbsHttpRequest
获取RequestBody对象
generateRequestBody() - 类 中的方法com.mzlion.easyokhttp.request.BinaryBodyPostRequest
获取RequestBody对象
generateRequestBody() - 类 中的方法com.mzlion.easyokhttp.request.GetRequest
获取RequestBody对象
generateRequestBody() - 类 中的方法com.mzlion.easyokhttp.request.PostRequest
获取RequestBody对象
generateRequestBody() - 类 中的方法com.mzlion.easyokhttp.request.TextBodyRequest
获取RequestBody对象
get(HttpUrl) - 接口 中的方法com.mzlion.easyokhttp.cookie.CookieStore
获取某个请求地址的Cookie列表
get(HttpUrl) - 类 中的方法com.mzlion.easyokhttp.cookie.MemoryCookieStore
 
get(String) - 枚举 中的静态方法com.mzlion.easyokhttp.HttpClient
Get请求
getAcceptLanguage() - 类 中的静态方法com.mzlion.easyokhttp.utils.Utils
客户端语言
getCharset() - 类 中的方法com.mzlion.easyokhttp.response.handle.StringDataHandler
获取字符编码
getCookies() - 接口 中的方法com.mzlion.easyokhttp.cookie.CookieStore
获取所有Cookie列表
getCookies() - 类 中的方法com.mzlion.easyokhttp.cookie.MemoryCookieStore
 
getCookieStore() - 枚举 中的方法com.mzlion.easyokhttp.HttpClient
返回CookieStore实现类
getDataHandler() - 接口 中的方法com.mzlion.easyokhttp.response.callback.Callback
获取数据处理器,用于解析转换响应结果
getDataHandler() - 类 中的方法com.mzlion.easyokhttp.response.callback.CallbackAdaptor
获取数据处理器,用于解析转换响应结果
getDefaultHeaders(String) - 枚举 中的方法com.mzlion.easyokhttp.HttpClient
获取默认的Http Header列表
getDefaultHeaders(HttpUrl) - 枚举 中的方法com.mzlion.easyokhttp.HttpClient
获取默认的Http Header列表
getDelegateClass() - 类 中的方法com.mzlion.easyokhttp.response.handle.JsonDataHandler
 
getDirPath() - 类 中的方法com.mzlion.easyokhttp.response.handle.FileDataHandler
返回保存的文件目录
getErrorCode() - 类 中的方法com.mzlion.easyokhttp.response.HttpResponse
请求失败时的HTTP Status Code
getErrorMessage() - 类 中的方法com.mzlion.easyokhttp.response.HttpResponse
请求失败时错误消息
getFilename() - 类 中的方法com.mzlion.easyokhttp.http.FileWrapper
 
getFilename() - 类 中的方法com.mzlion.easyokhttp.response.handle.FileDataHandler
返回保存的文件名
getFilename(Response) - 类 中的静态方法com.mzlion.easyokhttp.utils.Utils
根据响应头或url获取文件名,当都无法获取时则根据url生成MD5值
getName() - 类 中的方法com.mzlion.easyokhttp.http.BasicHeader
Get the name of the Header.
getName() - 接口 中的方法com.mzlion.easyokhttp.http.Header
Get the name of the Header.
getOkHttpClient() - 枚举 中的方法com.mzlion.easyokhttp.HttpClient
返回OkHttpClient对象
getOkHttpClientBuilder() - 枚举 中的方法com.mzlion.easyokhttp.HttpClient
 
GetRequest - com.mzlion.easyokhttp.request中的类
2016-04-16 HTTP的GET请求对象
GetRequest(String) - 类 的构造器com.mzlion.easyokhttp.request.GetRequest
构造GET请求对象
getSslSocketFactory() - 类 中的方法com.mzlion.easyokhttp.utils.SSLContexts.SSLConfig
 
getStatusCode() - 异常错误 中的方法com.mzlion.easyokhttp.exception.HttpStatusCodeException
请求失败时的HTTP Status Code
getStatusMessage() - 异常错误 中的方法com.mzlion.easyokhttp.exception.HttpStatusCodeException
请求失败时错误消息
getTypeRef() - 类 中的方法com.mzlion.easyokhttp.response.handle.JsonDataHandler
 
getUrl() - 异常错误 中的方法com.mzlion.easyokhttp.exception.HttpStatusCodeException
返回请求地址
getUserAgent() - 类 中的静态方法com.mzlion.easyokhttp.utils.Utils
获取UA
getValue() - 类 中的方法com.mzlion.easyokhttp.http.BasicHeader
Get the value of the Header.
getValue() - 接口 中的方法com.mzlion.easyokhttp.http.Header
Get the value of the Header.
getX509TrustManager() - 类 中的方法com.mzlion.easyokhttp.utils.SSLContexts.SSLConfig
 
guessMediaType(String) - 类 中的静态方法com.mzlion.easyokhttp.utils.Utils
猜测文件的MIME类型

H

handle(Response) - 接口 中的方法com.mzlion.easyokhttp.response.handle.DataHandler
得到相应结果后,将相应数据转为需要的数据格式
handle(Response) - 类 中的方法com.mzlion.easyokhttp.response.handle.FileDataHandler
得到相应结果后,将相应数据转为需要的数据格式
handle(Response) - 类 中的方法com.mzlion.easyokhttp.response.handle.JsonDataHandler
得到相应结果后,将相应数据转为需要的数据格式
handle(Response) - 类 中的方法com.mzlion.easyokhttp.response.handle.StringDataHandler
得到相应结果后,将相应数据转为需要的数据格式
Header - com.mzlion.easyokhttp.http中的接口
HTTP header对象
header(String, String) - 类 中的方法com.mzlion.easyokhttp.request.AbsHttpRequest
添加请求头信息
header(String, String) - 接口 中的方法com.mzlion.easyokhttp.request.HttpRequest
添加请求头信息
html(String) - 类 中的方法com.mzlion.easyokhttp.request.TextBodyRequest
POST提交一段html代码
HttpClient - com.mzlion.easyokhttp中的枚举
HttpClient是对OkHttpClient封装,提供更便捷的网络操作。
HttpClientConfigException - com.mzlion.easyokhttp.exception中的异常错误
配置HttpClient异常
HttpClientConfigException(Throwable) - 异常错误 的构造器com.mzlion.easyokhttp.exception.HttpClientConfigException
 
HttpClientConfigException(String) - 异常错误 的构造器com.mzlion.easyokhttp.exception.HttpClientConfigException
 
HttpClientException - com.mzlion.easyokhttp.exception中的异常错误
HttpClient执行过程的异常
HttpClientException() - 异常错误 的构造器com.mzlion.easyokhttp.exception.HttpClientException
Constructs a new runtime exception with null as its detail message.
HttpClientException(String) - 异常错误 的构造器com.mzlion.easyokhttp.exception.HttpClientException
Constructs a new runtime exception with the specified detail message.
HttpClientException(Throwable) - 异常错误 的构造器com.mzlion.easyokhttp.exception.HttpClientException
Constructs a new runtime exception with the specified cause and a detail message of (cause==null ?
HttpRequest<Req extends HttpRequest<Req>> - com.mzlion.easyokhttp.request中的接口
2016-04-16 构建HTTP的请求对象,接口中的大部分方法均返回接口本身便于链式写法.
HttpResponse - com.mzlion.easyokhttp.response中的类
Http响应结果处理类,通过HttpResponse.isSuccess()可以得知服务器是否是200返回。
HttpResponse() - 类 的构造器com.mzlion.easyokhttp.response.HttpResponse
 
HttpStatusCodeException - com.mzlion.easyokhttp.exception中的异常错误
Http Status Code exception,当code不是200时则会跑出本异常信息
HttpStatusCodeException(String, int, String) - 异常错误 的构造器com.mzlion.easyokhttp.exception.HttpStatusCodeException
 

I

InputStreamRequestBody - com.mzlion.easyokhttp.http中的类
Created by TM on 2016/12/9.
InputStreamRequestBody(InputStream, MediaType) - 类 的构造器com.mzlion.easyokhttp.http.InputStreamRequestBody
 
intercept(Interceptor.Chain) - 枚举 中的方法com.mzlion.easyokhttp.http.DebugLoggingInterceptor
 
isMultipart(boolean) - 类 中的方法com.mzlion.easyokhttp.request.PostRequest
是否强制开启文件上传(multipart/form-data),如果框架检测到有文件上传则该方法设置无效
isSuccess() - 类 中的方法com.mzlion.easyokhttp.response.HttpResponse
判断请求是否成功

J

javascript(String) - 类 中的方法com.mzlion.easyokhttp.request.TextBodyRequest
POST提交一段javascript代码
json(String) - 类 中的方法com.mzlion.easyokhttp.request.TextBodyRequest
POST提交一段json字符串
json(Object) - 类 中的方法com.mzlion.easyokhttp.request.TextBodyRequest
POST提交一段json字符串
JsonDataHandler<T> - com.mzlion.easyokhttp.response.handle中的类
JSON处理器,将得到的JSON字符串转为JavaBean.主要必须指定delegateClasstypeRef其中一个值,否则返回结果为null
JsonDataHandler() - 类 的构造器com.mzlion.easyokhttp.response.handle.JsonDataHandler
 
JsonDataHandler(Class<T>) - 类 的构造器com.mzlion.easyokhttp.response.handle.JsonDataHandler
 
JsonDataHandler(TypeRef<T>) - 类 的构造器com.mzlion.easyokhttp.response.handle.JsonDataHandler
 
JsonDataHandler(Class<T>, TypeRef<T>) - 类 的构造器com.mzlion.easyokhttp.response.handle.JsonDataHandler
 

L

loadForRequest(HttpUrl) - 类 中的方法com.mzlion.easyokhttp.cookie.DefaultCookieJar
 
logger - 类 中的变量com.mzlion.easyokhttp.request.AbsHttpRequest
 

M

mediaType(MediaType) - 类 中的方法com.mzlion.easyokhttp.http.FileWrapper.Builder
 
MemoryCookieStore - com.mzlion.easyokhttp.cookie中的类
内存缓存Cookie
MemoryCookieStore() - 类 的构造器com.mzlion.easyokhttp.cookie.MemoryCookieStore
 

O

onBefore(AbsHttpRequest) - 接口 中的方法com.mzlion.easyokhttp.response.callback.Callback
在请求前调用,在这里可以设置一些参数
onBefore(AbsHttpRequest) - 类 中的方法com.mzlion.easyokhttp.response.callback.CallbackAdaptor
在请求前调用,在这里可以设置一些参数
onComplete(Response) - 接口 中的方法com.mzlion.easyokhttp.response.callback.Callback
请求完成调用
onComplete(Response) - 类 中的方法com.mzlion.easyokhttp.response.callback.CallbackAdaptor
请求完成调用
onError(Call, Exception) - 接口 中的方法com.mzlion.easyokhttp.response.callback.Callback
请求失败调用
onError(Call, Exception) - 类 中的方法com.mzlion.easyokhttp.response.callback.CallbackAdaptor
请求失败调用
onRequestProgress(long, long) - 接口 中的方法com.mzlion.easyokhttp.http.ProcessRequestBody.Listener
 
onSuccess(T) - 接口 中的方法com.mzlion.easyokhttp.response.callback.Callback
根据数据处理器得到处理结果,调用者直接使用处理后的数据 如果Callback.getDataHandler()返回nulldata也为null
onSuccess(T) - 类 中的方法com.mzlion.easyokhttp.response.callback.CallbackAdaptor
根据数据处理器得到处理结果,调用者直接使用处理后的数据 如果CallbackAdaptor.getDataHandler()返回nulldata也为null

P

param(String, String) - 类 中的方法com.mzlion.easyokhttp.request.PostRequest
设置提交的请求参数及其值
param(String, String, boolean) - 类 中的方法com.mzlion.easyokhttp.request.PostRequest
设置提交的请求参数及其值
param(Map<String, String>) - 类 中的方法com.mzlion.easyokhttp.request.PostRequest
设置提交的请求参数及其值
param(String, File) - 类 中的方法com.mzlion.easyokhttp.request.PostRequest
设置提交的文件
param(String, File, String) - 类 中的方法com.mzlion.easyokhttp.request.PostRequest
设置提交的文件
param(String, InputStream, String) - 类 中的方法com.mzlion.easyokhttp.request.PostRequest
设置提交的文件
post(String) - 枚举 中的静态方法com.mzlion.easyokhttp.HttpClient
FORM/POST表单提交
postProgress(long, long, float) - 接口 中的方法com.mzlion.easyokhttp.response.callback.Callback
上传请求调用
postProgress(long, long, float) - 类 中的方法com.mzlion.easyokhttp.response.callback.CallbackAdaptor
上传请求调用
PostRequest - com.mzlion.easyokhttp.request中的类
实现表单提交
PostRequest(String) - 类 的构造器com.mzlion.easyokhttp.request.PostRequest
 
ProcessRequestBody - com.mzlion.easyokhttp.http中的类
处理提交进度,一般对有进度展示需求的有用
ProcessRequestBody(RequestBody, ProcessRequestBody.Listener) - 类 的构造器com.mzlion.easyokhttp.http.ProcessRequestBody
 
ProcessRequestBody.Listener - com.mzlion.easyokhttp.http中的接口
回调接口

Q

queryString(String, Number) - 类 中的方法com.mzlion.easyokhttp.request.AbsHttpRequest
为url地址设置请求参数,即url?
queryString(String, String) - 类 中的方法com.mzlion.easyokhttp.request.AbsHttpRequest
为url地址设置请求参数,即url?
queryString(String, String, boolean) - 类 中的方法com.mzlion.easyokhttp.request.AbsHttpRequest
为url地址设置请求参数,即url?
queryString(Map<String, String>) - 类 中的方法com.mzlion.easyokhttp.request.AbsHttpRequest
为url地址设置请求参数,即url?
queryString(String, Number) - 接口 中的方法com.mzlion.easyokhttp.request.HttpRequest
为url地址设置请求参数,即url?
queryString(String, String) - 接口 中的方法com.mzlion.easyokhttp.request.HttpRequest
为url地址设置请求参数,即url?
queryString(String, String, boolean) - 接口 中的方法com.mzlion.easyokhttp.request.HttpRequest
为url地址设置请求参数,即url?
queryString(Map<String, String>) - 接口 中的方法com.mzlion.easyokhttp.request.HttpRequest
为url地址设置请求参数,即url?

R

readTimeout(int, TimeUnit) - 枚举 中的方法com.mzlion.easyokhttp.HttpClient
设置流读取超时时间
readTimeout(int) - 枚举 中的方法com.mzlion.easyokhttp.HttpClient
设置流读取超时时间
readTimeout(int, TimeUnit) - 类 中的方法com.mzlion.easyokhttp.request.AbsHttpRequest
为构建本次HttpRequest设置单独读取流超时。
readTimeout(int) - 类 中的方法com.mzlion.easyokhttp.request.AbsHttpRequest
为构建本次HttpRequest设置单独读取流超时。
readTimeout(int, TimeUnit) - 接口 中的方法com.mzlion.easyokhttp.request.HttpRequest
为构建本次HttpRequest设置单独读取流超时。
readTimeout(int) - 接口 中的方法com.mzlion.easyokhttp.request.HttpRequest
为构建本次HttpRequest设置单独读取流超时。
remove(HttpUrl, Cookie) - 接口 中的方法com.mzlion.easyokhttp.cookie.CookieStore
删除请求的某个Cookie
remove(HttpUrl, Cookie) - 类 中的方法com.mzlion.easyokhttp.cookie.MemoryCookieStore
 
removeAll() - 接口 中的方法com.mzlion.easyokhttp.cookie.CookieStore
清空所有Cookie列表
removeAll() - 类 中的方法com.mzlion.easyokhttp.cookie.MemoryCookieStore
 
removeHeader(String) - 类 中的方法com.mzlion.easyokhttp.request.AbsHttpRequest
从请求头中移除键值
removeHeader(String) - 接口 中的方法com.mzlion.easyokhttp.request.HttpRequest
从请求头中移除键值
requestBody() - 类 中的方法com.mzlion.easyokhttp.http.FileWrapper
 

S

saveFromResponse(HttpUrl, List<Cookie>) - 类 中的方法com.mzlion.easyokhttp.cookie.DefaultCookieJar
 
setAcceptLanguage(String) - 类 中的静态方法com.mzlion.easyokhttp.utils.Utils
自定义客户端语言
setCharset(Charset) - 类 中的方法com.mzlion.easyokhttp.response.handle.StringDataHandler
设置字符编码
setCookieStore(CookieStore) - 枚举 中的方法com.mzlion.easyokhttp.HttpClient
提供自己管理Cookie的能力
setDefaultHeader(String, String, String) - 枚举 中的方法com.mzlion.easyokhttp.HttpClient
设置默认的Http Header
setDelegateClass(Class<T>) - 类 中的方法com.mzlion.easyokhttp.response.handle.JsonDataHandler
 
setErrorCode(int) - 类 中的方法com.mzlion.easyokhttp.response.HttpResponse
 
setErrorMessage(String) - 类 中的方法com.mzlion.easyokhttp.response.HttpResponse
 
setFilename(String) - 类 中的方法com.mzlion.easyokhttp.response.handle.FileDataHandler
设置保存的文件名
setLoggingLevel(DebugLoggingInterceptor.Level) - 枚举 中的方法com.mzlion.easyokhttp.http.DebugLoggingInterceptor
 
setRawResponse(Response) - 类 中的方法com.mzlion.easyokhttp.response.HttpResponse
 
setSuccess(boolean) - 类 中的方法com.mzlion.easyokhttp.response.HttpResponse
 
setTypeRef(TypeRef<T>) - 类 中的方法com.mzlion.easyokhttp.response.handle.JsonDataHandler
 
SSLConfig() - 类 的构造器com.mzlion.easyokhttp.utils.SSLContexts.SSLConfig
 
SSLContexts - com.mzlion.easyokhttp.utils中的类
SSL证书
SSLContexts() - 类 的构造器com.mzlion.easyokhttp.utils.SSLContexts
 
SSLContexts.SSLConfig - com.mzlion.easyokhttp.utils中的类
 
standard() - 类 中的静态方法com.mzlion.easyokhttp.http.BasicHeader
 
stream(InputStream) - 类 中的方法com.mzlion.easyokhttp.http.FileWrapper.Builder
 
stream(InputStream) - 类 中的方法com.mzlion.easyokhttp.request.BinaryBodyPostRequest
设置二进制流
StringDataHandler - com.mzlion.easyokhttp.response.handle中的类
字符串数据处理器
StringDataHandler() - 类 的构造器com.mzlion.easyokhttp.response.handle.StringDataHandler
 

T

text(String) - 类 中的方法com.mzlion.easyokhttp.request.TextBodyRequest
POST提交一段j文本内容
textBody(String) - 枚举 中的静态方法com.mzlion.easyokhttp.HttpClient
文本POST请求体
TextBodyRequest - com.mzlion.easyokhttp.request中的类
提交文本字符串,服务端应该从Request请求体获取文本字符串。
TextBodyRequest(String) - 类 的构造器com.mzlion.easyokhttp.request.TextBodyRequest
默认构造器
toString() - 类 中的方法com.mzlion.easyokhttp.http.BasicHeader
Represent standard headeroutput
TRANSFER_ENCODING - 接口 中的静态变量com.mzlion.easyokhttp.http.Header
The header Transfer-Encoding
tryParse(InputStream[], X509TrustManager, InputStream, char[]) - 类 中的静态方法com.mzlion.easyokhttp.utils.SSLContexts
尝试解析SSL证书

U

url - 类 中的变量com.mzlion.easyokhttp.request.AbsHttpRequest
 
url(String) - 类 中的方法com.mzlion.easyokhttp.request.AbsHttpRequest
设置请求地址
url(String) - 接口 中的方法com.mzlion.easyokhttp.request.HttpRequest
设置请求地址
urlEncode(String) - 类 中的静态方法com.mzlion.easyokhttp.utils.Utils
对URL中的请求参数UTF-8编码
USER_AGENT - 接口 中的静态变量com.mzlion.easyokhttp.http.Header
The header User-Agent
userAgent(String) - 类 中的方法com.mzlion.easyokhttp.http.BasicHeader.StandardBuilder
 
Utils - com.mzlion.easyokhttp.utils中的类
项目的工具类
Utils() - 类 的构造器com.mzlion.easyokhttp.utils.Utils
 

V

valueOf(String) - 枚举 中的静态方法com.mzlion.easyokhttp.http.DebugLoggingInterceptor.Level
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.mzlion.easyokhttp.http.DebugLoggingInterceptor
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.mzlion.easyokhttp.HttpClient
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法com.mzlion.easyokhttp.http.DebugLoggingInterceptor.Level
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.mzlion.easyokhttp.http.DebugLoggingInterceptor
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.mzlion.easyokhttp.HttpClient
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。

W

writeTimeout(int, TimeUnit) - 枚举 中的方法com.mzlion.easyokhttp.HttpClient
设置流的写入超时时间
writeTimeout(int) - 枚举 中的方法com.mzlion.easyokhttp.HttpClient
设置流的写入超时时间
writeTimeout(int, TimeUnit) - 类 中的方法com.mzlion.easyokhttp.request.AbsHttpRequest
为构建本次HttpRequest设置单独写入流超时。
writeTimeout(int) - 类 中的方法com.mzlion.easyokhttp.request.AbsHttpRequest
为构建本次HttpRequest设置单独写入流超时。
writeTimeout(int, TimeUnit) - 接口 中的方法com.mzlion.easyokhttp.request.HttpRequest
为构建本次HttpRequest设置单独写入流超时。
writeTimeout(int) - 接口 中的方法com.mzlion.easyokhttp.request.HttpRequest
为构建本次HttpRequest设置单独写入流超时。
writeTo(BufferedSink) - 类 中的方法com.mzlion.easyokhttp.http.FileRequestBody
Writes the content of this request to out.
writeTo(BufferedSink) - 类 中的方法com.mzlion.easyokhttp.http.InputStreamRequestBody
Writes the content of this request to out.
writeTo(BufferedSink) - 类 中的方法com.mzlion.easyokhttp.http.ProcessRequestBody
Writes the content of this request to out.

X

xml(String) - 类 中的方法com.mzlion.easyokhttp.request.TextBodyRequest
POST提交一段xml代码
A B C D E F G H I J L M O P Q R S T U V W X 

Copyright © 2017. All rights reserved.