public class RetryInterceptor extends Object implements okhttp3.Interceptor
| Constructor and Description |
|---|
RetryInterceptor(int retryTimes) |
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Response |
intercept(okhttp3.Interceptor.Chain chain) |
double |
retryInterval(int max,
int remain) |
public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain)
throws IOException
intercept in interface okhttp3.InterceptorIOExceptionpublic double retryInterval(int max,
int remain)
Copyright © 2024. All rights reserved.