Rabbit-R1/switch port/smali/smali_classes3/okhttp3/OkHttpClient.smali

1977 lines
60 KiB
Smali
Raw Normal View History

2024-05-21 16:08:36 -05:00
.class public Lokhttp3/OkHttpClient;
.super Ljava/lang/Object;
.source "OkHttpClient.kt"
# interfaces
.implements Ljava/lang/Cloneable;
.implements Lokhttp3/Call$Factory;
.implements Lokhttp3/WebSocket$Factory;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lokhttp3/OkHttpClient$Builder;,
Lokhttp3/OkHttpClient$Companion;
}
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nOkHttpClient.kt\nKotlin\n*S Kotlin\n*F\n+ 1 OkHttpClient.kt\nokhttp3/OkHttpClient\n+ 2 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n+ 3 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,1079:1\n2418#2,3:1080\n2418#2,3:1084\n1#3:1083\n*E\n*S KotlinDebug\n*F\n+ 1 OkHttpClient.kt\nokhttp3/OkHttpClient\n*L\n255#1,3:1080\n225#1,3:1084\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u00ee\u0001\n\u0002\u0018\u0002\n\u0002\u0010\u001a\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u000b\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0002\u0008\u0013\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\n\n\u0002\u0010\u0002\n\u0002\u0008\u0004\u0008\u0016\u0018\u0000 y2\u00020\u00012\u00020\u00022\u00020\u0003:\u0002xyB\u0007\u0008\u0016\u00a2\u0006\u0002\u0010\u0004B\u000f\u0008\u0000\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u00a2\u0006\u0002\u0010\u0007J\r\u0010\u0008\u001a\u00020\tH\u0007\u00a2\u0006\u0002\u0008SJ\u000f\u0010\u000b\u001a\u0004\u0018\u00010\u000cH\u0007\u00a2\u0006\u0002\u0008TJ\r\u0010\u000e\u001a\u00020\u000fH\u0007\u00a2\u0006\u0002\u0008UJ\r\u0010\u0014\u001a\u00020\u0015H\u0007\u00a2\u0006\u0002\u0008VJ\r\u0010\u0017\u001a\u00020\u000fH\u0007\u00a2\u0006\u0002\u0008WJ\r\u0010\u0018\u001a\u00020\u0019H\u0007\u00a2\u0006\u0002\u0008XJ\u0013\u0010\u001b\u001a\u0008\u0012\u0004\u0012\u00020\u001d0\u001cH\u0007\u00a2\u0006\u0002\u0008YJ\r\u0010\u001f\u001a\u00020 H\u0007\u00a2\u0006\u0002\u0008ZJ\r\u0010\"\u001a\u00020#H\u0007\u00a2\u0006\u0002\u0008[J\r\u0010%\u001a\u00020&H\u0007\u00a2\u0006\u0002\u0008\\J\r\u0010(\u001a\u00020)H\u0007\u00a2\u0006\u0002\u0008]J\r\u0010+\u001a\u00020,H\u0007\u00a2\u0006\u0002\u0008^J\r\u0010.\u001a\u00020,H\u0007\u00a2\u0006\u0002\u0008_J\r\u0010/\u001a\u000200H\u0007\u00a2\u0006\u0002\u0008`J\u0013\u00102\u001a\u0008\u0012\u0004\u0012\u0002030\u001cH\u0007\u00a2\u0006\u0002\u0008aJ\u0013\u00107\u001a\u0008\u0012\u0004\u0012\u0002030\u001cH\u0007\u00a2\u0006\u0002\u0008bJ\u0008\u0010c\u001a\u00020\u0006H\u0016J\u0010\u0010d\u001a\u00020e2\u0006\u0010f\u001a\u00020gH\u0016J\u0018\u0010h\u001a\u00020i2\u0006\u0010f\u001a\u00020g2\u0006\u0010j\u001a\u00020kH\u0016J\r\u00108\u001a\u00020\u000fH\u0007\u00a2\u0006\u0002\u0008lJ\u0013\u00109\u001a\u0008\u0012\u0004\u0012\u00020:0\u001cH\u0007\u00a2\u0006\u0002\u0008mJ\u000f\u0010;\u001a\u0004\u0018\u00010<H\u0007\u00a2\u0006\u0002\u0008nJ\r\u0010>\u001a\u00020\tH\u0007\u00a2\u0006\u0002\u0008oJ\r\u0010?\u001a\u00020@H\u0007\u00a2\u0006\u0002\u0008pJ\r\u0010B\u001a\u00020\u000fH\u0007\u00a2\u0006\u0002\u0008qJ\r\u0010C\u001a\u00020,H\u0007\u00a2\u0006\u0002\u0008rJ\r\u0010H\u001a\u00020IH\u0007\u00a2\u0006\u0002\u0008sJ\r\u0010K\u001a\u00020LH\u0007\u00a2\u0006\u0002\u0008tJ\u0008\u0010u\u001a\u00020vH\u0002J\r\u0010O\u001a\u00020\u000fH\u0007\u00a2\u0006\u0002\u0008wR\u0013\u0010\u0008\u001a\u00020\t8G\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0008\u0010\nR\u0015\u0010\u000b\u001a\u0004\u0018\u00010\u000c8G\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u000b\u0010\rR\u0013\u0010\u000e\u001a\u00020\u000f8G\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u000e\u0010\u0010R\u0015\u0010\u0011\u001a\u0004\u0018\u00010\u00128G\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0011\u0010\u0013R\u0013\u0010\u0014\u001a\u00020\u00158G\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0014\u0010\u0016R\u0013\u0010\u0017\u001a\u00020\u000f8G\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0017\u0010\u0010R\u0013\u0010\u0018\u001a\u00020\u00198G\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0018\u0010\u001aR\u0019\u00
}
d2 = {
"Lokhttp3/OkHttpClient;",
"",
"Lokhttp3/Call$Factory;",
"Lokhttp3/WebSocket$Factory;",
"()V",
"builder",
"Lokhttp3/OkHttpClient$Builder;",
"(Lokhttp3/OkHttpClient$Builder;)V",
"authenticator",
"Lokhttp3/Authenticator;",
"()Lokhttp3/Authenticator;",
"cache",
"Lokhttp3/Cache;",
"()Lokhttp3/Cache;",
"callTimeoutMillis",
"",
"()I",
"certificateChainCleaner",
"Lokhttp3/internal/tls/CertificateChainCleaner;",
"()Lokhttp3/internal/tls/CertificateChainCleaner;",
"certificatePinner",
"Lokhttp3/CertificatePinner;",
"()Lokhttp3/CertificatePinner;",
"connectTimeoutMillis",
"connectionPool",
"Lokhttp3/ConnectionPool;",
"()Lokhttp3/ConnectionPool;",
"connectionSpecs",
"",
"Lokhttp3/ConnectionSpec;",
"()Ljava/util/List;",
"cookieJar",
"Lokhttp3/CookieJar;",
"()Lokhttp3/CookieJar;",
"dispatcher",
"Lokhttp3/Dispatcher;",
"()Lokhttp3/Dispatcher;",
"dns",
"Lokhttp3/Dns;",
"()Lokhttp3/Dns;",
"eventListenerFactory",
"Lokhttp3/EventListener$Factory;",
"()Lokhttp3/EventListener$Factory;",
"followRedirects",
"",
"()Z",
"followSslRedirects",
"hostnameVerifier",
"Ljavax/net/ssl/HostnameVerifier;",
"()Ljavax/net/ssl/HostnameVerifier;",
"interceptors",
"Lokhttp3/Interceptor;",
"minWebSocketMessageToCompress",
"",
"()J",
"networkInterceptors",
"pingIntervalMillis",
"protocols",
"Lokhttp3/Protocol;",
"proxy",
"Ljava/net/Proxy;",
"()Ljava/net/Proxy;",
"proxyAuthenticator",
"proxySelector",
"Ljava/net/ProxySelector;",
"()Ljava/net/ProxySelector;",
"readTimeoutMillis",
"retryOnConnectionFailure",
"routeDatabase",
"Lokhttp3/internal/connection/RouteDatabase;",
"getRouteDatabase",
"()Lokhttp3/internal/connection/RouteDatabase;",
"socketFactory",
"Ljavax/net/SocketFactory;",
"()Ljavax/net/SocketFactory;",
"sslSocketFactory",
"Ljavax/net/ssl/SSLSocketFactory;",
"()Ljavax/net/ssl/SSLSocketFactory;",
"sslSocketFactoryOrNull",
"writeTimeoutMillis",
"x509TrustManager",
"Ljavax/net/ssl/X509TrustManager;",
"()Ljavax/net/ssl/X509TrustManager;",
"-deprecated_authenticator",
"-deprecated_cache",
"-deprecated_callTimeoutMillis",
"-deprecated_certificatePinner",
"-deprecated_connectTimeoutMillis",
"-deprecated_connectionPool",
"-deprecated_connectionSpecs",
"-deprecated_cookieJar",
"-deprecated_dispatcher",
"-deprecated_dns",
"-deprecated_eventListenerFactory",
"-deprecated_followRedirects",
"-deprecated_followSslRedirects",
"-deprecated_hostnameVerifier",
"-deprecated_interceptors",
"-deprecated_networkInterceptors",
"newBuilder",
"newCall",
"Lokhttp3/Call;",
"request",
"Lokhttp3/Request;",
"newWebSocket",
"Lokhttp3/WebSocket;",
"listener",
"Lokhttp3/WebSocketListener;",
"-deprecated_pingIntervalMillis",
"-deprecated_protocols",
"-deprecated_proxy",
"-deprecated_proxyAuthenticator",
"-deprecated_proxySelector",
"-deprecated_readTimeoutMillis",
"-deprecated_retryOnConnectionFailure",
"-deprecated_socketFactory",
"-deprecated_sslSocketFactory",
"verifyClientState",
"",
"-deprecated_writeTimeoutMillis",
"Builder",
"Companion",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# static fields
.field public static final Companion:Lokhttp3/OkHttpClient$Companion;
.field private static final DEFAULT_CONNECTION_SPECS:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lokhttp3/ConnectionSpec;",
">;"
}
.end annotation
.end field
.field private static final DEFAULT_PROTOCOLS:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lokhttp3/Protocol;",
">;"
}
.end annotation
.end field
# instance fields
.field private final authenticator:Lokhttp3/Authenticator;
.field private final cache:Lokhttp3/Cache;
.field private final callTimeoutMillis:I
.field private final certificateChainCleaner:Lokhttp3/internal/tls/CertificateChainCleaner;
.field private final certificatePinner:Lokhttp3/CertificatePinner;
.field private final connectTimeoutMillis:I
.field private final connectionPool:Lokhttp3/ConnectionPool;
.field private final connectionSpecs:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lokhttp3/ConnectionSpec;",
">;"
}
.end annotation
.end field
.field private final cookieJar:Lokhttp3/CookieJar;
.field private final dispatcher:Lokhttp3/Dispatcher;
.field private final dns:Lokhttp3/Dns;
.field private final eventListenerFactory:Lokhttp3/EventListener$Factory;
.field private final followRedirects:Z
.field private final followSslRedirects:Z
.field private final hostnameVerifier:Ljavax/net/ssl/HostnameVerifier;
.field private final interceptors:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lokhttp3/Interceptor;",
">;"
}
.end annotation
.end field
.field private final minWebSocketMessageToCompress:J
.field private final networkInterceptors:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lokhttp3/Interceptor;",
">;"
}
.end annotation
.end field
.field private final pingIntervalMillis:I
.field private final protocols:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lokhttp3/Protocol;",
">;"
}
.end annotation
.end field
.field private final proxy:Ljava/net/Proxy;
.field private final proxyAuthenticator:Lokhttp3/Authenticator;
.field private final proxySelector:Ljava/net/ProxySelector;
.field private final readTimeoutMillis:I
.field private final retryOnConnectionFailure:Z
.field private final routeDatabase:Lokhttp3/internal/connection/RouteDatabase;
.field private final socketFactory:Ljavax/net/SocketFactory;
.field private final sslSocketFactoryOrNull:Ljavax/net/ssl/SSLSocketFactory;
.field private final writeTimeoutMillis:I
.field private final x509TrustManager:Ljavax/net/ssl/X509TrustManager;
# direct methods
.method static constructor <clinit>()V
.locals 5
new-instance v0, Lokhttp3/OkHttpClient$Companion;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lokhttp3/OkHttpClient$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lokhttp3/OkHttpClient;->Companion:Lokhttp3/OkHttpClient$Companion;
const/4 v0, 0x2
new-array v1, v0, [Lokhttp3/Protocol;
.line 1073
sget-object v2, Lokhttp3/Protocol;->HTTP_2:Lokhttp3/Protocol;
const/4 v3, 0x0
aput-object v2, v1, v3
sget-object v2, Lokhttp3/Protocol;->HTTP_1_1:Lokhttp3/Protocol;
const/4 v4, 0x1
aput-object v2, v1, v4
invoke-static {v1}, Lokhttp3/internal/Util;->immutableListOf([Ljava/lang/Object;)Ljava/util/List;
move-result-object v1
sput-object v1, Lokhttp3/OkHttpClient;->DEFAULT_PROTOCOLS:Ljava/util/List;
new-array v0, v0, [Lokhttp3/ConnectionSpec;
.line 1076
sget-object v1, Lokhttp3/ConnectionSpec;->MODERN_TLS:Lokhttp3/ConnectionSpec;
aput-object v1, v0, v3
sget-object v1, Lokhttp3/ConnectionSpec;->CLEARTEXT:Lokhttp3/ConnectionSpec;
aput-object v1, v0, v4
.line 1075
invoke-static {v0}, Lokhttp3/internal/Util;->immutableListOf([Ljava/lang/Object;)Ljava/util/List;
move-result-object v0
sput-object v0, Lokhttp3/OkHttpClient;->DEFAULT_CONNECTION_SPECS:Ljava/util/List;
return-void
.end method
.method public constructor <init>()V
.locals 1
.line 222
new-instance v0, Lokhttp3/OkHttpClient$Builder;
invoke-direct {v0}, Lokhttp3/OkHttpClient$Builder;-><init>()V
invoke-direct {p0, v0}, Lokhttp3/OkHttpClient;-><init>(Lokhttp3/OkHttpClient$Builder;)V
return-void
.end method
.method public constructor <init>(Lokhttp3/OkHttpClient$Builder;)V
.locals 3
const-string v0, "builder"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 121
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 125
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getDispatcher$okhttp()Lokhttp3/Dispatcher;
move-result-object v0
iput-object v0, p0, Lokhttp3/OkHttpClient;->dispatcher:Lokhttp3/Dispatcher;
.line 127
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getConnectionPool$okhttp()Lokhttp3/ConnectionPool;
move-result-object v0
iput-object v0, p0, Lokhttp3/OkHttpClient;->connectionPool:Lokhttp3/ConnectionPool;
.line 135
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getInterceptors$okhttp()Ljava/util/List;
move-result-object v0
invoke-static {v0}, Lokhttp3/internal/Util;->toImmutableList(Ljava/util/List;)Ljava/util/List;
move-result-object v0
iput-object v0, p0, Lokhttp3/OkHttpClient;->interceptors:Ljava/util/List;
.line 143
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getNetworkInterceptors$okhttp()Ljava/util/List;
move-result-object v0
invoke-static {v0}, Lokhttp3/internal/Util;->toImmutableList(Ljava/util/List;)Ljava/util/List;
move-result-object v0
iput-object v0, p0, Lokhttp3/OkHttpClient;->networkInterceptors:Ljava/util/List;
.line 146
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getEventListenerFactory$okhttp()Lokhttp3/EventListener$Factory;
move-result-object v0
iput-object v0, p0, Lokhttp3/OkHttpClient;->eventListenerFactory:Lokhttp3/EventListener$Factory;
.line 149
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getRetryOnConnectionFailure$okhttp()Z
move-result v0
iput-boolean v0, p0, Lokhttp3/OkHttpClient;->retryOnConnectionFailure:Z
.line 151
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getAuthenticator$okhttp()Lokhttp3/Authenticator;
move-result-object v0
iput-object v0, p0, Lokhttp3/OkHttpClient;->authenticator:Lokhttp3/Authenticator;
.line 153
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getFollowRedirects$okhttp()Z
move-result v0
iput-boolean v0, p0, Lokhttp3/OkHttpClient;->followRedirects:Z
.line 155
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getFollowSslRedirects$okhttp()Z
move-result v0
iput-boolean v0, p0, Lokhttp3/OkHttpClient;->followSslRedirects:Z
.line 157
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getCookieJar$okhttp()Lokhttp3/CookieJar;
move-result-object v0
iput-object v0, p0, Lokhttp3/OkHttpClient;->cookieJar:Lokhttp3/CookieJar;
.line 159
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getCache$okhttp()Lokhttp3/Cache;
move-result-object v0
iput-object v0, p0, Lokhttp3/OkHttpClient;->cache:Lokhttp3/Cache;
.line 161
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getDns$okhttp()Lokhttp3/Dns;
move-result-object v0
iput-object v0, p0, Lokhttp3/OkHttpClient;->dns:Lokhttp3/Dns;
.line 163
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getProxy$okhttp()Ljava/net/Proxy;
move-result-object v0
iput-object v0, p0, Lokhttp3/OkHttpClient;->proxy:Ljava/net/Proxy;
.line 168
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getProxy$okhttp()Ljava/net/Proxy;
move-result-object v0
if-eqz v0, :cond_0
sget-object v0, Lokhttp3/internal/proxy/NullProxySelector;->INSTANCE:Lokhttp3/internal/proxy/NullProxySelector;
check-cast v0, Ljava/net/ProxySelector;
goto :goto_1
.line 169
:cond_0
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getProxySelector$okhttp()Ljava/net/ProxySelector;
move-result-object v0
if-eqz v0, :cond_1
goto :goto_0
:cond_1
invoke-static {}, Ljava/net/ProxySelector;->getDefault()Ljava/net/ProxySelector;
move-result-object v0
:goto_0
if-eqz v0, :cond_2
goto :goto_1
:cond_2
sget-object v0, Lokhttp3/internal/proxy/NullProxySelector;->INSTANCE:Lokhttp3/internal/proxy/NullProxySelector;
check-cast v0, Ljava/net/ProxySelector;
:goto_1
iput-object v0, p0, Lokhttp3/OkHttpClient;->proxySelector:Ljava/net/ProxySelector;
.line 173
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getProxyAuthenticator$okhttp()Lokhttp3/Authenticator;
move-result-object v0
iput-object v0, p0, Lokhttp3/OkHttpClient;->proxyAuthenticator:Lokhttp3/Authenticator;
.line 175
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getSocketFactory$okhttp()Ljavax/net/SocketFactory;
move-result-object v0
iput-object v0, p0, Lokhttp3/OkHttpClient;->socketFactory:Ljavax/net/SocketFactory;
.line 185
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getConnectionSpecs$okhttp()Ljava/util/List;
move-result-object v0
iput-object v0, p0, Lokhttp3/OkHttpClient;->connectionSpecs:Ljava/util/List;
.line 187
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getProtocols$okhttp()Ljava/util/List;
move-result-object v1
iput-object v1, p0, Lokhttp3/OkHttpClient;->protocols:Ljava/util/List;
.line 189
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getHostnameVerifier$okhttp()Ljavax/net/ssl/HostnameVerifier;
move-result-object v1
iput-object v1, p0, Lokhttp3/OkHttpClient;->hostnameVerifier:Ljavax/net/ssl/HostnameVerifier;
.line 199
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getCallTimeout$okhttp()I
move-result v1
iput v1, p0, Lokhttp3/OkHttpClient;->callTimeoutMillis:I
.line 202
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getConnectTimeout$okhttp()I
move-result v1
iput v1, p0, Lokhttp3/OkHttpClient;->connectTimeoutMillis:I
.line 205
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getReadTimeout$okhttp()I
move-result v1
iput v1, p0, Lokhttp3/OkHttpClient;->readTimeoutMillis:I
.line 208
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getWriteTimeout$okhttp()I
move-result v1
iput v1, p0, Lokhttp3/OkHttpClient;->writeTimeoutMillis:I
.line 211
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getPingInterval$okhttp()I
move-result v1
iput v1, p0, Lokhttp3/OkHttpClient;->pingIntervalMillis:I
.line 218
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getMinWebSocketMessageToCompress$okhttp()J
move-result-wide v1
iput-wide v1, p0, Lokhttp3/OkHttpClient;->minWebSocketMessageToCompress:J
.line 220
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getRouteDatabase$okhttp()Lokhttp3/internal/connection/RouteDatabase;
move-result-object v1
if-eqz v1, :cond_3
goto :goto_2
:cond_3
new-instance v1, Lokhttp3/internal/connection/RouteDatabase;
invoke-direct {v1}, Lokhttp3/internal/connection/RouteDatabase;-><init>()V
:goto_2
iput-object v1, p0, Lokhttp3/OkHttpClient;->routeDatabase:Lokhttp3/internal/connection/RouteDatabase;
.line 225
check-cast v0, Ljava/lang/Iterable;
.line 1084
instance-of v1, v0, Ljava/util/Collection;
if-eqz v1, :cond_4
move-object v1, v0
check-cast v1, Ljava/util/Collection;
invoke-interface {v1}, Ljava/util/Collection;->isEmpty()Z
move-result v1
if-eqz v1, :cond_4
goto/16 :goto_3
.line 1085
:cond_4
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object v0
:cond_5
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_7
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lokhttp3/ConnectionSpec;
.line 225
invoke-virtual {v1}, Lokhttp3/ConnectionSpec;->isTls()Z
move-result v1
if-eqz v1, :cond_5
.line 230
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getSslSocketFactoryOrNull$okhttp()Ljavax/net/ssl/SSLSocketFactory;
move-result-object v0
if-eqz v0, :cond_6
.line 231
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getSslSocketFactoryOrNull$okhttp()Ljavax/net/ssl/SSLSocketFactory;
move-result-object v0
iput-object v0, p0, Lokhttp3/OkHttpClient;->sslSocketFactoryOrNull:Ljavax/net/ssl/SSLSocketFactory;
.line 232
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getCertificateChainCleaner$okhttp()Lokhttp3/internal/tls/CertificateChainCleaner;
move-result-object v0
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
iput-object v0, p0, Lokhttp3/OkHttpClient;->certificateChainCleaner:Lokhttp3/internal/tls/CertificateChainCleaner;
.line 233
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getX509TrustManagerOrNull$okhttp()Ljavax/net/ssl/X509TrustManager;
move-result-object v1
invoke-static {v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
iput-object v1, p0, Lokhttp3/OkHttpClient;->x509TrustManager:Ljavax/net/ssl/X509TrustManager;
.line 234
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getCertificatePinner$okhttp()Lokhttp3/CertificatePinner;
move-result-object p1
.line 235
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
invoke-virtual {p1, v0}, Lokhttp3/CertificatePinner;->withCertificateChainCleaner$okhttp(Lokhttp3/internal/tls/CertificateChainCleaner;)Lokhttp3/CertificatePinner;
move-result-object p1
iput-object p1, p0, Lokhttp3/OkHttpClient;->certificatePinner:Lokhttp3/CertificatePinner;
goto :goto_4
.line 237
:cond_6
sget-object v0, Lokhttp3/internal/platform/Platform;->Companion:Lokhttp3/internal/platform/Platform$Companion;
invoke-virtual {v0}, Lokhttp3/internal/platform/Platform$Companion;->get()Lokhttp3/internal/platform/Platform;
move-result-object v0
invoke-virtual {v0}, Lokhttp3/internal/platform/Platform;->platformTrustManager()Ljavax/net/ssl/X509TrustManager;
move-result-object v0
iput-object v0, p0, Lokhttp3/OkHttpClient;->x509TrustManager:Ljavax/net/ssl/X509TrustManager;
.line 238
sget-object v1, Lokhttp3/internal/platform/Platform;->Companion:Lokhttp3/internal/platform/Platform$Companion;
invoke-virtual {v1}, Lokhttp3/internal/platform/Platform$Companion;->get()Lokhttp3/internal/platform/Platform;
move-result-object v1
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
invoke-virtual {v1, v0}, Lokhttp3/internal/platform/Platform;->newSslSocketFactory(Ljavax/net/ssl/X509TrustManager;)Ljavax/net/ssl/SSLSocketFactory;
move-result-object v1
iput-object v1, p0, Lokhttp3/OkHttpClient;->sslSocketFactoryOrNull:Ljavax/net/ssl/SSLSocketFactory;
.line 239
sget-object v1, Lokhttp3/internal/tls/CertificateChainCleaner;->Companion:Lokhttp3/internal/tls/CertificateChainCleaner$Companion;
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
invoke-virtual {v1, v0}, Lokhttp3/internal/tls/CertificateChainCleaner$Companion;->get(Ljavax/net/ssl/X509TrustManager;)Lokhttp3/internal/tls/CertificateChainCleaner;
move-result-object v0
iput-object v0, p0, Lokhttp3/OkHttpClient;->certificateChainCleaner:Lokhttp3/internal/tls/CertificateChainCleaner;
.line 240
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->getCertificatePinner$okhttp()Lokhttp3/CertificatePinner;
move-result-object p1
.line 241
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
invoke-virtual {p1, v0}, Lokhttp3/CertificatePinner;->withCertificateChainCleaner$okhttp(Lokhttp3/internal/tls/CertificateChainCleaner;)Lokhttp3/CertificatePinner;
move-result-object p1
iput-object p1, p0, Lokhttp3/OkHttpClient;->certificatePinner:Lokhttp3/CertificatePinner;
goto :goto_4
:cond_7
:goto_3
const/4 p1, 0x0
.line 226
move-object v0, p1
check-cast v0, Ljavax/net/ssl/SSLSocketFactory;
iput-object p1, p0, Lokhttp3/OkHttpClient;->sslSocketFactoryOrNull:Ljavax/net/ssl/SSLSocketFactory;
.line 227
move-object v0, p1
check-cast v0, Lokhttp3/internal/tls/CertificateChainCleaner;
iput-object p1, p0, Lokhttp3/OkHttpClient;->certificateChainCleaner:Lokhttp3/internal/tls/CertificateChainCleaner;
.line 228
move-object v0, p1
check-cast v0, Ljavax/net/ssl/X509TrustManager;
iput-object p1, p0, Lokhttp3/OkHttpClient;->x509TrustManager:Ljavax/net/ssl/X509TrustManager;
.line 229
sget-object p1, Lokhttp3/CertificatePinner;->DEFAULT:Lokhttp3/CertificatePinner;
iput-object p1, p0, Lokhttp3/OkHttpClient;->certificatePinner:Lokhttp3/CertificatePinner;
.line 244
:goto_4
invoke-direct {p0}, Lokhttp3/OkHttpClient;->verifyClientState()V
return-void
.end method
.method public static final synthetic access$getDEFAULT_CONNECTION_SPECS$cp()Ljava/util/List;
.locals 1
sget-object v0, Lokhttp3/OkHttpClient;->DEFAULT_CONNECTION_SPECS:Ljava/util/List;
return-object v0
.end method
.method public static final synthetic access$getDEFAULT_PROTOCOLS$cp()Ljava/util/List;
.locals 1
sget-object v0, Lokhttp3/OkHttpClient;->DEFAULT_PROTOCOLS:Ljava/util/List;
return-object v0
.end method
.method public static final synthetic access$getSslSocketFactoryOrNull$p(Lokhttp3/OkHttpClient;)Ljavax/net/ssl/SSLSocketFactory;
.locals 0
.line 121
iget-object p0, p0, Lokhttp3/OkHttpClient;->sslSocketFactoryOrNull:Ljavax/net/ssl/SSLSocketFactory;
return-object p0
.end method
.method private final verifyClientState()V
.locals 4
iget-object v0, p0, Lokhttp3/OkHttpClient;->interceptors:Ljava/util/List;
const-string v1, "null cannot be cast to non-null type kotlin.collections.List<okhttp3.Interceptor?>"
if-eqz v0, :cond_10
const/4 v2, 0x0
.line 248
invoke-interface {v0, v2}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
move-result v0
const/4 v3, 0x1
xor-int/2addr v0, v3
if-eqz v0, :cond_f
iget-object v0, p0, Lokhttp3/OkHttpClient;->networkInterceptors:Ljava/util/List;
if-eqz v0, :cond_e
.line 251
invoke-interface {v0, v2}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
move-result v0
xor-int/2addr v0, v3
if-eqz v0, :cond_d
iget-object v0, p0, Lokhttp3/OkHttpClient;->connectionSpecs:Ljava/util/List;
.line 255
check-cast v0, Ljava/lang/Iterable;
.line 1080
instance-of v1, v0, Ljava/util/Collection;
if-eqz v1, :cond_0
move-object v1, v0
check-cast v1, Ljava/util/Collection;
invoke-interface {v1}, Ljava/util/Collection;->isEmpty()Z
move-result v1
if-eqz v1, :cond_0
goto :goto_0
.line 1081
:cond_0
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object v0
:cond_1
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_5
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lokhttp3/ConnectionSpec;
.line 255
invoke-virtual {v1}, Lokhttp3/ConnectionSpec;->isTls()Z
move-result v1
if-eqz v1, :cond_1
iget-object v0, p0, Lokhttp3/OkHttpClient;->sslSocketFactoryOrNull:Ljavax/net/ssl/SSLSocketFactory;
if-eqz v0, :cond_4
iget-object v0, p0, Lokhttp3/OkHttpClient;->certificateChainCleaner:Lokhttp3/internal/tls/CertificateChainCleaner;
if-eqz v0, :cond_3
iget-object p0, p0, Lokhttp3/OkHttpClient;->x509TrustManager:Ljavax/net/ssl/X509TrustManager;
if-eqz p0, :cond_2
goto :goto_4
.line 263
:cond_2
new-instance p0, Ljava/lang/IllegalStateException;
const-string v0, "x509TrustManager == null"
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
check-cast p0, Ljava/lang/Throwable;
throw p0
.line 262
:cond_3
new-instance p0, Ljava/lang/IllegalStateException;
const-string v0, "certificateChainCleaner == null"
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
check-cast p0, Ljava/lang/Throwable;
throw p0
.line 261
:cond_4
new-instance p0, Ljava/lang/IllegalStateException;
const-string v0, "sslSocketFactory == null"
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
check-cast p0, Ljava/lang/Throwable;
throw p0
:cond_5
:goto_0
iget-object v0, p0, Lokhttp3/OkHttpClient;->sslSocketFactoryOrNull:Ljavax/net/ssl/SSLSocketFactory;
const/4 v1, 0x0
if-nez v0, :cond_6
move v0, v3
goto :goto_1
:cond_6
move v0, v1
:goto_1
const-string v2, "Check failed."
if-eqz v0, :cond_c
iget-object v0, p0, Lokhttp3/OkHttpClient;->certificateChainCleaner:Lokhttp3/internal/tls/CertificateChainCleaner;
if-nez v0, :cond_7
move v0, v3
goto :goto_2
:cond_7
move v0, v1
:goto_2
if-eqz v0, :cond_b
iget-object v0, p0, Lokhttp3/OkHttpClient;->x509TrustManager:Ljavax/net/ssl/X509TrustManager;
if-nez v0, :cond_8
goto :goto_3
:cond_8
move v3, v1
:goto_3
if-eqz v3, :cond_a
iget-object p0, p0, Lokhttp3/OkHttpClient;->certificatePinner:Lokhttp3/CertificatePinner;
.line 259
sget-object v0, Lokhttp3/CertificatePinner;->DEFAULT:Lokhttp3/CertificatePinner;
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p0
if-eqz p0, :cond_9
:goto_4
return-void
:cond_9
new-instance p0, Ljava/lang/IllegalStateException;
invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
check-cast p0, Ljava/lang/Throwable;
throw p0
.line 258
:cond_a
new-instance p0, Ljava/lang/IllegalStateException;
invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
check-cast p0, Ljava/lang/Throwable;
throw p0
.line 257
:cond_b
new-instance p0, Ljava/lang/IllegalStateException;
invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
check-cast p0, Ljava/lang/Throwable;
throw p0
.line 256
:cond_c
new-instance p0, Ljava/lang/IllegalStateException;
invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
check-cast p0, Ljava/lang/Throwable;
throw p0
.line 252
:cond_d
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "Null network interceptor: "
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
iget-object p0, p0, Lokhttp3/OkHttpClient;->networkInterceptors:Ljava/util/List;
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
.line 251
new-instance v0, Ljava/lang/IllegalStateException;
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p0
invoke-direct {v0, p0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
check-cast v0, Ljava/lang/Throwable;
throw v0
:cond_e
new-instance p0, Ljava/lang/NullPointerException;
invoke-direct {p0, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
throw p0
.line 249
:cond_f
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "Null interceptor: "
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
iget-object p0, p0, Lokhttp3/OkHttpClient;->interceptors:Ljava/util/List;
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
.line 248
new-instance v0, Ljava/lang/IllegalStateException;
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p0
invoke-direct {v0, p0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
check-cast v0, Ljava/lang/Throwable;
throw v0
:cond_10
new-instance p0, Ljava/lang/NullPointerException;
invoke-direct {p0, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
throw p0
.end method
# virtual methods
.method public final -deprecated_authenticator()Lokhttp3/Authenticator;
.locals 0
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "authenticator"
imports = {}
.end subannotation
.end annotation
iget-object p0, p0, Lokhttp3/OkHttpClient;->authenticator:Lokhttp3/Authenticator;
return-object p0
.end method
.method public final -deprecated_cache()Lokhttp3/Cache;
.locals 0
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "cache"
imports = {}
.end subannotation
.end annotation
iget-object p0, p0, Lokhttp3/OkHttpClient;->cache:Lokhttp3/Cache;
return-object p0
.end method
.method public final -deprecated_callTimeoutMillis()I
.locals 0
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "callTimeoutMillis"
imports = {}
.end subannotation
.end annotation
iget p0, p0, Lokhttp3/OkHttpClient;->callTimeoutMillis:I
return p0
.end method
.method public final -deprecated_certificatePinner()Lokhttp3/CertificatePinner;
.locals 0
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "certificatePinner"
imports = {}
.end subannotation
.end annotation
iget-object p0, p0, Lokhttp3/OkHttpClient;->certificatePinner:Lokhttp3/CertificatePinner;
return-object p0
.end method
.method public final -deprecated_connectTimeoutMillis()I
.locals 0
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "connectTimeoutMillis"
imports = {}
.end subannotation
.end annotation
iget p0, p0, Lokhttp3/OkHttpClient;->connectTimeoutMillis:I
return p0
.end method
.method public final -deprecated_connectionPool()Lokhttp3/ConnectionPool;
.locals 0
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "connectionPool"
imports = {}
.end subannotation
.end annotation
iget-object p0, p0, Lokhttp3/OkHttpClient;->connectionPool:Lokhttp3/ConnectionPool;
return-object p0
.end method
.method public final -deprecated_connectionSpecs()Ljava/util/List;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Lokhttp3/ConnectionSpec;",
">;"
}
.end annotation
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "connectionSpecs"
imports = {}
.end subannotation
.end annotation
iget-object p0, p0, Lokhttp3/OkHttpClient;->connectionSpecs:Ljava/util/List;
return-object p0
.end method
.method public final -deprecated_cookieJar()Lokhttp3/CookieJar;
.locals 0
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "cookieJar"
imports = {}
.end subannotation
.end annotation
iget-object p0, p0, Lokhttp3/OkHttpClient;->cookieJar:Lokhttp3/CookieJar;
return-object p0
.end method
.method public final -deprecated_dispatcher()Lokhttp3/Dispatcher;
.locals 0
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "dispatcher"
imports = {}
.end subannotation
.end annotation
iget-object p0, p0, Lokhttp3/OkHttpClient;->dispatcher:Lokhttp3/Dispatcher;
return-object p0
.end method
.method public final -deprecated_dns()Lokhttp3/Dns;
.locals 0
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "dns"
imports = {}
.end subannotation
.end annotation
iget-object p0, p0, Lokhttp3/OkHttpClient;->dns:Lokhttp3/Dns;
return-object p0
.end method
.method public final -deprecated_eventListenerFactory()Lokhttp3/EventListener$Factory;
.locals 0
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "eventListenerFactory"
imports = {}
.end subannotation
.end annotation
iget-object p0, p0, Lokhttp3/OkHttpClient;->eventListenerFactory:Lokhttp3/EventListener$Factory;
return-object p0
.end method
.method public final -deprecated_followRedirects()Z
.locals 0
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "followRedirects"
imports = {}
.end subannotation
.end annotation
iget-boolean p0, p0, Lokhttp3/OkHttpClient;->followRedirects:Z
return p0
.end method
.method public final -deprecated_followSslRedirects()Z
.locals 0
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "followSslRedirects"
imports = {}
.end subannotation
.end annotation
iget-boolean p0, p0, Lokhttp3/OkHttpClient;->followSslRedirects:Z
return p0
.end method
.method public final -deprecated_hostnameVerifier()Ljavax/net/ssl/HostnameVerifier;
.locals 0
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "hostnameVerifier"
imports = {}
.end subannotation
.end annotation
iget-object p0, p0, Lokhttp3/OkHttpClient;->hostnameVerifier:Ljavax/net/ssl/HostnameVerifier;
return-object p0
.end method
.method public final -deprecated_interceptors()Ljava/util/List;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Lokhttp3/Interceptor;",
">;"
}
.end annotation
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "interceptors"
imports = {}
.end subannotation
.end annotation
iget-object p0, p0, Lokhttp3/OkHttpClient;->interceptors:Ljava/util/List;
return-object p0
.end method
.method public final -deprecated_networkInterceptors()Ljava/util/List;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Lokhttp3/Interceptor;",
">;"
}
.end annotation
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "networkInterceptors"
imports = {}
.end subannotation
.end annotation
iget-object p0, p0, Lokhttp3/OkHttpClient;->networkInterceptors:Ljava/util/List;
return-object p0
.end method
.method public final -deprecated_pingIntervalMillis()I
.locals 0
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "pingIntervalMillis"
imports = {}
.end subannotation
.end annotation
iget p0, p0, Lokhttp3/OkHttpClient;->pingIntervalMillis:I
return p0
.end method
.method public final -deprecated_protocols()Ljava/util/List;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Lokhttp3/Protocol;",
">;"
}
.end annotation
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "protocols"
imports = {}
.end subannotation
.end annotation
iget-object p0, p0, Lokhttp3/OkHttpClient;->protocols:Ljava/util/List;
return-object p0
.end method
.method public final -deprecated_proxy()Ljava/net/Proxy;
.locals 0
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "proxy"
imports = {}
.end subannotation
.end annotation
iget-object p0, p0, Lokhttp3/OkHttpClient;->proxy:Ljava/net/Proxy;
return-object p0
.end method
.method public final -deprecated_proxyAuthenticator()Lokhttp3/Authenticator;
.locals 0
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "proxyAuthenticator"
imports = {}
.end subannotation
.end annotation
iget-object p0, p0, Lokhttp3/OkHttpClient;->proxyAuthenticator:Lokhttp3/Authenticator;
return-object p0
.end method
.method public final -deprecated_proxySelector()Ljava/net/ProxySelector;
.locals 0
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "proxySelector"
imports = {}
.end subannotation
.end annotation
iget-object p0, p0, Lokhttp3/OkHttpClient;->proxySelector:Ljava/net/ProxySelector;
return-object p0
.end method
.method public final -deprecated_readTimeoutMillis()I
.locals 0
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "readTimeoutMillis"
imports = {}
.end subannotation
.end annotation
iget p0, p0, Lokhttp3/OkHttpClient;->readTimeoutMillis:I
return p0
.end method
.method public final -deprecated_retryOnConnectionFailure()Z
.locals 0
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "retryOnConnectionFailure"
imports = {}
.end subannotation
.end annotation
iget-boolean p0, p0, Lokhttp3/OkHttpClient;->retryOnConnectionFailure:Z
return p0
.end method
.method public final -deprecated_socketFactory()Ljavax/net/SocketFactory;
.locals 0
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "socketFactory"
imports = {}
.end subannotation
.end annotation
iget-object p0, p0, Lokhttp3/OkHttpClient;->socketFactory:Ljavax/net/SocketFactory;
return-object p0
.end method
.method public final -deprecated_sslSocketFactory()Ljavax/net/ssl/SSLSocketFactory;
.locals 0
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "sslSocketFactory"
imports = {}
.end subannotation
.end annotation
.line 404
invoke-virtual {p0}, Lokhttp3/OkHttpClient;->sslSocketFactory()Ljavax/net/ssl/SSLSocketFactory;
move-result-object p0
return-object p0
.end method
.method public final -deprecated_writeTimeoutMillis()I
.locals 0
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "writeTimeoutMillis"
imports = {}
.end subannotation
.end annotation
iget p0, p0, Lokhttp3/OkHttpClient;->writeTimeoutMillis:I
return p0
.end method
.method public final authenticator()Lokhttp3/Authenticator;
.locals 0
iget-object p0, p0, Lokhttp3/OkHttpClient;->authenticator:Lokhttp3/Authenticator;
return-object p0
.end method
.method public final cache()Lokhttp3/Cache;
.locals 0
iget-object p0, p0, Lokhttp3/OkHttpClient;->cache:Lokhttp3/Cache;
return-object p0
.end method
.method public final callTimeoutMillis()I
.locals 0
iget p0, p0, Lokhttp3/OkHttpClient;->callTimeoutMillis:I
return p0
.end method
.method public final certificateChainCleaner()Lokhttp3/internal/tls/CertificateChainCleaner;
.locals 0
iget-object p0, p0, Lokhttp3/OkHttpClient;->certificateChainCleaner:Lokhttp3/internal/tls/CertificateChainCleaner;
return-object p0
.end method
.method public final certificatePinner()Lokhttp3/CertificatePinner;
.locals 0
iget-object p0, p0, Lokhttp3/OkHttpClient;->certificatePinner:Lokhttp3/CertificatePinner;
return-object p0
.end method
.method public clone()Ljava/lang/Object;
.locals 0
.line 121
invoke-super {p0}, Ljava/lang/Object;->clone()Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public final connectTimeoutMillis()I
.locals 0
iget p0, p0, Lokhttp3/OkHttpClient;->connectTimeoutMillis:I
return p0
.end method
.method public final connectionPool()Lokhttp3/ConnectionPool;
.locals 0
iget-object p0, p0, Lokhttp3/OkHttpClient;->connectionPool:Lokhttp3/ConnectionPool;
return-object p0
.end method
.method public final connectionSpecs()Ljava/util/List;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Lokhttp3/ConnectionSpec;",
">;"
}
.end annotation
iget-object p0, p0, Lokhttp3/OkHttpClient;->connectionSpecs:Ljava/util/List;
return-object p0
.end method
.method public final cookieJar()Lokhttp3/CookieJar;
.locals 0
iget-object p0, p0, Lokhttp3/OkHttpClient;->cookieJar:Lokhttp3/CookieJar;
return-object p0
.end method
.method public final dispatcher()Lokhttp3/Dispatcher;
.locals 0
iget-object p0, p0, Lokhttp3/OkHttpClient;->dispatcher:Lokhttp3/Dispatcher;
return-object p0
.end method
.method public final dns()Lokhttp3/Dns;
.locals 0
iget-object p0, p0, Lokhttp3/OkHttpClient;->dns:Lokhttp3/Dns;
return-object p0
.end method
.method public final eventListenerFactory()Lokhttp3/EventListener$Factory;
.locals 0
iget-object p0, p0, Lokhttp3/OkHttpClient;->eventListenerFactory:Lokhttp3/EventListener$Factory;
return-object p0
.end method
.method public final followRedirects()Z
.locals 0
iget-boolean p0, p0, Lokhttp3/OkHttpClient;->followRedirects:Z
return p0
.end method
.method public final followSslRedirects()Z
.locals 0
iget-boolean p0, p0, Lokhttp3/OkHttpClient;->followSslRedirects:Z
return p0
.end method
.method public final getRouteDatabase()Lokhttp3/internal/connection/RouteDatabase;
.locals 0
iget-object p0, p0, Lokhttp3/OkHttpClient;->routeDatabase:Lokhttp3/internal/connection/RouteDatabase;
return-object p0
.end method
.method public final hostnameVerifier()Ljavax/net/ssl/HostnameVerifier;
.locals 0
iget-object p0, p0, Lokhttp3/OkHttpClient;->hostnameVerifier:Ljavax/net/ssl/HostnameVerifier;
return-object p0
.end method
.method public final interceptors()Ljava/util/List;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Lokhttp3/Interceptor;",
">;"
}
.end annotation
iget-object p0, p0, Lokhttp3/OkHttpClient;->interceptors:Ljava/util/List;
return-object p0
.end method
.method public final minWebSocketMessageToCompress()J
.locals 2
iget-wide v0, p0, Lokhttp3/OkHttpClient;->minWebSocketMessageToCompress:J
return-wide v0
.end method
.method public final networkInterceptors()Ljava/util/List;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Lokhttp3/Interceptor;",
">;"
}
.end annotation
iget-object p0, p0, Lokhttp3/OkHttpClient;->networkInterceptors:Ljava/util/List;
return-object p0
.end method
.method public newBuilder()Lokhttp3/OkHttpClient$Builder;
.locals 1
.line 285
new-instance v0, Lokhttp3/OkHttpClient$Builder;
invoke-direct {v0, p0}, Lokhttp3/OkHttpClient$Builder;-><init>(Lokhttp3/OkHttpClient;)V
return-object v0
.end method
.method public newCall(Lokhttp3/Request;)Lokhttp3/Call;
.locals 2
const-string v0, "request"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 268
new-instance v0, Lokhttp3/internal/connection/RealCall;
const/4 v1, 0x0
invoke-direct {v0, p0, p1, v1}, Lokhttp3/internal/connection/RealCall;-><init>(Lokhttp3/OkHttpClient;Lokhttp3/Request;Z)V
check-cast v0, Lokhttp3/Call;
return-object v0
.end method
.method public newWebSocket(Lokhttp3/Request;Lokhttp3/WebSocketListener;)Lokhttp3/WebSocket;
.locals 11
const-string v0, "request"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "listener"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 272
new-instance v0, Lokhttp3/internal/ws/RealWebSocket;
.line 273
sget-object v2, Lokhttp3/internal/concurrent/TaskRunner;->INSTANCE:Lokhttp3/internal/concurrent/TaskRunner;
.line 276
new-instance v5, Ljava/util/Random;
invoke-direct {v5}, Ljava/util/Random;-><init>()V
iget v1, p0, Lokhttp3/OkHttpClient;->pingIntervalMillis:I
int-to-long v6, v1
const/4 v8, 0x0
iget-wide v9, p0, Lokhttp3/OkHttpClient;->minWebSocketMessageToCompress:J
move-object v1, v0
move-object v3, p1
move-object v4, p2
.line 272
invoke-direct/range {v1 .. v10}, Lokhttp3/internal/ws/RealWebSocket;-><init>(Lokhttp3/internal/concurrent/TaskRunner;Lokhttp3/Request;Lokhttp3/WebSocketListener;Ljava/util/Random;JLokhttp3/internal/ws/WebSocketExtensions;J)V
.line 281
invoke-virtual {v0, p0}, Lokhttp3/internal/ws/RealWebSocket;->connect(Lokhttp3/OkHttpClient;)V
.line 282
check-cast v0, Lokhttp3/WebSocket;
return-object v0
.end method
.method public final pingIntervalMillis()I
.locals 0
iget p0, p0, Lokhttp3/OkHttpClient;->pingIntervalMillis:I
return p0
.end method
.method public final protocols()Ljava/util/List;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Lokhttp3/Protocol;",
">;"
}
.end annotation
iget-object p0, p0, Lokhttp3/OkHttpClient;->protocols:Ljava/util/List;
return-object p0
.end method
.method public final proxy()Ljava/net/Proxy;
.locals 0
iget-object p0, p0, Lokhttp3/OkHttpClient;->proxy:Ljava/net/Proxy;
return-object p0
.end method
.method public final proxyAuthenticator()Lokhttp3/Authenticator;
.locals 0
iget-object p0, p0, Lokhttp3/OkHttpClient;->proxyAuthenticator:Lokhttp3/Authenticator;
return-object p0
.end method
.method public final proxySelector()Ljava/net/ProxySelector;
.locals 0
iget-object p0, p0, Lokhttp3/OkHttpClient;->proxySelector:Ljava/net/ProxySelector;
return-object p0
.end method
.method public final readTimeoutMillis()I
.locals 0
iget p0, p0, Lokhttp3/OkHttpClient;->readTimeoutMillis:I
return p0
.end method
.method public final retryOnConnectionFailure()Z
.locals 0
iget-boolean p0, p0, Lokhttp3/OkHttpClient;->retryOnConnectionFailure:Z
return p0
.end method
.method public final socketFactory()Ljavax/net/SocketFactory;
.locals 0
iget-object p0, p0, Lokhttp3/OkHttpClient;->socketFactory:Ljavax/net/SocketFactory;
return-object p0
.end method
.method public final sslSocketFactory()Ljavax/net/ssl/SSLSocketFactory;
.locals 1
iget-object p0, p0, Lokhttp3/OkHttpClient;->sslSocketFactoryOrNull:Ljavax/net/ssl/SSLSocketFactory;
if-eqz p0, :cond_0
return-object p0
.line 180
:cond_0
new-instance p0, Ljava/lang/IllegalStateException;
const-string v0, "CLEARTEXT-only client"
invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
check-cast p0, Ljava/lang/Throwable;
throw p0
.end method
.method public final writeTimeoutMillis()I
.locals 0
iget p0, p0, Lokhttp3/OkHttpClient;->writeTimeoutMillis:I
return p0
.end method
.method public final x509TrustManager()Ljavax/net/ssl/X509TrustManager;
.locals 0
iget-object p0, p0, Lokhttp3/OkHttpClient;->x509TrustManager:Ljavax/net/ssl/X509TrustManager;
return-object p0
.end method