public class RetryInterceptor extends Object implements okhttp3.Interceptor
| 构造器和说明 |
|---|
RetryInterceptor(int retryTimes) |
public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain)
throws IOException
intercept 在接口中 okhttp3.InterceptorIOExceptionpublic double retryInterval(int max,
int remain)
Copyright © 2024. All rights reserved.