跳过导航链接
A B C D E F G H I L O P R S V W 

A

addDownloadProgressListener(PromiseRequest.OnProgressChanged) - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
下载进度反馈
addSharedHeader(String, String) - 类 中的方法cn.yerl.android.promise.http.PromiseHttp
为所有的请求都添加一个Header
addSharedHeaders(Map<String, String>) - 类 中的方法cn.yerl.android.promise.http.PromiseHttp
为所有请求都添加Headers

B

binaryBody - 类 中的变量cn.yerl.android.promise.http.PromiseRequest
 
bodyParams - 类 中的变量cn.yerl.android.promise.http.PromiseRequest
 

C

cancel() - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
取消请求
clearBodeParams() - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
清除所有Body参数
clearCookies() - 类 中的方法cn.yerl.android.promise.http.PromiseHttp
 
clearHeaders() - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
移除所有Header
clearPathParams() - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
清除所有Path参数
clearQueryParams() - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
清除所有URL参数
client() - 类 中的静态方法cn.yerl.android.promise.http.PromiseHttp
PromiseHttp 单例
cn.yerl.android.promise.http - 程序包 cn.yerl.android.promise.http
 
cn.yerl.android.promise.http.logger - 程序包 cn.yerl.android.promise.http.logger
 

D

DELETE(String) - 类 中的静态方法cn.yerl.android.promise.http.PromiseRequest
生成一个Http DELETE请求
download(PromiseRequest) - 类 中的方法cn.yerl.android.promise.http.PromiseHttp
执行下载请求 所有的下载请求都使用这个方法来执行,非下载请求使用execute

E

error(PromiseHttp, PromiseRequest, Throwable) - 接口 中的方法cn.yerl.android.promise.http.logger.ILogger
记录异常
execute(PromiseRequest) - 类 中的方法cn.yerl.android.promise.http.PromiseHttp
执行网络请求 非下载请求,全部使用这个方法来执行

F

FileLogger - cn.yerl.android.promise.http.logger中的类
Http 文件日志 Created by Alan Yeh on 2016/12/27.
FileLogger(File) - 类 的构造器cn.yerl.android.promise.http.logger.FileLogger
创建文件日志

G

GET(String) - 类 中的静态方法cn.yerl.android.promise.http.PromiseRequest
生成一个Http Get请求
getBaseUrl() - 类 中的方法cn.yerl.android.promise.http.PromiseHttp
 
getBinaryBody() - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
获取 Binary Body
getBodyParams() - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
获取Body参数
getCachePath() - 类 中的方法cn.yerl.android.promise.http.PromiseHttp
 
getConnectTimeout() - 类 中的方法cn.yerl.android.promise.http.PromiseHttp
 
getCookieStore() - 类 中的方法cn.yerl.android.promise.http.PromiseHttp
获取Cookies
getCreateTime() - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
获取请求创建时间
getCreateTime() - 类 中的方法cn.yerl.android.promise.http.PromiseResponse
获取Response的创建时间
getEncoding() - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
获取请求编码
getHeaders() - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
获取Header
getHeaders() - 类 中的方法cn.yerl.android.promise.http.PromiseResponse
获取Response Header
getMethod() - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
获取Http Method
getPathParams() - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
获取Path参数
getQueryParams() - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
获取URL参数
getRawBody() - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
获取 Raw Body
getRequest(PromiseHttp, ResponseHandlerInterface) - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
 
getRequest() - 类 中的方法cn.yerl.android.promise.http.PromiseResponse
获取请求
getResponse() - 异常错误 中的方法cn.yerl.android.promise.http.PromiseHttpException
HttpResponse
getResponseFile() - 类 中的方法cn.yerl.android.promise.http.PromiseResponse
获取Response File 下载请求的结果
getResponseString() - 类 中的方法cn.yerl.android.promise.http.PromiseResponse
获取Response String 非下载请求的结果
getResponseTimeout() - 类 中的方法cn.yerl.android.promise.http.PromiseHttp
 
getSharedHeaders() - 类 中的方法cn.yerl.android.promise.http.PromiseHttp
 
getStatusCode() - 类 中的方法cn.yerl.android.promise.http.PromiseResponse
获取Response Status
getUrlString() - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
获取请求地址

H

HEAD(String) - 类 中的静态方法cn.yerl.android.promise.http.PromiseRequest
生成一个Http HEAD请求

I

ILogger - cn.yerl.android.promise.http.logger中的接口
日志记录 Created by Alan Yeh on 2016/12/27.
info(PromiseHttp, PromiseResponse) - 接口 中的方法cn.yerl.android.promise.http.logger.ILogger
记录Http Response
info(PromiseHttp, String) - 接口 中的方法cn.yerl.android.promise.http.logger.ILogger
记录字符串信息

L

LogcatLogger - cn.yerl.android.promise.http.logger中的类
Http 控制台日志 Created by Alan Yeh on 2016/12/27.
LogcatLogger() - 类 的构造器cn.yerl.android.promise.http.logger.LogcatLogger
 

O

of(String) - 枚举 中的静态方法cn.yerl.android.promise.http.PromiseRequest.Method
 
onProgress(long, long) - 接口 中的方法cn.yerl.android.promise.http.PromiseRequest.OnProgressChanged
 

P

POST(String) - 类 中的静态方法cn.yerl.android.promise.http.PromiseRequest
生成一个Http POST请求
PromiseHttp - cn.yerl.android.promise.http中的类
Promise Http Client Created by Alan Yeh on 16/6/8.
PromiseHttpException - cn.yerl.android.promise.http中的异常错误
PromiseHttpException Created by Alan Yeh on 2016/12/12.
PromiseHttpException(PromiseResponse, Throwable) - 异常错误 的构造器cn.yerl.android.promise.http.PromiseHttpException
 
PromiseRequest - cn.yerl.android.promise.http中的类
封装请求参数类 Created by yan on 16/6/6.
PromiseRequest(String, PromiseRequest.Method) - 类 的构造器cn.yerl.android.promise.http.PromiseRequest
 
PromiseRequest.Method - cn.yerl.android.promise.http中的枚举
HttpMethod
PromiseRequest.OnProgressChanged - cn.yerl.android.promise.http中的接口
请求进度监听接口
PromiseResponse - cn.yerl.android.promise.http中的类
封装服务器返回的内容 Created by yan on 16/6/11.
PUT(String) - 类 中的静态方法cn.yerl.android.promise.http.PromiseRequest
生成一个Http PUT请求

R

rawBody - 类 中的变量cn.yerl.android.promise.http.PromiseRequest
 
removeBinaryBody() - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
清除 Binary Body
removeBodyParam(String...) - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
移除Body参数
removeHeader(String...) - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
移除Header
removePathParam(String...) - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
移除Path参数
removeQueryParam(String...) - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
移除URL参数
removeRawBody() - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
清除 Raw Body

S

setBaseUrl(String) - 类 中的方法cn.yerl.android.promise.http.PromiseHttp
设置基础地址 eg: baseUrl = http://yerl.cn/api/v3 PromiseRequest.GET("group") 最终访问的是http://yerl.cn/api/v3/group PromiseRequest.GET("/group") 最终访问的是http://yerl.cn/group
setCachePath(File) - 类 中的方法cn.yerl.android.promise.http.PromiseHttp
设置下载的缓存目录 如果没有设置此项,使用download方法时会抛出异常
setConnectTimeout(int) - 类 中的方法cn.yerl.android.promise.http.PromiseHttp
 
setCookieStore(CookieStore) - 类 中的方法cn.yerl.android.promise.http.PromiseHttp
 
setEncoding(String) - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
设置请求、响应编码,默认UTF-8
setLogger(ILogger...) - 类 中的方法cn.yerl.android.promise.http.PromiseHttp
添加网络请求日志记录功能
setResponseTimeout(int) - 类 中的方法cn.yerl.android.promise.http.PromiseHttp
 
setTimeout(int) - 类 中的方法cn.yerl.android.promise.http.PromiseHttp
 

V

valueOf(String) - 枚举 中的静态方法cn.yerl.android.promise.http.PromiseRequest.Method
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法cn.yerl.android.promise.http.PromiseRequest.Method
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。

W

withBinaryBody(File) - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
Binary Body
withBodyParam(String, Object) - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
添加一个Body参数
withBodyParams(Map<String, Object>) - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
添加多个Body参数
withHeader(String, String) - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
添加一个Header
withHeaders(Map<String, String>) - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
添加多个Header
withPathParam(String, Object) - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
添加Path参数, 使用{}进行占位
withPathParams(Map<String, Object>) - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
添加多个Path参数, 使用{}进行占位
withQueryParam(String, String) - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
添加一个URL参数
withQueryParams(Map<String, String>) - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
添加多个URL参数
withRawBody(String) - 类 中的方法cn.yerl.android.promise.http.PromiseRequest
Raw Body
A B C D E F G H I L O P R S V W 
跳过导航链接