| 程序包 | 说明 |
|---|---|
| cn.zhxu.okhttps | |
| cn.zhxu.okhttps.internal |
| 限定符和类型 | 方法和说明 |
|---|---|
HttpResult.Body |
HttpResult.Body.setOnProcess(Consumer<Process> onProcess)
设置报文体接收进度回调
|
C |
HttpTask.setOnProcess(Consumer<Process> onProcess)
设置报文体发送进度回调
|
C |
HttpTask.setOnProcess(Consumer<Process> onProcess)
设置报文体发送进度回调
|
HttpResult.Body |
HttpResult.Body.setOnProcess(Consumer<Process> onProcess)
设置报文体接收进度回调
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
RealProcess |
| 限定符和类型 | 方法和说明 |
|---|---|
Process |
RealProcess.newProcess() |
Process |
RealProcess.newProcess() |
| 限定符和类型 | 方法和说明 |
|---|---|
HttpResult.Body |
ResultBody.setOnProcess(Consumer<Process> onProcess) |
HttpResult.Body |
ResultBody.setOnProcess(Consumer<Process> onProcess) |
| 构造器和说明 |
|---|
ProcessInputStream(InputStream input,
Consumer<Process> onProcess,
long totalBytes,
long stepBytes,
long doneBytes,
Executor callbackExecutor) |
ProcessInputStream(InputStream input,
Consumer<Process> onProcess,
long totalBytes,
long stepBytes,
long doneBytes,
Executor callbackExecutor) |
ProcessRequestBody(okhttp3.RequestBody requestBody,
Consumer<Process> onProcess,
Executor callbackExecutor,
long contentLength,
long stepBytes) |
ProcessRequestBody(okhttp3.RequestBody requestBody,
Consumer<Process> onProcess,
Executor callbackExecutor,
long contentLength,
long stepBytes) |
Copyright © 2025 zhouxu. All rights reserved.