- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
25 lines
876 B
Java
25 lines
876 B
Java
package okhttp3.internal.connection;
|
|
|
|
import okhttp3.Interceptor;
|
|
import okhttp3.OkHttpClient;
|
|
import okhttp3.Request;
|
|
import okhttp3.Response;
|
|
import okhttp3.internal.http.RealInterceptorChain;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public final class ConnectInterceptor implements Interceptor {
|
|
public final OkHttpClient client;
|
|
|
|
public ConnectInterceptor(OkHttpClient okHttpClient) {
|
|
this.client = okHttpClient;
|
|
}
|
|
|
|
@Override // okhttp3.Interceptor
|
|
public Response intercept(Interceptor.Chain chain) {
|
|
RealInterceptorChain realInterceptorChain = (RealInterceptorChain) chain;
|
|
Request request = realInterceptorChain.request();
|
|
Transmitter transmitter = realInterceptorChain.transmitter();
|
|
return realInterceptorChain.proceed(request, transmitter, transmitter.newExchange(chain, !request.method().equals("GET")));
|
|
}
|
|
}
|