正在查看: CityMall v1.42.1 应用的 s.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: CityMall v1.42.1 应用的 s.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package p7;
import B7.c;
import java.net.Proxy;
import java.net.ProxySelector;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.Random;
import java.util.concurrent.TimeUnit;
import javax.net.SocketFactory;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLSocketFactory;
import javax.net.ssl.X509TrustManager;
import kotlin.collections.AbstractC0471p;
import kotlin.jvm.internal.DefaultConstructorMarker;
import okhttp3.Authenticator;
import okhttp3.Call;
import okhttp3.CookieJar;
import okhttp3.Dns;
import okhttp3.EventListener;
import okhttp3.Interceptor;
import okhttp3.WebSocket;
import okhttp3.internal.concurrent.TaskRunner;
import y7.j;
public class s implements Cloneable, Call.Factory, WebSocket.Factory {
private final SSLSocketFactory A;
private final X509TrustManager B;
private final List C;
private final List D;
private final HostnameVerifier E;
private final d F;
private final B7.c G;
private final int H;
private final int I;
private final int J;
private final int K;
private final int L;
private final long M;
private final u7.i N;
private final k a;
private final g b;
private final List c;
private final List d;
private final EventListener.Factory e;
private final boolean f;
private final Authenticator g;
private final boolean h;
private final boolean i;
private final CookieJar j;
private final p7.b k;
private final Dns l;
private final Proxy m;
private final ProxySelector n;
private final Authenticator y;
private final SocketFactory z;
public static final b Q = new b(null);
private static final List O = q7.c.t(t.HTTP_2, t.HTTP_1_1);
private static final List P = q7.c.t(h.h, h.j);
public static final class b {
private b() {
}
public final List a() {
return s.P;
}
public final List b() {
return s.O;
}
public b(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
}
public s(a builder) {
ProxySelector H;
kotlin.jvm.internal.j.i(builder, "builder");
this.a = builder.u();
this.b = builder.r();
this.c = q7.c.R(builder.A());
this.d = q7.c.R(builder.C());
this.e = builder.w();
this.f = builder.J();
this.g = builder.l();
this.h = builder.x();
this.i = builder.y();
this.j = builder.t();
this.k = builder.m();
this.l = builder.v();
this.m = builder.F();
if (builder.F() != null) {
H = A7.a.a;
} else {
H = builder.H();
H = H == null ? ProxySelector.getDefault() : H;
if (H == null) {
H = A7.a.a;
}
}
this.n = H;
this.y = builder.G();
this.z = builder.L();
List s = builder.s();
this.C = s;
this.D = builder.E();
this.E = builder.z();
this.H = builder.n();
this.I = builder.q();
this.J = builder.I();
this.K = builder.N();
this.L = builder.D();
this.M = builder.B();
u7.i K = builder.K();
this.N = K == null ? new u7.i() : K;
List list = s;
if (!(list instanceof Collection) || !list.isEmpty()) {
Iterator it = list.iterator();
while (it.hasNext()) {
if (((h) it.next()).f()) {
if (builder.M() != null) {
this.A = builder.M();
B7.c o = builder.o();
kotlin.jvm.internal.j.f(o);
this.G = o;
X509TrustManager O2 = builder.O();
kotlin.jvm.internal.j.f(O2);
this.B = O2;
d p = builder.p();
kotlin.jvm.internal.j.f(o);
this.F = p.e(o);
} else {
j.a aVar = y7.j.c;
X509TrustManager p2 = aVar.g().p();
this.B = p2;
y7.j g = aVar.g();
kotlin.jvm.internal.j.f(p2);
this.A = g.o(p2);
c.a aVar2 = B7.c.a;
kotlin.jvm.internal.j.f(p2);
B7.c a2 = aVar2.a(p2);
this.G = a2;
d p3 = builder.p();
kotlin.jvm.internal.j.f(a2);
this.F = p3.e(a2);
}
P();
}
}
}
this.A = null;
this.G = null;
this.B = null;
this.F = d.c;
P();
}
private final void P() {
List list = this.c;
if (list == null) {
throw new NullPointerException("null cannot be cast to non-null type kotlin.collections.List<okhttp3.Interceptor?>");
}
if (list.contains(null)) {
throw new IllegalStateException(("Null interceptor: " + this.c).toString());
}
List list2 = this.d;
if (list2 == null) {
throw new NullPointerException("null cannot be cast to non-null type kotlin.collections.List<okhttp3.Interceptor?>");
}
if (list2.contains(null)) {
throw new IllegalStateException(("Null network interceptor: " + this.d).toString());
}
List list3 = this.C;
if (!(list3 instanceof Collection) || !list3.isEmpty()) {
Iterator it = list3.iterator();
while (it.hasNext()) {
if (((h) it.next()).f()) {
if (this.A == null) {
throw new IllegalStateException("sslSocketFactory == null");
}
if (this.G == null) {
throw new IllegalStateException("certificateChainCleaner == null");
}
if (this.B == null) {
throw new IllegalStateException("x509TrustManager == null");
}
return;
}
}
}
if (!(this.A == null)) {
throw new IllegalStateException("Check failed.");
}
if (!(this.G == null)) {
throw new IllegalStateException("Check failed.");
}
if (!(this.B == null)) {
throw new IllegalStateException("Check failed.");
}
if (!kotlin.jvm.internal.j.d(this.F, d.c)) {
throw new IllegalStateException("Check failed.");
}
}
public final long A() {
return this.M;
}
public final List C() {
return this.d;
}
public a D() {
return new a(this);
}
public WebSocket E(u request, A listener) {
kotlin.jvm.internal.j.i(request, "request");
kotlin.jvm.internal.j.i(listener, "listener");
C7.d dVar = new C7.d(TaskRunner.h, request, listener, new Random(), this.L, null, this.M);
dVar.p(this);
return dVar;
}
public final int F() {
return this.L;
}
public final List H() {
return this.D;
}
public final Proxy I() {
return this.m;
}
public final Authenticator J() {
return this.y;
}
public final ProxySelector K() {
return this.n;
}
public final int L() {
return this.J;
}
public final boolean M() {
return this.f;
}
public final SocketFactory N() {
return this.z;
}
public final SSLSocketFactory O() {
SSLSocketFactory sSLSocketFactory = this.A;
if (sSLSocketFactory != null) {
return sSLSocketFactory;
}
throw new IllegalStateException("CLEARTEXT-only client");
}
public final int Q() {
return this.K;
}
public final X509TrustManager R() {
return this.B;
}
@Override
public Call a(u request) {
kotlin.jvm.internal.j.i(request, "request");
return new u7.e(this, request, false);
}
public Object clone() {
return super.clone();
}
public final Authenticator e() {
return this.g;
}
public final p7.b f() {
return this.k;
}
public final int g() {
return this.H;
}
public final B7.c h() {
return this.G;
}
public final d i() {
return this.F;
}
public final int j() {
return this.I;
}
public final g k() {
return this.b;
}
public final List l() {
return this.C;
}
public final CookieJar m() {
return this.j;
}
public final k o() {
return this.a;
}
public final Dns q() {
return this.l;
}
public final EventListener.Factory r() {
return this.e;
}
public final boolean s() {
return this.h;
}
public final boolean t() {
return this.i;
}
public final u7.i w() {
return this.N;
}
public final HostnameVerifier x() {
return this.E;
}
public final List z() {
return this.c;
}
public static final class a {
private int A;
private int B;
private long C;
private u7.i D;
private k a;
private g b;
private final List c;
private final List d;
private EventListener.Factory e;
private boolean f;
private Authenticator g;
private boolean h;
private boolean i;
private CookieJar j;
private p7.b k;
private Dns l;
private Proxy m;
private ProxySelector n;
private Authenticator o;
private SocketFactory p;
private SSLSocketFactory q;
private X509TrustManager r;
private List s;
private List t;
private HostnameVerifier u;
private d v;
private B7.c w;
private int x;
private int y;
private int z;
public a() {
this.a = new k();
this.b = new g();
this.c = new ArrayList();
this.d = new ArrayList();
this.e = q7.c.e(EventListener.a);
this.f = true;
Authenticator authenticator = Authenticator.a;
this.g = authenticator;
this.h = true;
this.i = true;
this.j = CookieJar.a;
this.l = Dns.a;
this.o = authenticator;
SocketFactory socketFactory = SocketFactory.getDefault();
kotlin.jvm.internal.j.h(socketFactory, "SocketFactory.getDefault()");
this.p = socketFactory;
b bVar = s.Q;
this.s = bVar.a();
this.t = bVar.b();
this.u = B7.d.a;
this.v = d.c;
this.y = 10000;
this.z = 10000;
this.A = 10000;
this.C = 1024L;
}
public final List A() {
return this.c;
}
public final long B() {
return this.C;
}
public final List C() {
return this.d;
}
public final int D() {
return this.B;
}
public final List E() {
return this.t;
}
public final Proxy F() {
return this.m;
}
public final Authenticator G() {
return this.o;
}
public final ProxySelector H() {
return this.n;
}
public final int I() {
return this.z;
}
public final boolean J() {
return this.f;
}
public final u7.i K() {
return this.D;
}
public final SocketFactory L() {
return this.p;
}
public final SSLSocketFactory M() {
return this.q;
}
public final int N() {
return this.A;
}
public final X509TrustManager O() {
return this.r;
}
public final a P(HostnameVerifier hostnameVerifier) {
kotlin.jvm.internal.j.i(hostnameVerifier, "hostnameVerifier");
if (!kotlin.jvm.internal.j.d(hostnameVerifier, this.u)) {
this.D = null;
}
this.u = hostnameVerifier;
return this;
}
public final a Q(List protocols) {
kotlin.jvm.internal.j.i(protocols, "protocols");
List I0 = AbstractC0471p.I0(protocols);
t tVar = t.H2_PRIOR_KNOWLEDGE;
if (!(I0.contains(tVar) || I0.contains(t.HTTP_1_1))) {
throw new IllegalArgumentException(("protocols must contain h2_prior_knowledge or http/1.1: " + I0).toString());
}
if (!(!I0.contains(tVar) || I0.size() <= 1)) {
throw new IllegalArgumentException(("protocols containing h2_prior_knowledge cannot use other protocols: " + I0).toString());
}
if (I0.contains(t.HTTP_1_0)) {
throw new IllegalArgumentException(("protocols must not contain http/1.0: " + I0).toString());
}
if (I0.contains(null)) {
throw new IllegalArgumentException("protocols must not contain null");
}
I0.remove(t.SPDY_3);
if (!kotlin.jvm.internal.j.d(I0, this.t)) {
this.D = null;
}
List unmodifiableList = Collections.unmodifiableList(I0);
kotlin.jvm.internal.j.h(unmodifiableList, "Collections.unmodifiableList(protocolsCopy)");
this.t = unmodifiableList;
return this;
}
public final a R(Proxy proxy) {
if (!kotlin.jvm.internal.j.d(proxy, this.m)) {
this.D = null;
}
this.m = proxy;
return this;
}
public final a S(long j, TimeUnit unit) {
kotlin.jvm.internal.j.i(unit, "unit");
this.z = q7.c.h("timeout", j, unit);
return this;
}
public final a T(boolean z) {
this.f = z;
return this;
}
public final a U(SocketFactory socketFactory) {
kotlin.jvm.internal.j.i(socketFactory, "socketFactory");
if (socketFactory instanceof SSLSocketFactory) {
throw new IllegalArgumentException("socketFactory instanceof SSLSocketFactory");
}
if (!kotlin.jvm.internal.j.d(socketFactory, this.p)) {
this.D = null;
}
this.p = socketFactory;
return this;
}
public final a V(SSLSocketFactory sslSocketFactory, X509TrustManager trustManager) {
kotlin.jvm.internal.j.i(sslSocketFactory, "sslSocketFactory");
kotlin.jvm.internal.j.i(trustManager, "trustManager");
if (!kotlin.jvm.internal.j.d(sslSocketFactory, this.q) || !kotlin.jvm.internal.j.d(trustManager, this.r)) {
this.D = null;
}
this.q = sslSocketFactory;
this.w = B7.c.a.a(trustManager);
this.r = trustManager;
return this;
}
public final a W(long j, TimeUnit unit) {
kotlin.jvm.internal.j.i(unit, "unit");
this.A = q7.c.h("timeout", j, unit);
return this;
}
public final a a(Interceptor interceptor) {
kotlin.jvm.internal.j.i(interceptor, "interceptor");
this.c.add(interceptor);
return this;
}
public final a b(Interceptor interceptor) {
kotlin.jvm.internal.j.i(interceptor, "interceptor");
this.d.add(interceptor);
return this;
}
public final s c() {
return new s(this);
}
public final a d(p7.b bVar) {
this.k = bVar;
return this;
}
public final a e(long j, TimeUnit unit) {
kotlin.jvm.internal.j.i(unit, "unit");
this.x = q7.c.h("timeout", j, unit);
return this;
}
public final a f(long j, TimeUnit unit) {
kotlin.jvm.internal.j.i(unit, "unit");
this.y = q7.c.h("timeout", j, unit);
return this;
}
public final a g(g connectionPool) {
kotlin.jvm.internal.j.i(connectionPool, "connectionPool");
this.b = connectionPool;
return this;
}
public final a h(CookieJar cookieJar) {
kotlin.jvm.internal.j.i(cookieJar, "cookieJar");
this.j = cookieJar;
return this;
}
public final a i(EventListener eventListener) {
kotlin.jvm.internal.j.i(eventListener, "eventListener");
this.e = q7.c.e(eventListener);
return this;
}
public final a j(boolean z) {
this.h = z;
return this;
}
public final a k(boolean z) {
this.i = z;
return this;
}
public final Authenticator l() {
return this.g;
}
public final p7.b m() {
return this.k;
}
public final int n() {
return this.x;
}
public final B7.c o() {
return this.w;
}
public final d p() {
return this.v;
}
public final int q() {
return this.y;
}
public final g r() {
return this.b;
}
public final List s() {
return this.s;
}
public final CookieJar t() {
return this.j;
}
public final k u() {
return this.a;
}
public final Dns v() {
return this.l;
}
public final EventListener.Factory w() {
return this.e;
}
public final boolean x() {
return this.h;
}
public final boolean y() {
return this.i;
}
public final HostnameVerifier z() {
return this.u;
}
public a(s okHttpClient) {
this();
kotlin.jvm.internal.j.i(okHttpClient, "okHttpClient");
this.a = okHttpClient.o();
this.b = okHttpClient.k();
AbstractC0471p.A(this.c, okHttpClient.z());
AbstractC0471p.A(this.d, okHttpClient.C());
this.e = okHttpClient.r();
this.f = okHttpClient.M();
this.g = okHttpClient.e();
this.h = okHttpClient.s();
this.i = okHttpClient.t();
this.j = okHttpClient.m();
this.k = okHttpClient.f();
this.l = okHttpClient.q();
this.m = okHttpClient.I();
this.n = okHttpClient.K();
this.o = okHttpClient.J();
this.p = okHttpClient.N();
this.q = okHttpClient.A;
this.r = okHttpClient.R();
this.s = okHttpClient.l();
this.t = okHttpClient.H();
this.u = okHttpClient.x();
this.v = okHttpClient.i();
this.w = okHttpClient.h();
this.x = okHttpClient.g();
this.y = okHttpClient.j();
this.z = okHttpClient.L();
this.A = okHttpClient.Q();
this.B = okHttpClient.F();
this.C = okHttpClient.A();
this.D = okHttpClient.w();
}
}
public s() {
this(new a());
}
}