public class NetworkProgressHelper
extends java.lang.Object
构造器和说明 |
---|
NetworkProgressHelper() |
限定符和类型 | 方法和说明 |
---|---|
static ProgressTouchableRequestBody |
addProgressRequestBody(java.io.InputStream input,
long contentLength,
java.lang.String contentType,
ExecutionContext context)
process request progress
|
static okhttp3.OkHttpClient |
addProgressResponseListener(okhttp3.OkHttpClient client,
ExecutionContext context)
process response progress
|
public static okhttp3.OkHttpClient addProgressResponseListener(okhttp3.OkHttpClient client, ExecutionContext context)
public static ProgressTouchableRequestBody addProgressRequestBody(java.io.InputStream input, long contentLength, java.lang.String contentType, ExecutionContext context)