497 lines
12 KiB
Smali
497 lines
12 KiB
Smali
.class public final Lokhttp3/t$a;
|
|
.super Ljava/lang/Object;
|
|
.source "OkHttpClient.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lokhttp3/t;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "a"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field bjQ:Lokhttp3/internal/i/c;
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field bjq:Lokhttp3/o;
|
|
|
|
.field bjr:Ljavax/net/SocketFactory;
|
|
|
|
.field bjs:Lokhttp3/b;
|
|
|
|
.field bjt:Ljava/util/List;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Lokhttp3/u;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field bju:Ljava/util/List;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Lokhttp3/k;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field bjv:Ljava/net/Proxy;
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field bjw:Lokhttp3/g;
|
|
|
|
.field bjy:Lokhttp3/internal/a/e;
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field bnN:Lokhttp3/n;
|
|
|
|
.field final bnO:Ljava/util/List;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Lokhttp3/Interceptor;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field final bnP:Ljava/util/List;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Lokhttp3/Interceptor;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field bnQ:Lokhttp3/p$a;
|
|
|
|
.field bnR:Lokhttp3/c;
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field bnS:Lokhttp3/b;
|
|
|
|
.field bnT:Lokhttp3/j;
|
|
|
|
.field bnU:Z
|
|
|
|
.field bnV:Z
|
|
|
|
.field bnW:Z
|
|
|
|
.field bnX:I
|
|
|
|
.field bnY:I
|
|
|
|
.field bnZ:I
|
|
|
|
.field boa:I
|
|
|
|
.field bob:I
|
|
|
|
.field cookieJar:Lokhttp3/m;
|
|
|
|
.field hostnameVerifier:Ljavax/net/ssl/HostnameVerifier;
|
|
|
|
.field proxySelector:Ljava/net/ProxySelector;
|
|
|
|
.field sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 2
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->bnO:Ljava/util/List;
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->bnP:Ljava/util/List;
|
|
|
|
new-instance v0, Lokhttp3/n;
|
|
|
|
invoke-direct {v0}, Lokhttp3/n;-><init>()V
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->bnN:Lokhttp3/n;
|
|
|
|
sget-object v0, Lokhttp3/t;->bnL:Ljava/util/List;
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->bjt:Ljava/util/List;
|
|
|
|
sget-object v0, Lokhttp3/t;->bnM:Ljava/util/List;
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->bju:Ljava/util/List;
|
|
|
|
sget-object v0, Lokhttp3/p;->bmU:Lokhttp3/p;
|
|
|
|
invoke-static {v0}, Lokhttp3/p;->a(Lokhttp3/p;)Lokhttp3/p$a;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->bnQ:Lokhttp3/p$a;
|
|
|
|
invoke-static {}, Ljava/net/ProxySelector;->getDefault()Ljava/net/ProxySelector;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->proxySelector:Ljava/net/ProxySelector;
|
|
|
|
iget-object v0, p0, Lokhttp3/t$a;->proxySelector:Ljava/net/ProxySelector;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
new-instance v0, Lokhttp3/internal/h/a;
|
|
|
|
invoke-direct {v0}, Lokhttp3/internal/h/a;-><init>()V
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->proxySelector:Ljava/net/ProxySelector;
|
|
|
|
:cond_0
|
|
sget-object v0, Lokhttp3/m;->bmM:Lokhttp3/m;
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->cookieJar:Lokhttp3/m;
|
|
|
|
invoke-static {}, Ljavax/net/SocketFactory;->getDefault()Ljavax/net/SocketFactory;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->bjr:Ljavax/net/SocketFactory;
|
|
|
|
sget-object v0, Lokhttp3/internal/i/d;->btG:Lokhttp3/internal/i/d;
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->hostnameVerifier:Ljavax/net/ssl/HostnameVerifier;
|
|
|
|
sget-object v0, Lokhttp3/g;->bjO:Lokhttp3/g;
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->bjw:Lokhttp3/g;
|
|
|
|
sget-object v0, Lokhttp3/b;->bjx:Lokhttp3/b;
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->bjs:Lokhttp3/b;
|
|
|
|
sget-object v0, Lokhttp3/b;->bjx:Lokhttp3/b;
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->bnS:Lokhttp3/b;
|
|
|
|
new-instance v0, Lokhttp3/j;
|
|
|
|
invoke-direct {v0}, Lokhttp3/j;-><init>()V
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->bnT:Lokhttp3/j;
|
|
|
|
sget-object v0, Lokhttp3/o;->bmT:Lokhttp3/o;
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->bjq:Lokhttp3/o;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p0, Lokhttp3/t$a;->bnU:Z
|
|
|
|
iput-boolean v0, p0, Lokhttp3/t$a;->bnV:Z
|
|
|
|
iput-boolean v0, p0, Lokhttp3/t$a;->bnW:Z
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput v0, p0, Lokhttp3/t$a;->bnX:I
|
|
|
|
const/16 v1, 0x2710
|
|
|
|
iput v1, p0, Lokhttp3/t$a;->bnY:I
|
|
|
|
iput v1, p0, Lokhttp3/t$a;->bnZ:I
|
|
|
|
iput v1, p0, Lokhttp3/t$a;->boa:I
|
|
|
|
iput v0, p0, Lokhttp3/t$a;->bob:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method constructor <init>(Lokhttp3/t;)V
|
|
.locals 2
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->bnO:Ljava/util/List;
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->bnP:Ljava/util/List;
|
|
|
|
iget-object v0, p1, Lokhttp3/t;->bnN:Lokhttp3/n;
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->bnN:Lokhttp3/n;
|
|
|
|
iget-object v0, p1, Lokhttp3/t;->bjv:Ljava/net/Proxy;
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->bjv:Ljava/net/Proxy;
|
|
|
|
iget-object v0, p1, Lokhttp3/t;->bjt:Ljava/util/List;
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->bjt:Ljava/util/List;
|
|
|
|
iget-object v0, p1, Lokhttp3/t;->bju:Ljava/util/List;
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->bju:Ljava/util/List;
|
|
|
|
iget-object v0, p0, Lokhttp3/t$a;->bnO:Ljava/util/List;
|
|
|
|
iget-object v1, p1, Lokhttp3/t;->bnO:Ljava/util/List;
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
|
|
|
|
iget-object v0, p0, Lokhttp3/t$a;->bnP:Ljava/util/List;
|
|
|
|
iget-object v1, p1, Lokhttp3/t;->bnP:Ljava/util/List;
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
|
|
|
|
iget-object v0, p1, Lokhttp3/t;->bnQ:Lokhttp3/p$a;
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->bnQ:Lokhttp3/p$a;
|
|
|
|
iget-object v0, p1, Lokhttp3/t;->proxySelector:Ljava/net/ProxySelector;
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->proxySelector:Ljava/net/ProxySelector;
|
|
|
|
iget-object v0, p1, Lokhttp3/t;->cookieJar:Lokhttp3/m;
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->cookieJar:Lokhttp3/m;
|
|
|
|
iget-object v0, p1, Lokhttp3/t;->bjy:Lokhttp3/internal/a/e;
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->bjy:Lokhttp3/internal/a/e;
|
|
|
|
iget-object v0, p1, Lokhttp3/t;->bnR:Lokhttp3/c;
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->bnR:Lokhttp3/c;
|
|
|
|
iget-object v0, p1, Lokhttp3/t;->bjr:Ljavax/net/SocketFactory;
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->bjr:Ljavax/net/SocketFactory;
|
|
|
|
iget-object v0, p1, Lokhttp3/t;->sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
|
|
|
|
iget-object v0, p1, Lokhttp3/t;->bjQ:Lokhttp3/internal/i/c;
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->bjQ:Lokhttp3/internal/i/c;
|
|
|
|
iget-object v0, p1, Lokhttp3/t;->hostnameVerifier:Ljavax/net/ssl/HostnameVerifier;
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->hostnameVerifier:Ljavax/net/ssl/HostnameVerifier;
|
|
|
|
iget-object v0, p1, Lokhttp3/t;->bjw:Lokhttp3/g;
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->bjw:Lokhttp3/g;
|
|
|
|
iget-object v0, p1, Lokhttp3/t;->bjs:Lokhttp3/b;
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->bjs:Lokhttp3/b;
|
|
|
|
iget-object v0, p1, Lokhttp3/t;->bnS:Lokhttp3/b;
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->bnS:Lokhttp3/b;
|
|
|
|
iget-object v0, p1, Lokhttp3/t;->bnT:Lokhttp3/j;
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->bnT:Lokhttp3/j;
|
|
|
|
iget-object v0, p1, Lokhttp3/t;->bjq:Lokhttp3/o;
|
|
|
|
iput-object v0, p0, Lokhttp3/t$a;->bjq:Lokhttp3/o;
|
|
|
|
iget-boolean v0, p1, Lokhttp3/t;->bnU:Z
|
|
|
|
iput-boolean v0, p0, Lokhttp3/t$a;->bnU:Z
|
|
|
|
iget-boolean v0, p1, Lokhttp3/t;->bnV:Z
|
|
|
|
iput-boolean v0, p0, Lokhttp3/t$a;->bnV:Z
|
|
|
|
iget-boolean v0, p1, Lokhttp3/t;->bnW:Z
|
|
|
|
iput-boolean v0, p0, Lokhttp3/t$a;->bnW:Z
|
|
|
|
iget v0, p1, Lokhttp3/t;->bnX:I
|
|
|
|
iput v0, p0, Lokhttp3/t$a;->bnX:I
|
|
|
|
iget v0, p1, Lokhttp3/t;->bnY:I
|
|
|
|
iput v0, p0, Lokhttp3/t$a;->bnY:I
|
|
|
|
iget v0, p1, Lokhttp3/t;->bnZ:I
|
|
|
|
iput v0, p0, Lokhttp3/t$a;->bnZ:I
|
|
|
|
iget v0, p1, Lokhttp3/t;->boa:I
|
|
|
|
iput v0, p0, Lokhttp3/t$a;->boa:I
|
|
|
|
iget p1, p1, Lokhttp3/t;->bob:I
|
|
|
|
iput p1, p0, Lokhttp3/t$a;->bob:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final Aw()Lokhttp3/t;
|
|
.locals 1
|
|
|
|
new-instance v0, Lokhttp3/t;
|
|
|
|
invoke-direct {v0, p0}, Lokhttp3/t;-><init>(Lokhttp3/t$a;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final a(JLjava/util/concurrent/TimeUnit;)Lokhttp3/t$a;
|
|
.locals 1
|
|
|
|
const-string v0, "timeout"
|
|
|
|
invoke-static {v0, p1, p2, p3}, Lokhttp3/internal/c;->a(Ljava/lang/String;JLjava/util/concurrent/TimeUnit;)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lokhttp3/t$a;->bnY:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final a(Ljavax/net/ssl/SSLSocketFactory;)Lokhttp3/t$a;
|
|
.locals 1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iput-object p1, p0, Lokhttp3/t$a;->sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
|
|
|
|
invoke-static {}, Lokhttp3/internal/g/f;->BI()Lokhttp3/internal/g/f;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p1}, Lokhttp3/internal/g/f;->d(Ljavax/net/ssl/SSLSocketFactory;)Lokhttp3/internal/i/c;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lokhttp3/t$a;->bjQ:Lokhttp3/internal/i/c;
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/NullPointerException;
|
|
|
|
const-string v0, "sslSocketFactory == null"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final a(Lokhttp3/Interceptor;)Lokhttp3/t$a;
|
|
.locals 1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iget-object v0, p0, Lokhttp3/t$a;->bnO:Ljava/util/List;
|
|
|
|
invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string v0, "interceptor == null"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final a(Lokhttp3/m;)Lokhttp3/t$a;
|
|
.locals 1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iput-object p1, p0, Lokhttp3/t$a;->cookieJar:Lokhttp3/m;
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/NullPointerException;
|
|
|
|
const-string v0, "cookieJar == null"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final b(JLjava/util/concurrent/TimeUnit;)Lokhttp3/t$a;
|
|
.locals 1
|
|
|
|
const-string v0, "timeout"
|
|
|
|
invoke-static {v0, p1, p2, p3}, Lokhttp3/internal/c;->a(Ljava/lang/String;JLjava/util/concurrent/TimeUnit;)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lokhttp3/t$a;->bnZ:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final c(JLjava/util/concurrent/TimeUnit;)Lokhttp3/t$a;
|
|
.locals 1
|
|
|
|
const-string v0, "timeout"
|
|
|
|
invoke-static {v0, p1, p2, p3}, Lokhttp3/internal/c;->a(Ljava/lang/String;JLjava/util/concurrent/TimeUnit;)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lokhttp3/t$a;->boa:I
|
|
|
|
return-object p0
|
|
.end method
|