public abstract class FileInterceptor extends Object implements Interceptor, ProgressListener
| Modifier and Type | Class and Description |
|---|---|
static class |
FileInterceptor.DownloadFileProgressResponseBody |
Interceptor.Chain| Constructor and Description |
|---|
FileInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
Response |
intercept(Interceptor.Chain chain) |
abstract void |
updateProgress(long downloadLenth,
long totalLength,
boolean isFinish) |
public Response intercept(Interceptor.Chain chain) throws IOException
intercept in interface InterceptorIOExceptionpublic abstract void updateProgress(long downloadLenth,
long totalLength,
boolean isFinish)
updateProgress in interface ProgressListenerCopyright © 2019. All rights reserved.