apkfuckery/com.discord/smali_classes2/okhttp3/Response$a.smali

483 lines
10 KiB
Smali
Raw Normal View History

2020-05-17 12:40:10 +00:00
.class public Lokhttp3/Response$a;
.super Ljava/lang/Object;
.source "Response.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/Response;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "a"
.end annotation
# instance fields
2020-07-23 01:06:17 +00:00
.field public a:Ln0/a0;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
.field public b:Ln0/y;
2020-05-17 12:40:10 +00:00
.field public c:I
.field public d:Ljava/lang/String;
2020-07-23 01:06:17 +00:00
.field public e:Ln0/v;
2020-05-17 12:40:10 +00:00
.field public f:Lokhttp3/Headers$a;
2020-07-08 16:44:49 +00:00
.field public g:Lokhttp3/ResponseBody;
2020-05-17 12:40:10 +00:00
.field public h:Lokhttp3/Response;
.field public i:Lokhttp3/Response;
.field public j:Lokhttp3/Response;
.field public k:J
.field public l:J
2020-07-23 01:06:17 +00:00
.field public m:Ln0/g0/d/c;
2020-05-17 12:40:10 +00:00
# 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;->c:I
new-instance v0, Lokhttp3/Headers$a;
invoke-direct {v0}, Lokhttp3/Headers$a;-><init>()V
iput-object v0, p0, Lokhttp3/Response$a;->f:Lokhttp3/Headers$a;
return-void
.end method
.method public 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;->c:I
2020-07-23 01:06:17 +00:00
iget-object v0, p1, Lokhttp3/Response;->d:Ln0/a0;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iput-object v0, p0, Lokhttp3/Response$a;->a:Ln0/a0;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iget-object v0, p1, Lokhttp3/Response;->e:Ln0/y;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iput-object v0, p0, Lokhttp3/Response$a;->b:Ln0/y;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget v0, p1, Lokhttp3/Response;->g:I
2020-05-17 12:40:10 +00:00
iput v0, p0, Lokhttp3/Response$a;->c:I
2020-07-08 16:44:49 +00:00
iget-object v0, p1, Lokhttp3/Response;->f:Ljava/lang/String;
2020-05-17 12:40:10 +00:00
iput-object v0, p0, Lokhttp3/Response$a;->d:Ljava/lang/String;
2020-07-23 01:06:17 +00:00
iget-object v0, p1, Lokhttp3/Response;->h:Ln0/v;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iput-object v0, p0, Lokhttp3/Response$a;->e:Ln0/v;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object v0, p1, Lokhttp3/Response;->i:Lokhttp3/Headers;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-virtual {v0}, Lokhttp3/Headers;->j()Lokhttp3/Headers$a;
2020-05-17 12:40:10 +00:00
move-result-object v0
iput-object v0, p0, Lokhttp3/Response$a;->f:Lokhttp3/Headers$a;
2020-07-08 16:44:49 +00:00
iget-object v0, p1, Lokhttp3/Response;->j:Lokhttp3/ResponseBody;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iput-object v0, p0, Lokhttp3/Response$a;->g:Lokhttp3/ResponseBody;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object v0, p1, Lokhttp3/Response;->k:Lokhttp3/Response;
2020-05-17 12:40:10 +00:00
iput-object v0, p0, Lokhttp3/Response$a;->h:Lokhttp3/Response;
2020-07-08 16:44:49 +00:00
iget-object v0, p1, Lokhttp3/Response;->l:Lokhttp3/Response;
2020-05-17 12:40:10 +00:00
iput-object v0, p0, Lokhttp3/Response$a;->i:Lokhttp3/Response;
2020-07-08 16:44:49 +00:00
iget-object v0, p1, Lokhttp3/Response;->m:Lokhttp3/Response;
2020-05-17 12:40:10 +00:00
iput-object v0, p0, Lokhttp3/Response$a;->j:Lokhttp3/Response;
2020-07-08 16:44:49 +00:00
iget-wide v0, p1, Lokhttp3/Response;->n:J
2020-05-17 12:40:10 +00:00
iput-wide v0, p0, Lokhttp3/Response$a;->k:J
2020-07-08 16:44:49 +00:00
iget-wide v0, p1, Lokhttp3/Response;->o:J
2020-05-17 12:40:10 +00:00
iput-wide v0, p0, Lokhttp3/Response$a;->l:J
2020-07-23 01:06:17 +00:00
iget-object p1, p1, Lokhttp3/Response;->p:Ln0/g0/d/c;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iput-object p1, p0, Lokhttp3/Response$a;->m:Ln0/g0/d/c;
2020-05-17 12:40:10 +00:00
return-void
.end method
# virtual methods
.method public a()Lokhttp3/Response;
.locals 19
move-object/from16 v0, p0
iget v1, v0, Lokhttp3/Response$a;->c:I
if-ltz v1, :cond_0
const/4 v1, 0x1
goto :goto_0
:cond_0
const/4 v1, 0x0
:goto_0
if-eqz v1, :cond_4
2020-07-23 01:06:17 +00:00
iget-object v3, v0, Lokhttp3/Response$a;->a:Ln0/a0;
2020-05-17 12:40:10 +00:00
if-eqz v3, :cond_3
2020-07-23 01:06:17 +00:00
iget-object v4, v0, Lokhttp3/Response$a;->b:Ln0/y;
2020-05-17 12:40:10 +00:00
if-eqz v4, :cond_2
iget-object v5, v0, Lokhttp3/Response$a;->d:Ljava/lang/String;
if-eqz v5, :cond_1
iget v6, v0, Lokhttp3/Response$a;->c:I
2020-07-23 01:06:17 +00:00
iget-object v7, v0, Lokhttp3/Response$a;->e:Ln0/v;
2020-05-17 12:40:10 +00:00
iget-object v1, v0, Lokhttp3/Response$a;->f:Lokhttp3/Headers$a;
2020-07-08 16:44:49 +00:00
invoke-virtual {v1}, Lokhttp3/Headers$a;->c()Lokhttp3/Headers;
2020-05-17 12:40:10 +00:00
move-result-object v8
2020-07-08 16:44:49 +00:00
iget-object v9, v0, Lokhttp3/Response$a;->g:Lokhttp3/ResponseBody;
2020-05-17 12:40:10 +00:00
iget-object v10, v0, Lokhttp3/Response$a;->h:Lokhttp3/Response;
iget-object v11, v0, Lokhttp3/Response$a;->i:Lokhttp3/Response;
iget-object v12, v0, Lokhttp3/Response$a;->j:Lokhttp3/Response;
iget-wide v13, v0, Lokhttp3/Response$a;->k:J
iget-wide v1, v0, Lokhttp3/Response$a;->l:J
2020-07-23 01:06:17 +00:00
iget-object v15, v0, Lokhttp3/Response$a;->m:Ln0/g0/d/c;
2020-05-17 12:40:10 +00:00
new-instance v18, Lokhttp3/Response;
move-wide/from16 v16, v1
move-object/from16 v2, v18
move-object v1, v15
move-wide/from16 v15, v16
move-object/from16 v17, v1
2020-07-23 01:06:17 +00:00
invoke-direct/range {v2 .. v17}, Lokhttp3/Response;-><init>(Ln0/a0;Ln0/y;Ljava/lang/String;ILn0/v;Lokhttp3/Headers;Lokhttp3/ResponseBody;Lokhttp3/Response;Lokhttp3/Response;Lokhttp3/Response;JJLn0/g0/d/c;)V
2020-05-17 12:40:10 +00:00
return-object v18
:cond_1
new-instance v1, Ljava/lang/IllegalStateException;
const-string v2, "message == null"
invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v2
invoke-direct {v1, v2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v1
:cond_2
new-instance v1, Ljava/lang/IllegalStateException;
const-string v2, "protocol == null"
invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v2
invoke-direct {v1, v2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v1
:cond_3
new-instance v1, Ljava/lang/IllegalStateException;
const-string v2, "request == null"
invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v2
invoke-direct {v1, v2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v1
:cond_4
const-string v1, "code < 0: "
2020-07-14 22:43:59 +00:00
invoke-static {v1}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-05-17 12:40:10 +00:00
move-result-object v1
iget v2, v0, Lokhttp3/Response$a;->c: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
new-instance v2, Ljava/lang/IllegalStateException;
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v2, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v2
.end method
2020-07-08 16:44:49 +00:00
.method public b(Lokhttp3/Response;)Lokhttp3/Response$a;
.locals 1
const-string v0, "cacheResponse"
invoke-virtual {p0, v0, p1}, Lokhttp3/Response$a;->c(Ljava/lang/String;Lokhttp3/Response;)V
iput-object p1, p0, Lokhttp3/Response$a;->i:Lokhttp3/Response;
return-object p0
.end method
.method public final c(Ljava/lang/String;Lokhttp3/Response;)V
2020-05-17 12:40:10 +00:00
.locals 2
if-eqz p2, :cond_8
2020-07-08 16:44:49 +00:00
iget-object v0, p2, Lokhttp3/Response;->j:Lokhttp3/ResponseBody;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v1, 0x0
2020-05-17 12:40:10 +00:00
if-nez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
if-eqz v0, :cond_7
2020-07-08 16:44:49 +00:00
iget-object v0, p2, Lokhttp3/Response;->k:Lokhttp3/Response;
2020-05-17 12:40:10 +00:00
if-nez v0, :cond_1
const/4 v0, 0x1
goto :goto_1
:cond_1
const/4 v0, 0x0
:goto_1
if-eqz v0, :cond_6
2020-07-08 16:44:49 +00:00
iget-object v0, p2, Lokhttp3/Response;->l:Lokhttp3/Response;
2020-05-17 12:40:10 +00:00
if-nez v0, :cond_2
const/4 v0, 0x1
goto :goto_2
:cond_2
const/4 v0, 0x0
:goto_2
if-eqz v0, :cond_5
2020-07-08 16:44:49 +00:00
iget-object p2, p2, Lokhttp3/Response;->m:Lokhttp3/Response;
2020-05-17 12:40:10 +00:00
if-nez p2, :cond_3
2020-07-08 16:44:49 +00:00
const/4 v1, 0x1
2020-05-17 12:40:10 +00:00
:cond_3
if-eqz v1, :cond_4
2020-07-08 16:44:49 +00:00
goto :goto_3
2020-05-17 12:40:10 +00:00
:cond_4
const-string p2, ".priorResponse != null"
2020-07-08 16:44:49 +00:00
invoke-static {p1, p2}, Lf/e/b/a/a;->p(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2020-05-17 12:40:10 +00:00
move-result-object p1
new-instance p2, Ljava/lang/IllegalArgumentException;
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p2
:cond_5
const-string p2, ".cacheResponse != null"
2020-07-08 16:44:49 +00:00
invoke-static {p1, p2}, Lf/e/b/a/a;->p(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2020-05-17 12:40:10 +00:00
move-result-object p1
new-instance p2, Ljava/lang/IllegalArgumentException;
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p2
:cond_6
const-string p2, ".networkResponse != null"
2020-07-08 16:44:49 +00:00
invoke-static {p1, p2}, Lf/e/b/a/a;->p(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2020-05-17 12:40:10 +00:00
move-result-object p1
new-instance p2, Ljava/lang/IllegalArgumentException;
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p2
:cond_7
const-string p2, ".body != null"
2020-07-08 16:44:49 +00:00
invoke-static {p1, p2}, Lf/e/b/a/a;->p(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2020-05-17 12:40:10 +00:00
move-result-object p1
new-instance p2, Ljava/lang/IllegalArgumentException;
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p2
:cond_8
2020-07-08 16:44:49 +00:00
:goto_3
2020-05-17 12:40:10 +00:00
return-void
.end method
2020-07-08 16:44:49 +00:00
.method public d(Lokhttp3/Headers;)Lokhttp3/Response$a;
.locals 0
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-virtual {p1}, Lokhttp3/Headers;->j()Lokhttp3/Headers$a;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object p1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iput-object p1, p0, Lokhttp3/Response$a;->f:Lokhttp3/Headers$a;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
return-object p0
.end method
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
.method public e(Ljava/lang/String;)Lokhttp3/Response$a;
.locals 0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eqz p1, :cond_0
iput-object p1, p0, Lokhttp3/Response$a;->d:Ljava/lang/String;
return-object p0
2020-05-17 12:40:10 +00:00
:cond_0
2020-07-08 16:44:49 +00:00
const-string p1, "message"
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 p1, 0x0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
throw p1
.end method
2020-07-23 01:06:17 +00:00
.method public f(Ln0/y;)Lokhttp3/Response$a;
2020-07-08 16:44:49 +00:00
.locals 0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eqz p1, :cond_0
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iput-object p1, p0, Lokhttp3/Response$a;->b:Ln0/y;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
return-object p0
:cond_0
const-string p1, "protocol"
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
const/4 p1, 0x0
2020-05-17 12:40:10 +00:00
throw p1
2020-07-08 16:44:49 +00:00
.end method
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
.method public g(Ln0/a0;)Lokhttp3/Response$a;
2020-07-08 16:44:49 +00:00
.locals 0
if-eqz p1, :cond_0
2020-07-23 01:06:17 +00:00
iput-object p1, p0, Lokhttp3/Response$a;->a:Ln0/a0;
2020-05-17 12:40:10 +00:00
return-object p0
2020-07-08 16:44:49 +00:00
:cond_0
const-string p1, "request"
2020-07-25 00:57:58 +00:00
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
const/4 p1, 0x0
throw p1
2020-05-17 12:40:10 +00:00
.end method