33 lines
673 B
Java
33 lines
673 B
Java
package okhttp3;
|
|
|
|
import java.io.IOException;
|
|
import java.util.concurrent.TimeUnit;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public interface Interceptor {
|
|
|
|
public interface Chain {
|
|
Call call();
|
|
|
|
int connectTimeoutMillis();
|
|
|
|
Connection connection();
|
|
|
|
Response proceed(Request request) throws IOException;
|
|
|
|
int readTimeoutMillis();
|
|
|
|
Request request();
|
|
|
|
Chain withConnectTimeout(int i, TimeUnit timeUnit);
|
|
|
|
Chain withReadTimeout(int i, TimeUnit timeUnit);
|
|
|
|
Chain withWriteTimeout(int i, TimeUnit timeUnit);
|
|
|
|
int writeTimeoutMillis();
|
|
}
|
|
|
|
Response intercept(Chain chain) throws IOException;
|
|
}
|