apkfuckery/com.discord/smali/okhttp3/t$a.smali
2019-11-10 15:21:47 +01:00

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 bnJ:Lokhttp3/internal/i/c;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
.field bnh:Lokhttp3/o;
.field bni:Ljavax/net/SocketFactory;
.field bnj:Lokhttp3/b;
.field bnk:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lokhttp3/u;",
">;"
}
.end annotation
.end field
.field bnl:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lokhttp3/k;",
">;"
}
.end annotation
.end field
.field bnm:Ljava/net/ProxySelector;
.field bnn:Ljava/net/Proxy;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
.field bno:Ljavax/net/ssl/HostnameVerifier;
.field bnp:Lokhttp3/g;
.field bnr:Lokhttp3/internal/a/e;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
.field brH:Lokhttp3/n;
.field final brI:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lokhttp3/Interceptor;",
">;"
}
.end annotation
.end field
.field final brJ:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lokhttp3/Interceptor;",
">;"
}
.end annotation
.end field
.field brK:Lokhttp3/p$a;
.field brL:Lokhttp3/c;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
.field brM:Lokhttp3/b;
.field brN:Lokhttp3/j;
.field brO:Z
.field public brP:Z
.field brQ:Z
.field brR:I
.field brS:I
.field brT:I
.field brU:I
.field brV:I
.field cookieJar:Lokhttp3/m;
.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;->brI:Ljava/util/List;
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
iput-object v0, p0, Lokhttp3/t$a;->brJ:Ljava/util/List;
new-instance v0, Lokhttp3/n;
invoke-direct {v0}, Lokhttp3/n;-><init>()V
iput-object v0, p0, Lokhttp3/t$a;->brH:Lokhttp3/n;
sget-object v0, Lokhttp3/t;->brF:Ljava/util/List;
iput-object v0, p0, Lokhttp3/t$a;->bnk:Ljava/util/List;
sget-object v0, Lokhttp3/t;->brG:Ljava/util/List;
iput-object v0, p0, Lokhttp3/t$a;->bnl:Ljava/util/List;
sget-object v0, Lokhttp3/p;->bqN:Lokhttp3/p;
invoke-static {v0}, Lokhttp3/p;->a(Lokhttp3/p;)Lokhttp3/p$a;
move-result-object v0
iput-object v0, p0, Lokhttp3/t$a;->brK:Lokhttp3/p$a;
invoke-static {}, Ljava/net/ProxySelector;->getDefault()Ljava/net/ProxySelector;
move-result-object v0
iput-object v0, p0, Lokhttp3/t$a;->bnm:Ljava/net/ProxySelector;
iget-object v0, p0, Lokhttp3/t$a;->bnm: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;->bnm:Ljava/net/ProxySelector;
:cond_0
sget-object v0, Lokhttp3/m;->bqF: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;->bni:Ljavax/net/SocketFactory;
sget-object v0, Lokhttp3/internal/i/d;->bxz:Lokhttp3/internal/i/d;
iput-object v0, p0, Lokhttp3/t$a;->bno:Ljavax/net/ssl/HostnameVerifier;
sget-object v0, Lokhttp3/g;->bnH:Lokhttp3/g;
iput-object v0, p0, Lokhttp3/t$a;->bnp:Lokhttp3/g;
sget-object v0, Lokhttp3/b;->bnq:Lokhttp3/b;
iput-object v0, p0, Lokhttp3/t$a;->bnj:Lokhttp3/b;
sget-object v0, Lokhttp3/b;->bnq:Lokhttp3/b;
iput-object v0, p0, Lokhttp3/t$a;->brM:Lokhttp3/b;
new-instance v0, Lokhttp3/j;
invoke-direct {v0}, Lokhttp3/j;-><init>()V
iput-object v0, p0, Lokhttp3/t$a;->brN:Lokhttp3/j;
sget-object v0, Lokhttp3/o;->bqM:Lokhttp3/o;
iput-object v0, p0, Lokhttp3/t$a;->bnh:Lokhttp3/o;
const/4 v0, 0x1
iput-boolean v0, p0, Lokhttp3/t$a;->brO:Z
iput-boolean v0, p0, Lokhttp3/t$a;->brP:Z
iput-boolean v0, p0, Lokhttp3/t$a;->brQ:Z
const/4 v0, 0x0
iput v0, p0, Lokhttp3/t$a;->brR:I
const/16 v1, 0x2710
iput v1, p0, Lokhttp3/t$a;->brS:I
iput v1, p0, Lokhttp3/t$a;->brT:I
iput v1, p0, Lokhttp3/t$a;->brU:I
iput v0, p0, Lokhttp3/t$a;->brV: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;->brI:Ljava/util/List;
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
iput-object v0, p0, Lokhttp3/t$a;->brJ:Ljava/util/List;
iget-object v0, p1, Lokhttp3/t;->brH:Lokhttp3/n;
iput-object v0, p0, Lokhttp3/t$a;->brH:Lokhttp3/n;
iget-object v0, p1, Lokhttp3/t;->bnn:Ljava/net/Proxy;
iput-object v0, p0, Lokhttp3/t$a;->bnn:Ljava/net/Proxy;
iget-object v0, p1, Lokhttp3/t;->bnk:Ljava/util/List;
iput-object v0, p0, Lokhttp3/t$a;->bnk:Ljava/util/List;
iget-object v0, p1, Lokhttp3/t;->bnl:Ljava/util/List;
iput-object v0, p0, Lokhttp3/t$a;->bnl:Ljava/util/List;
iget-object v0, p0, Lokhttp3/t$a;->brI:Ljava/util/List;
iget-object v1, p1, Lokhttp3/t;->brI:Ljava/util/List;
invoke-interface {v0, v1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
iget-object v0, p0, Lokhttp3/t$a;->brJ:Ljava/util/List;
iget-object v1, p1, Lokhttp3/t;->brJ:Ljava/util/List;
invoke-interface {v0, v1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
iget-object v0, p1, Lokhttp3/t;->brK:Lokhttp3/p$a;
iput-object v0, p0, Lokhttp3/t$a;->brK:Lokhttp3/p$a;
iget-object v0, p1, Lokhttp3/t;->bnm:Ljava/net/ProxySelector;
iput-object v0, p0, Lokhttp3/t$a;->bnm: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;->bnr:Lokhttp3/internal/a/e;
iput-object v0, p0, Lokhttp3/t$a;->bnr:Lokhttp3/internal/a/e;
iget-object v0, p1, Lokhttp3/t;->brL:Lokhttp3/c;
iput-object v0, p0, Lokhttp3/t$a;->brL:Lokhttp3/c;
iget-object v0, p1, Lokhttp3/t;->bni:Ljavax/net/SocketFactory;
iput-object v0, p0, Lokhttp3/t$a;->bni: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;->bnJ:Lokhttp3/internal/i/c;
iput-object v0, p0, Lokhttp3/t$a;->bnJ:Lokhttp3/internal/i/c;
iget-object v0, p1, Lokhttp3/t;->bno:Ljavax/net/ssl/HostnameVerifier;
iput-object v0, p0, Lokhttp3/t$a;->bno:Ljavax/net/ssl/HostnameVerifier;
iget-object v0, p1, Lokhttp3/t;->bnp:Lokhttp3/g;
iput-object v0, p0, Lokhttp3/t$a;->bnp:Lokhttp3/g;
iget-object v0, p1, Lokhttp3/t;->bnj:Lokhttp3/b;
iput-object v0, p0, Lokhttp3/t$a;->bnj:Lokhttp3/b;
iget-object v0, p1, Lokhttp3/t;->brM:Lokhttp3/b;
iput-object v0, p0, Lokhttp3/t$a;->brM:Lokhttp3/b;
iget-object v0, p1, Lokhttp3/t;->brN:Lokhttp3/j;
iput-object v0, p0, Lokhttp3/t$a;->brN:Lokhttp3/j;
iget-object v0, p1, Lokhttp3/t;->bnh:Lokhttp3/o;
iput-object v0, p0, Lokhttp3/t$a;->bnh:Lokhttp3/o;
iget-boolean v0, p1, Lokhttp3/t;->brO:Z
iput-boolean v0, p0, Lokhttp3/t$a;->brO:Z
iget-boolean v0, p1, Lokhttp3/t;->brP:Z
iput-boolean v0, p0, Lokhttp3/t$a;->brP:Z
iget-boolean v0, p1, Lokhttp3/t;->brQ:Z
iput-boolean v0, p0, Lokhttp3/t$a;->brQ:Z
iget v0, p1, Lokhttp3/t;->brR:I
iput v0, p0, Lokhttp3/t$a;->brR:I
iget v0, p1, Lokhttp3/t;->brS:I
iput v0, p0, Lokhttp3/t$a;->brS:I
iget v0, p1, Lokhttp3/t;->brT:I
iput v0, p0, Lokhttp3/t$a;->brT:I
iget v0, p1, Lokhttp3/t;->brU:I
iput v0, p0, Lokhttp3/t$a;->brU:I
iget p1, p1, Lokhttp3/t;->brV:I
iput p1, p0, Lokhttp3/t$a;->brV:I
return-void
.end method
# virtual methods
.method public final FC()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;->brS: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;->GS()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;->bnJ: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;->brI: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;->brT: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;->brU:I
return-object p0
.end method