apkfuckery/com.discord/smali_classes2/okhttp3/v.smali

430 lines
9.4 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lokhttp3/v;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "RealCall.java"
2019-02-04 20:08:30 +00:00
# interfaces
.implements Lokhttp3/e;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lokhttp3/v$a;
}
.end annotation
# instance fields
2019-02-04 20:29:01 +00:00
.field private bZA:Z
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
.field final bZv:Lokhttp3/t;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
.field final bZw:Lokhttp3/internal/c/j;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
.field private bZx:Lokhttp3/p;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
.field final bZy:Lokhttp3/w;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
.field final bZz:Z
2019-02-04 20:08:30 +00:00
# direct methods
.method private constructor <init>(Lokhttp3/t;Lokhttp3/w;Z)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-02-04 20:29:01 +00:00
iput-object p1, p0, Lokhttp3/v;->bZv:Lokhttp3/t;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iput-object p2, p0, Lokhttp3/v;->bZy:Lokhttp3/w;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iput-boolean p3, p0, Lokhttp3/v;->bZz:Z
2019-02-04 20:08:30 +00:00
new-instance p2, Lokhttp3/internal/c/j;
invoke-direct {p2, p1, p3}, Lokhttp3/internal/c/j;-><init>(Lokhttp3/t;Z)V
2019-02-04 20:29:01 +00:00
iput-object p2, p0, Lokhttp3/v;->bZw:Lokhttp3/internal/c/j;
2019-02-04 20:08:30 +00:00
return-void
.end method
2019-02-04 20:29:01 +00:00
.method private Hz()V
2019-02-04 20:08:30 +00:00
.locals 2
2019-02-04 20:29:01 +00:00
invoke-static {}, Lokhttp3/internal/g/f;->IK()Lokhttp3/internal/g/f;
2019-02-04 20:08:30 +00:00
move-result-object v0
const-string v1, "response.body().close()"
invoke-virtual {v0, v1}, Lokhttp3/internal/g/f;->eG(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v0
2019-02-04 20:29:01 +00:00
iget-object v1, p0, Lokhttp3/v;->bZw:Lokhttp3/internal/c/j;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iput-object v0, v1, Lokhttp3/internal/c/j;->cbC:Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
return-void
.end method
.method public static a(Lokhttp3/t;Lokhttp3/w;Z)Lokhttp3/v;
.locals 1
new-instance v0, Lokhttp3/v;
invoke-direct {v0, p0, p1, p2}, Lokhttp3/v;-><init>(Lokhttp3/t;Lokhttp3/w;Z)V
2019-02-04 20:29:01 +00:00
iget-object p0, p0, Lokhttp3/t;->bZd:Lokhttp3/p$a;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-interface {p0}, Lokhttp3/p$a;->Hf()Lokhttp3/p;
2019-02-04 20:08:30 +00:00
move-result-object p0
2019-02-04 20:29:01 +00:00
iput-object p0, v0, Lokhttp3/v;->bZx:Lokhttp3/p;
2019-02-04 20:08:30 +00:00
return-object v0
.end method
.method static synthetic c(Lokhttp3/v;)Lokhttp3/p;
.locals 0
2019-02-04 20:29:01 +00:00
iget-object p0, p0, Lokhttp3/v;->bZx:Lokhttp3/p;
2019-02-04 20:08:30 +00:00
return-object p0
.end method
# virtual methods
2019-02-04 20:29:01 +00:00
.method public final GX()Lokhttp3/w;
2019-02-04 20:08:30 +00:00
.locals 1
2019-02-04 20:29:01 +00:00
iget-object v0, p0, Lokhttp3/v;->bZy:Lokhttp3/w;
2019-02-04 20:08:30 +00:00
return-object v0
.end method
2019-02-04 20:29:01 +00:00
.method public final GY()Lokhttp3/Response;
2019-02-04 20:08:30 +00:00
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
monitor-enter p0
:try_start_0
2019-02-04 20:29:01 +00:00
iget-boolean v0, p0, Lokhttp3/v;->bZA:Z
2019-02-04 20:08:30 +00:00
if-nez v0, :cond_1
const/4 v0, 0x1
2019-02-04 20:29:01 +00:00
iput-boolean v0, p0, Lokhttp3/v;->bZA:Z
2019-02-04 20:08:30 +00:00
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
2019-02-04 20:29:01 +00:00
invoke-direct {p0}, Lokhttp3/v;->Hz()V
2019-02-04 20:08:30 +00:00
:try_start_1
2019-02-04 20:29:01 +00:00
iget-object v0, p0, Lokhttp3/v;->bZv:Lokhttp3/t;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget-object v0, v0, Lokhttp3/t;->bZa:Lokhttp3/n;
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, p0}, Lokhttp3/n;->a(Lokhttp3/v;)V
2019-02-04 20:29:01 +00:00
invoke-virtual {p0}, Lokhttp3/v;->HB()Lokhttp3/Response;
2019-02-04 20:08:30 +00:00
move-result-object v0
:try_end_1
.catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0
.catchall {:try_start_1 .. :try_end_1} :catchall_0
if-eqz v0, :cond_0
2019-02-04 20:29:01 +00:00
iget-object v1, p0, Lokhttp3/v;->bZv:Lokhttp3/t;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget-object v1, v1, Lokhttp3/t;->bZa:Lokhttp3/n;
2019-02-04 20:08:30 +00:00
invoke-virtual {v1, p0}, Lokhttp3/n;->b(Lokhttp3/v;)V
return-object v0
:cond_0
:try_start_2
new-instance v0, Ljava/io/IOException;
const-string v1, "Canceled"
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw v0
:try_end_2
.catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0
.catchall {:try_start_2 .. :try_end_2} :catchall_0
:catchall_0
move-exception v0
goto :goto_0
:catch_0
move-exception v0
:try_start_3
throw v0
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_0
:goto_0
2019-02-04 20:29:01 +00:00
iget-object v1, p0, Lokhttp3/v;->bZv:Lokhttp3/t;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget-object v1, v1, Lokhttp3/t;->bZa:Lokhttp3/n;
2019-02-04 20:08:30 +00:00
invoke-virtual {v1, p0}, Lokhttp3/n;->b(Lokhttp3/v;)V
throw v0
:cond_1
:try_start_4
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "Already Executed"
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
:catchall_1
move-exception v0
monitor-exit p0
:try_end_4
.catchall {:try_start_4 .. :try_end_4} :catchall_1
throw v0
.end method
2019-02-04 20:29:01 +00:00
.method final HA()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
.locals 1
2019-02-04 20:29:01 +00:00
iget-object v0, p0, Lokhttp3/v;->bZy:Lokhttp3/w;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget-object v0, v0, Lokhttp3/w;->bUJ:Lokhttp3/s;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v0}, Lokhttp3/s;->Hq()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
move-result-object v0
return-object v0
.end method
2019-02-04 20:29:01 +00:00
.method final HB()Lokhttp3/Response;
2019-02-04 20:08:30 +00:00
.locals 13
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
2019-02-04 20:29:01 +00:00
iget-object v0, p0, Lokhttp3/v;->bZv:Lokhttp3/t;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget-object v0, v0, Lokhttp3/t;->bZb:Ljava/util/List;
2019-02-04 20:08:30 +00:00
invoke-interface {v1, v0}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
2019-02-04 20:29:01 +00:00
iget-object v0, p0, Lokhttp3/v;->bZw:Lokhttp3/internal/c/j;
2019-02-04 20:08:30 +00:00
invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
new-instance v0, Lokhttp3/internal/c/a;
2019-02-04 20:29:01 +00:00
iget-object v2, p0, Lokhttp3/v;->bZv:Lokhttp3/t;
2019-02-04 20:08:30 +00:00
iget-object v2, v2, Lokhttp3/t;->cookieJar:Lokhttp3/m;
invoke-direct {v0, v2}, Lokhttp3/internal/c/a;-><init>(Lokhttp3/m;)V
invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
new-instance v0, Lokhttp3/internal/a/a;
2019-02-04 20:29:01 +00:00
iget-object v2, p0, Lokhttp3/v;->bZv:Lokhttp3/t;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v2}, Lokhttp3/t;->Hx()Lokhttp3/internal/a/e;
2019-02-04 20:08:30 +00:00
move-result-object v2
invoke-direct {v0, v2}, Lokhttp3/internal/a/a;-><init>(Lokhttp3/internal/a/e;)V
invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
new-instance v0, Lokhttp3/internal/b/a;
2019-02-04 20:29:01 +00:00
iget-object v2, p0, Lokhttp3/v;->bZv:Lokhttp3/t;
2019-02-04 20:08:30 +00:00
invoke-direct {v0, v2}, Lokhttp3/internal/b/a;-><init>(Lokhttp3/t;)V
invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
2019-02-04 20:29:01 +00:00
iget-boolean v0, p0, Lokhttp3/v;->bZz:Z
2019-02-04 20:08:30 +00:00
if-nez v0, :cond_0
2019-02-04 20:29:01 +00:00
iget-object v0, p0, Lokhttp3/v;->bZv:Lokhttp3/t;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget-object v0, v0, Lokhttp3/t;->bZc:Ljava/util/List;
2019-02-04 20:08:30 +00:00
invoke-interface {v1, v0}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
:cond_0
new-instance v0, Lokhttp3/internal/c/b;
2019-02-04 20:29:01 +00:00
iget-boolean v2, p0, Lokhttp3/v;->bZz:Z
2019-02-04 20:08:30 +00:00
invoke-direct {v0, v2}, Lokhttp3/internal/c/b;-><init>(Z)V
invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
new-instance v12, Lokhttp3/internal/c/g;
const/4 v2, 0x0
const/4 v3, 0x0
const/4 v4, 0x0
const/4 v5, 0x0
2019-02-04 20:29:01 +00:00
iget-object v6, p0, Lokhttp3/v;->bZy:Lokhttp3/w;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget-object v8, p0, Lokhttp3/v;->bZx:Lokhttp3/p;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget-object v0, p0, Lokhttp3/v;->bZv:Lokhttp3/t;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget v9, v0, Lokhttp3/t;->bZk:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget-object v0, p0, Lokhttp3/v;->bZv:Lokhttp3/t;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget v10, v0, Lokhttp3/t;->bZl:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget-object v0, p0, Lokhttp3/v;->bZv:Lokhttp3/t;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget v11, v0, Lokhttp3/t;->bZm:I
2019-02-04 20:08:30 +00:00
move-object v0, v12
move-object v7, p0
invoke-direct/range {v0 .. v11}, Lokhttp3/internal/c/g;-><init>(Ljava/util/List;Lokhttp3/internal/b/g;Lokhttp3/internal/c/c;Lokhttp3/internal/b/c;ILokhttp3/w;Lokhttp3/e;Lokhttp3/p;III)V
2019-02-04 20:29:01 +00:00
iget-object v0, p0, Lokhttp3/v;->bZy:Lokhttp3/w;
2019-02-04 20:08:30 +00:00
invoke-interface {v12, v0}, Lokhttp3/Interceptor$Chain;->b(Lokhttp3/w;)Lokhttp3/Response;
move-result-object v0
return-object v0
.end method
.method public final a(Lokhttp3/f;)V
.locals 2
monitor-enter p0
:try_start_0
2019-02-04 20:29:01 +00:00
iget-boolean v0, p0, Lokhttp3/v;->bZA:Z
2019-02-04 20:08:30 +00:00
if-nez v0, :cond_0
const/4 v0, 0x1
2019-02-04 20:29:01 +00:00
iput-boolean v0, p0, Lokhttp3/v;->bZA:Z
2019-02-04 20:08:30 +00:00
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
2019-02-04 20:29:01 +00:00
invoke-direct {p0}, Lokhttp3/v;->Hz()V
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget-object v0, p0, Lokhttp3/v;->bZv:Lokhttp3/t;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget-object v0, v0, Lokhttp3/t;->bZa:Lokhttp3/n;
2019-02-04 20:08:30 +00:00
new-instance v1, Lokhttp3/v$a;
invoke-direct {v1, p0, p1}, Lokhttp3/v$a;-><init>(Lokhttp3/v;Lokhttp3/f;)V
invoke-virtual {v0, v1}, Lokhttp3/n;->a(Lokhttp3/v$a;)V
return-void
:cond_0
:try_start_1
new-instance p1, Ljava/lang/IllegalStateException;
const-string v0, "Already Executed"
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:catchall_0
move-exception p1
monitor-exit p0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw p1
.end method
.method public final cancel()V
.locals 1
2019-02-04 20:29:01 +00:00
iget-object v0, p0, Lokhttp3/v;->bZw:Lokhttp3/internal/c/j;
2019-02-04 20:08:30 +00:00
invoke-virtual {v0}, Lokhttp3/internal/c/j;->cancel()V
return-void
.end method
.method public final synthetic clone()Ljava/lang/Object;
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/CloneNotSupportedException;
}
.end annotation
2019-02-04 20:29:01 +00:00
iget-object v0, p0, Lokhttp3/v;->bZv:Lokhttp3/t;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget-object v1, p0, Lokhttp3/v;->bZy:Lokhttp3/w;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget-boolean v2, p0, Lokhttp3/v;->bZz:Z
2019-02-04 20:08:30 +00:00
invoke-static {v0, v1, v2}, Lokhttp3/v;->a(Lokhttp3/t;Lokhttp3/w;Z)Lokhttp3/v;
move-result-object v0
return-object v0
.end method
.method public final isCanceled()Z
.locals 1
2019-02-04 20:29:01 +00:00
iget-object v0, p0, Lokhttp3/v;->bZw:Lokhttp3/internal/c/j;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
iget-boolean v0, v0, Lokhttp3/internal/c/j;->cbH:Z
2019-02-04 20:08:30 +00:00
return v0
.end method