422 lines
9.3 KiB
Smali
422 lines
9.3 KiB
Smali
.class public final Lokhttp3/v;
|
|
.super Ljava/lang/Object;
|
|
.source "RealCall.java"
|
|
|
|
# interfaces
|
|
.implements Lokhttp3/e;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lokhttp3/v$a;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final blL:Lokhttp3/t;
|
|
|
|
.field final blM:Lokhttp3/internal/c/j;
|
|
|
|
.field private blN:Lokhttp3/p;
|
|
|
|
.field final blO:Lokhttp3/w;
|
|
|
|
.field final blP:Z
|
|
|
|
.field private blQ:Z
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>(Lokhttp3/t;Lokhttp3/w;Z)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lokhttp3/v;->blL:Lokhttp3/t;
|
|
|
|
iput-object p2, p0, Lokhttp3/v;->blO:Lokhttp3/w;
|
|
|
|
iput-boolean p3, p0, Lokhttp3/v;->blP:Z
|
|
|
|
new-instance p2, Lokhttp3/internal/c/j;
|
|
|
|
invoke-direct {p2, p1, p3}, Lokhttp3/internal/c/j;-><init>(Lokhttp3/t;Z)V
|
|
|
|
iput-object p2, p0, Lokhttp3/v;->blM:Lokhttp3/internal/c/j;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private As()V
|
|
.locals 2
|
|
|
|
invoke-static {}, Lokhttp3/internal/g/f;->BD()Lokhttp3/internal/g/f;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "response.body().close()"
|
|
|
|
invoke-virtual {v0, v1}, Lokhttp3/internal/g/f;->dW(Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lokhttp3/v;->blM:Lokhttp3/internal/c/j;
|
|
|
|
iput-object v0, v1, Lokhttp3/internal/c/j;->bnT:Ljava/lang/Object;
|
|
|
|
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
|
|
|
|
iget-object p0, p0, Lokhttp3/t;->blt:Lokhttp3/p$a;
|
|
|
|
invoke-interface {p0}, Lokhttp3/p$a;->zY()Lokhttp3/p;
|
|
|
|
move-result-object p0
|
|
|
|
iput-object p0, v0, Lokhttp3/v;->blN:Lokhttp3/p;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method static synthetic c(Lokhttp3/v;)Lokhttp3/p;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lokhttp3/v;->blN:Lokhttp3/p;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method final At()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lokhttp3/v;->blO:Lokhttp3/w;
|
|
|
|
iget-object v0, v0, Lokhttp3/w;->bgZ:Lokhttp3/s;
|
|
|
|
invoke-virtual {v0}, Lokhttp3/s;->Ai()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method final Au()Lokhttp3/Response;
|
|
.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
|
|
|
|
iget-object v0, p0, Lokhttp3/v;->blL:Lokhttp3/t;
|
|
|
|
iget-object v0, v0, Lokhttp3/t;->blr:Ljava/util/List;
|
|
|
|
invoke-interface {v1, v0}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
|
|
|
|
iget-object v0, p0, Lokhttp3/v;->blM:Lokhttp3/internal/c/j;
|
|
|
|
invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
new-instance v0, Lokhttp3/internal/c/a;
|
|
|
|
iget-object v2, p0, Lokhttp3/v;->blL:Lokhttp3/t;
|
|
|
|
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;
|
|
|
|
iget-object v2, p0, Lokhttp3/v;->blL:Lokhttp3/t;
|
|
|
|
invoke-virtual {v2}, Lokhttp3/t;->Aq()Lokhttp3/internal/a/e;
|
|
|
|
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;
|
|
|
|
iget-object v2, p0, Lokhttp3/v;->blL:Lokhttp3/t;
|
|
|
|
invoke-direct {v0, v2}, Lokhttp3/internal/b/a;-><init>(Lokhttp3/t;)V
|
|
|
|
invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
iget-boolean v0, p0, Lokhttp3/v;->blP:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Lokhttp3/v;->blL:Lokhttp3/t;
|
|
|
|
iget-object v0, v0, Lokhttp3/t;->bls:Ljava/util/List;
|
|
|
|
invoke-interface {v1, v0}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
|
|
|
|
:cond_0
|
|
new-instance v0, Lokhttp3/internal/c/b;
|
|
|
|
iget-boolean v2, p0, Lokhttp3/v;->blP:Z
|
|
|
|
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
|
|
|
|
iget-object v6, p0, Lokhttp3/v;->blO:Lokhttp3/w;
|
|
|
|
iget-object v8, p0, Lokhttp3/v;->blN:Lokhttp3/p;
|
|
|
|
iget-object v0, p0, Lokhttp3/v;->blL:Lokhttp3/t;
|
|
|
|
iget v9, v0, Lokhttp3/t;->blA:I
|
|
|
|
iget-object v0, p0, Lokhttp3/v;->blL:Lokhttp3/t;
|
|
|
|
iget v10, v0, Lokhttp3/t;->blB:I
|
|
|
|
iget-object v0, p0, Lokhttp3/v;->blL:Lokhttp3/t;
|
|
|
|
iget v11, v0, Lokhttp3/t;->blC:I
|
|
|
|
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
|
|
|
|
iget-object v0, p0, Lokhttp3/v;->blO:Lokhttp3/w;
|
|
|
|
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
|
|
iget-boolean v0, p0, Lokhttp3/v;->blQ:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p0, Lokhttp3/v;->blQ:Z
|
|
|
|
monitor-exit p0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
invoke-direct {p0}, Lokhttp3/v;->As()V
|
|
|
|
iget-object v0, p0, Lokhttp3/v;->blL:Lokhttp3/t;
|
|
|
|
iget-object v0, v0, Lokhttp3/t;->blq:Lokhttp3/n;
|
|
|
|
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
|
|
|
|
iget-object v0, p0, Lokhttp3/v;->blM:Lokhttp3/internal/c/j;
|
|
|
|
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
|
|
|
|
iget-object v0, p0, Lokhttp3/v;->blL:Lokhttp3/t;
|
|
|
|
iget-object v1, p0, Lokhttp3/v;->blO:Lokhttp3/w;
|
|
|
|
iget-boolean v2, p0, Lokhttp3/v;->blP:Z
|
|
|
|
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
|
|
|
|
iget-object v0, p0, Lokhttp3/v;->blM:Lokhttp3/internal/c/j;
|
|
|
|
iget-boolean v0, v0, Lokhttp3/internal/c/j;->bnY:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final zR()Lokhttp3/Response;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
iget-boolean v0, p0, Lokhttp3/v;->blQ:Z
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p0, Lokhttp3/v;->blQ:Z
|
|
|
|
monitor-exit p0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
|
|
|
invoke-direct {p0}, Lokhttp3/v;->As()V
|
|
|
|
:try_start_1
|
|
iget-object v0, p0, Lokhttp3/v;->blL:Lokhttp3/t;
|
|
|
|
iget-object v0, v0, Lokhttp3/t;->blq:Lokhttp3/n;
|
|
|
|
invoke-virtual {v0, p0}, Lokhttp3/n;->a(Lokhttp3/v;)V
|
|
|
|
invoke-virtual {p0}, Lokhttp3/v;->Au()Lokhttp3/Response;
|
|
|
|
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
|
|
|
|
iget-object v1, p0, Lokhttp3/v;->blL:Lokhttp3/t;
|
|
|
|
iget-object v1, v1, Lokhttp3/t;->blq:Lokhttp3/n;
|
|
|
|
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
|
|
iget-object v1, p0, Lokhttp3/v;->blL:Lokhttp3/t;
|
|
|
|
iget-object v1, v1, Lokhttp3/t;->blq:Lokhttp3/n;
|
|
|
|
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
|