2019-02-04 20:08:30 +00:00
|
|
|
.class public final Lokhttp3/Response$a;
|
|
|
|
.super Ljava/lang/Object;
|
2019-02-04 20:29:01 +00:00
|
|
|
.source "Response.java"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lokhttp3/Response;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x9
|
|
|
|
name = "a"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-03-02 23:27:57 +00:00
|
|
|
.field public bnI:Lokhttp3/Headers$a;
|
2019-02-14 22:50:29 +00:00
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
.field public bnP:Lokhttp3/w;
|
2019-02-17 02:24:41 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
.field public bnQ:Lokhttp3/u;
|
2019-02-17 02:24:41 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
.field public bnR:Lokhttp3/r;
|
2019-02-06 20:30:57 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
.field public bnS:Lokhttp3/x;
|
2019-02-17 02:24:41 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
.field bnT:Lokhttp3/Response;
|
2019-02-17 02:24:41 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
.field bnU:Lokhttp3/Response;
|
2019-02-17 02:24:41 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
.field public bnV:Lokhttp3/Response;
|
2019-02-17 02:24:41 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
.field public bnW:J
|
2019-02-27 00:16:35 +00:00
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
.field public bnX:J
|
2019-02-22 00:19:04 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
.field public code:I
|
|
|
|
|
|
|
|
.field public message:Ljava/lang/String;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
const/4 v0, -0x1
|
|
|
|
|
|
|
|
iput v0, p0, Lokhttp3/Response$a;->code:I
|
|
|
|
|
|
|
|
new-instance v0, Lokhttp3/Headers$a;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lokhttp3/Headers$a;-><init>()V
|
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/Response$a;->bnI:Lokhttp3/Headers$a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method constructor <init>(Lokhttp3/Response;)V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
const/4 v0, -0x1
|
|
|
|
|
|
|
|
iput v0, p0, Lokhttp3/Response$a;->code:I
|
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/Response;->bnP:Lokhttp3/w;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/Response$a;->bnP:Lokhttp3/w;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/Response;->bnQ:Lokhttp3/u;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/Response$a;->bnQ:Lokhttp3/u;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
iget v0, p1, Lokhttp3/Response;->code:I
|
|
|
|
|
|
|
|
iput v0, p0, Lokhttp3/Response$a;->code:I
|
|
|
|
|
|
|
|
iget-object v0, p1, Lokhttp3/Response;->message:Ljava/lang/String;
|
|
|
|
|
|
|
|
iput-object v0, p0, Lokhttp3/Response$a;->message:Ljava/lang/String;
|
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/Response;->bnR:Lokhttp3/r;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/Response$a;->bnR:Lokhttp3/r;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/Response;->bmX:Lokhttp3/Headers;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {v0}, Lokhttp3/Headers;->Ae()Lokhttp3/Headers$a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/Response$a;->bnI:Lokhttp3/Headers$a;
|
2019-02-04 20:20:43 +00:00
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/Response;->bnS:Lokhttp3/x;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/Response$a;->bnS:Lokhttp3/x;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/Response;->bnT:Lokhttp3/Response;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/Response$a;->bnT:Lokhttp3/Response;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/Response;->bnU:Lokhttp3/Response;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/Response$a;->bnU:Lokhttp3/Response;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/Response;->bnV:Lokhttp3/Response;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/Response$a;->bnV:Lokhttp3/Response;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iget-wide v0, p1, Lokhttp3/Response;->bnW:J
|
2019-02-22 00:19:04 +00:00
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iput-wide v0, p0, Lokhttp3/Response$a;->bnW:J
|
2019-02-27 00:16:35 +00:00
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iget-wide v0, p1, Lokhttp3/Response;->bnX:J
|
2019-02-27 00:16:35 +00:00
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iput-wide v0, p0, Lokhttp3/Response$a;->bnX:J
|
2019-02-22 00:19:04 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private static a(Ljava/lang/String;Lokhttp3/Response;)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/Response;->bnS:Lokhttp3/x;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/Response;->bnT:Lokhttp3/Response;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/Response;->bnU:Lokhttp3/Response;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iget-object p1, p1, Lokhttp3/Response;->bnV:Lokhttp3/Response;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string p0, ".priorResponse != null"
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string p0, ".cacheResponse != null"
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string p0, ".networkResponse != null"
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string p0, ".body != null"
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-02-27 21:13:14 +00:00
|
|
|
.method public final AH()Lokhttp3/Response;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 3
|
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/Response$a;->bnP:Lokhttp3/w;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/Response$a;->bnQ:Lokhttp3/u;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
|
|
|
|
iget v0, p0, Lokhttp3/Response$a;->code:I
|
|
|
|
|
|
|
|
if-ltz v0, :cond_1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lokhttp3/Response$a;->message:Ljava/lang/String;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Lokhttp3/Response;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0}, Lokhttp3/Response;-><init>(Lokhttp3/Response$a;)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
const-string v1, "message == null"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v2, "code < 0: "
|
|
|
|
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
iget v2, p0, Lokhttp3/Response$a;->code:I
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
const-string v1, "protocol == null"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
const-string v1, "request == null"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(Lokhttp3/Response;)Lokhttp3/Response$a;
|
|
|
|
.locals 1
|
|
|
|
.param p1 # Lokhttp3/Response;
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
const-string v0, "networkResponse"
|
|
|
|
|
|
|
|
invoke-static {v0, p1}, Lokhttp3/Response$a;->a(Ljava/lang/String;Lokhttp3/Response;)V
|
|
|
|
|
|
|
|
:cond_0
|
2019-03-02 23:27:57 +00:00
|
|
|
iput-object p1, p0, Lokhttp3/Response$a;->bnT:Lokhttp3/Response;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
.method public final al(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Response$a;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/Response$a;->bnI:Lokhttp3/Headers$a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {v0, p1, p2}, Lokhttp3/Headers$a;->ae(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Headers$a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final b(Lokhttp3/Response;)Lokhttp3/Response$a;
|
|
|
|
.locals 1
|
|
|
|
.param p1 # Lokhttp3/Response;
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
const-string v0, "cacheResponse"
|
|
|
|
|
|
|
|
invoke-static {v0, p1}, Lokhttp3/Response$a;->a(Ljava/lang/String;Lokhttp3/Response;)V
|
|
|
|
|
|
|
|
:cond_0
|
2019-03-02 23:27:57 +00:00
|
|
|
iput-object p1, p0, Lokhttp3/Response$a;->bnU:Lokhttp3/Response;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final c(Lokhttp3/Headers;)Lokhttp3/Response$a;
|
|
|
|
.locals 0
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {p1}, Lokhttp3/Headers;->Ae()Lokhttp3/Headers$a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-03-02 23:27:57 +00:00
|
|
|
iput-object p1, p0, Lokhttp3/Response$a;->bnI:Lokhttp3/Headers$a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|