what-the-bank/sources/okhttp3/internal/Internal.java

51 lines
1.6 KiB
Java

package okhttp3.internal;
import javax.net.ssl.SSLSocket;
import o.C14957gcv;
import okhttp3.Cache;
import okhttp3.ConnectionSpec;
import okhttp3.Cookie;
import okhttp3.Headers;
import okhttp3.HttpUrl;
import okhttp3.Request;
import okhttp3.Response;
/* loaded from: classes6.dex */
public final class Internal {
public static final Cookie parseCookie(long j, HttpUrl httpUrl, String str) {
C14957gcv.e(httpUrl, "");
C14957gcv.e(str, "");
return Cookie.Companion.parse$okhttp(j, httpUrl, str);
}
public static final String cookieToString(Cookie cookie, boolean z) {
C14957gcv.e(cookie, "");
return cookie.toString$okhttp(z);
}
public static final Headers.Builder addHeaderLenient(Headers.Builder builder, String str) {
C14957gcv.e(builder, "");
C14957gcv.e(str, "");
return builder.addLenient$okhttp(str);
}
public static final Headers.Builder addHeaderLenient(Headers.Builder builder, String str, String str2) {
C14957gcv.e(builder, "");
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
return builder.addLenient$okhttp(str, str2);
}
public static final Response cacheGet(Cache cache, Request request) {
C14957gcv.e(cache, "");
C14957gcv.e(request, "");
return cache.get$okhttp(request);
}
public static final void applyConnectionSpec(ConnectionSpec connectionSpec, SSLSocket sSLSocket, boolean z) {
C14957gcv.e(connectionSpec, "");
C14957gcv.e(sSLSocket, "");
connectionSpec.apply$okhttp(sSLSocket, z);
}
}