| 接口 | 说明 |
|---|---|
| CommonCallbackInterface<T> |
回调方法
Created by zhangyunfei on 16/3/11.
|
| DefaultExceptionHandler |
HTTP 异常处理器
Created by zhangyunfei on 15/12/25.
|
| FileDownloader.ResponseProgressListener | |
| LogInterceptor |
LogInterceptor
Created by zhangyunfei on 16/3/15.
|
| ProgressIndicator |
进度条 的 指示器
Created by zhangyunfei on 15/12/25.
|
| RequestParaInterceptor |
发送请求时,拦截 发送的请求参数
Created by zhangyunfei on 16/3/14.
|
| 类 | 说明 |
|---|---|
| CommonCallback<T> |
回调方法
|
| CommonMessage |
约定好的,固定的返回信息 格式。
|
| CommonMessageParser |
CommonMessage Parser
Created by songzhongkun on 15/9/24.
|
| CommonRequest |
一般请求
|
| DialogProgressIndicator |
进度观察者的实现,使用 ProgressDialog 展示进度
防止在多线程中被调用,我们使用了 activity.runOnMainThread方法来确保。
|
| ErrorCode |
错误码 常量
Created by zhangyunfei on 16/1/4.
|
| ErrorCodeHandler |
ErrorCodeHandler
Created by dreamtang860 on 1/8/16.
|
| FileDownloader |
文件下载
Created by zhangyunfei on 16/3/29.
|
| FileDownloader.DownloadFileProgressListener2 | |
| FileDownloader.DownloadRequestHandler | |
| FileDownloader.ProgressResponseBody |
包装的响体,处理进度
User:lizhangqu(513163535@qq.com)
Date:2015-09-02
Time: 17:18
|
| FileUploadRequest |
FileUploadRequest
Created by zhangyunfei on 16/3/16.
|
| GzipRequestInterceptor |
拦截器压缩http请求体,许多服务器无法解析
|
| OknetConfig |
OknetConfig
Created by zhangyunfei on 16/3/11.
|
| OknetHttpUtil |
OknetHttpUtil
Created by zhangyunfei on 16/3/11.
|
| OknetLogUtil |
OknetLogUtil
Created by zhangyunfei on 16/3/15.
|
| RequestBuilder |
http 请求 构造器
目前不支持 文件上传的同步放过
不支持 get 方式
Created by zhangyunfei on 15/12/15.
|
| RequestConvert |
RequestConvert
Created by zhangyunfei on 16/3/11.
|
| RequestManager |
请求管理器
Created by zhangyunfei on 15/12/15.
|
| RequestPara |
参数封装
Created by songzhongkun on 15/9/24.
|
| 异常错误 | 说明 |
|---|---|
| NoZeroException |
当服务器返回了一个 非0的错误时
自定义异常
|