C D G H M O P R S T W
C
- close() - 类 中的方法com.ejlchina.okhttps.RafOutputStream
-
- com.ejlchina.okhttps - 程序包 com.ejlchina.okhttps
-
D
- DEFAULT_MAX_THREADS - 类 中的静态变量com.ejlchina.okhttps.ParallelDownload
-
默认最大线程数:10
- DEFAULT_PART_BYTES - 类 中的静态变量com.ejlchina.okhttps.ParallelDownload
-
默认每块基准大小:30 Mb
- download(HTTP, String) - 类 中的静态方法com.ejlchina.okhttps.Parallel
-
使用 HTTP 实例并行下载
- download(int, String) - 类 中的静态方法com.ejlchina.okhttps.Parallel
-
使用 工具类 并行下载
G
- getError() - 类 中的方法com.ejlchina.okhttps.ParallelFailure
-
- getFailure() - 类 中的方法com.ejlchina.okhttps.ParallelFailure
-
- getIndex() - 类 中的方法com.ejlchina.okhttps.ParallelProcess
-
- getMessage() - 类 中的方法com.ejlchina.okhttps.ParallelFailure
-
- getProcess() - 类 中的方法com.ejlchina.okhttps.ParallelProcess
-
- getResult() - 类 中的方法com.ejlchina.okhttps.ParallelFailure
-
- getTotal() - 类 中的方法com.ejlchina.okhttps.ParallelProcess
-
H
- HTTP_UTILS - 类 中的静态变量com.ejlchina.okhttps.Parallel
-
使用 HttpUtils 工具类
M
- maxThreads(int) - 类 中的方法com.ejlchina.okhttps.ParallelDownload
-
指定分隔最大块数,即下载线程个数
O
- OK_HTTPS - 类 中的静态变量com.ejlchina.okhttps.Parallel
-
使用 OkHttps 工具类
- onlyGet() - 类 中的方法com.ejlchina.okhttps.ParallelDownload
-
指定服务器只支持 GET 请求
P
- Parallel - com.ejlchina.okhttps中的类
-
并行下载
把同一个文件用多线程下载到不同的临时文件内,最后合并
- Parallel() - 类 的构造器com.ejlchina.okhttps.Parallel
-
- ParallelDownload - com.ejlchina.okhttps中的类
-
并行下载器
- ParallelDownload(String, int, HTTP) - 类 的构造器com.ejlchina.okhttps.ParallelDownload
-
- ParallelFailure - com.ejlchina.okhttps中的类
-
- ParallelFailure(String, IOException) - 类 的构造器com.ejlchina.okhttps.ParallelFailure
-
- ParallelFailure(String, HttpResult) - 类 的构造器com.ejlchina.okhttps.ParallelFailure
-
- ParallelFailure(String, Download.Failure) - 类 的构造器com.ejlchina.okhttps.ParallelFailure
-
- ParallelProcess - com.ejlchina.okhttps中的类
-
- ParallelProcess(int, int, Process) - 类 的构造器com.ejlchina.okhttps.ParallelProcess
-
- partBytes(int) - 类 中的方法com.ejlchina.okhttps.ParallelDownload
-
指定每块下载大小(基准)
R
- RafOutputStream - com.ejlchina.okhttps中的类
-
- RafOutputStream(File) - 类 的构造器com.ejlchina.okhttps.RafOutputStream
-
- RafOutputStream(RandomAccessFile) - 类 的构造器com.ejlchina.okhttps.RafOutputStream
-
S
- setError(IOException) - 类 中的方法com.ejlchina.okhttps.ParallelFailure
-
- setFailure(Download.Failure) - 类 中的方法com.ejlchina.okhttps.ParallelFailure
-
- setMessage(String) - 类 中的方法com.ejlchina.okhttps.ParallelFailure
-
- setOnFailure(OnCallback<ParallelFailure>) - 类 中的方法com.ejlchina.okhttps.ParallelDownload
-
设置失败回调
- setOnProcess(OnCallback<ParallelProcess>) - 类 中的方法com.ejlchina.okhttps.ParallelDownload
-
设置下载进度回调
- setOnSuccess(OnCallback<File>) - 类 中的方法com.ejlchina.okhttps.ParallelDownload
-
设置下载成功回调
- setResult(HttpResult) - 类 中的方法com.ejlchina.okhttps.ParallelFailure
-
- start() - 类 中的方法com.ejlchina.okhttps.ParallelDownload
-
开始下载
- start(long) - 类 中的方法com.ejlchina.okhttps.ParallelDownload
-
开始下载
T
- toFile(String) - 类 中的方法com.ejlchina.okhttps.ParallelDownload
-
- toFile(File) - 类 中的方法com.ejlchina.okhttps.ParallelDownload
-
W
- write(byte[]) - 类 中的方法com.ejlchina.okhttps.RafOutputStream
-
- write(byte[], int, int) - 类 中的方法com.ejlchina.okhttps.RafOutputStream
-
- write(int) - 类 中的方法com.ejlchina.okhttps.RafOutputStream
-
C D G H M O P R S T W
Copyright © 2021 江苏一键联信息科技有限公司. All Rights Reserved.