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

449 lines
8.4 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public final Lokhttp3/Response;
.super Ljava/lang/Object;
2019-11-28 00:30:53 +00:00
.source "Response.kt"
2019-07-24 11:27:29 +00:00
# interfaces
.implements Ljava/io/Closeable;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lokhttp3/Response$a;
}
.end annotation
# instance fields
2019-12-13 02:35:12 +00:00
.field public final d:Lw/y;
2019-10-04 20:11:59 +00:00
2019-12-13 02:35:12 +00:00
.field public final e:Lw/w;
2019-11-15 02:21:15 +00:00
2019-12-06 03:29:40 +00:00
.field public final f:Ljava/lang/String;
2019-11-15 02:21:15 +00:00
2019-12-06 03:29:40 +00:00
.field public final g:I
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
.field public final h:Lw/t;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final i:Lokhttp3/Headers;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
.field public final j:Lw/z;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final k:Lokhttp3/Response;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final l:Lokhttp3/Response;
2019-11-15 02:21:15 +00:00
2019-12-06 03:29:40 +00:00
.field public final m:Lokhttp3/Response;
2019-11-15 02:21:15 +00:00
2019-12-06 03:29:40 +00:00
.field public final n:J
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
.field public final o:J
2019-10-11 21:55:41 +00:00
2019-12-13 02:35:12 +00:00
.field public final p:Lw/c0/c/c;
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-13 02:35:12 +00:00
.method public constructor <init>(Lw/y;Lw/w;Ljava/lang/String;ILw/t;Lokhttp3/Headers;Lw/z;Lokhttp3/Response;Lokhttp3/Response;Lokhttp3/Response;JJLw/c0/c/c;)V
2019-11-28 00:30:53 +00:00
.locals 6
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-object v0, p0
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-object v1, p1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-object v2, p2
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-object v3, p3
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-object v4, p6
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v5, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v1, :cond_3
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v2, :cond_2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v3, :cond_1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v4, :cond_0
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-12-13 02:35:12 +00:00
iput-object v1, v0, Lokhttp3/Response;->d:Lw/y;
2019-11-28 00:30:53 +00:00
2019-12-13 02:35:12 +00:00
iput-object v2, v0, Lokhttp3/Response;->e:Lw/w;
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
iput-object v3, v0, Lokhttp3/Response;->f:Ljava/lang/String;
2019-11-28 00:30:53 +00:00
move v1, p4
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput v1, v0, Lokhttp3/Response;->g:I
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-object v1, p5
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
iput-object v1, v0, Lokhttp3/Response;->h:Lw/t;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-object v4, v0, Lokhttp3/Response;->i:Lokhttp3/Headers;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-object v1, p7
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
iput-object v1, v0, Lokhttp3/Response;->j:Lw/z;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-object v1, p8
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-object v1, v0, Lokhttp3/Response;->k:Lokhttp3/Response;
2019-08-30 20:04:20 +00:00
2019-11-28 00:30:53 +00:00
move-object v1, p9
2019-08-30 20:04:20 +00:00
2019-12-06 03:29:40 +00:00
iput-object v1, v0, Lokhttp3/Response;->l:Lokhttp3/Response;
2019-10-25 01:57:51 +00:00
2019-11-28 00:30:53 +00:00
move-object/from16 v1, p10
2019-10-25 01:57:51 +00:00
2019-12-06 03:29:40 +00:00
iput-object v1, v0, Lokhttp3/Response;->m:Lokhttp3/Response;
2019-10-31 00:47:18 +00:00
2019-11-28 00:30:53 +00:00
move-wide/from16 v1, p11
2019-12-06 03:29:40 +00:00
iput-wide v1, v0, Lokhttp3/Response;->n:J
2019-11-28 00:30:53 +00:00
move-wide/from16 v1, p13
2019-12-06 03:29:40 +00:00
iput-wide v1, v0, Lokhttp3/Response;->o:J
2019-11-28 00:30:53 +00:00
move-object/from16 v1, p15
2019-12-13 02:35:12 +00:00
iput-object v1, v0, Lokhttp3/Response;->p:Lw/c0/c/c;
2019-10-31 00:47:18 +00:00
2019-07-24 11:27:29 +00:00
return-void
2019-12-06 03:29:40 +00:00
:cond_0
const-string v1, "headers"
2019-11-28 00:30:53 +00:00
2019-12-13 02:35:12 +00:00
invoke-static {v1}, Ls/u/b/j;->a(Ljava/lang/String;)V
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
throw v5
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
:cond_1
const-string v1, "message"
2019-11-28 00:30:53 +00:00
2019-12-13 02:35:12 +00:00
invoke-static {v1}, Ls/u/b/j;->a(Ljava/lang/String;)V
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
throw v5
:cond_2
const-string v1, "protocol"
2019-12-13 02:35:12 +00:00
invoke-static {v1}, Ls/u/b/j;->a(Ljava/lang/String;)V
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
throw v5
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
:cond_3
const-string v1, "request"
2019-12-13 02:35:12 +00:00
invoke-static {v1}, Ls/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v5
.end method
.method public static synthetic a(Lokhttp3/Response;Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/String;
.locals 0
and-int/lit8 p3, p3, 0x2
if-eqz p3, :cond_0
const/4 p2, 0x0
2019-11-28 00:30:53 +00:00
:cond_0
2019-12-06 03:29:40 +00:00
invoke-virtual {p0, p1, p2}, Lokhttp3/Response;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p0
2019-11-28 00:30:53 +00:00
return-object p0
.end method
2019-07-24 11:27:29 +00:00
# virtual methods
2019-12-06 03:29:40 +00:00
.method public final a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2019-11-15 02:21:15 +00:00
.locals 1
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_1
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lokhttp3/Response;->i:Lokhttp3/Headers;
invoke-virtual {v0, p1}, Lokhttp3/Headers;->a(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
if-eqz p1, :cond_0
goto :goto_0
:cond_0
move-object p1, p2
:goto_0
return-object p1
:cond_1
const-string p1, "name"
2019-12-13 02:35:12 +00:00
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
2019-11-28 00:30:53 +00:00
.end method
2019-12-13 02:35:12 +00:00
.method public final a()Lw/z;
2019-11-28 00:30:53 +00:00
.locals 1
2019-12-13 02:35:12 +00:00
iget-object v0, p0, Lokhttp3/Response;->j:Lw/z;
2019-11-15 02:21:15 +00:00
return-object v0
.end method
2019-12-06 03:29:40 +00:00
.method public final b()Lokhttp3/Response;
2019-07-24 11:27:29 +00:00
.locals 1
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lokhttp3/Response;->l:Lokhttp3/Response;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
return-object v0
.end method
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.method public final c()I
.locals 1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget v0, p0, Lokhttp3/Response;->g:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
return v0
.end method
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.method public close()V
.locals 2
2019-12-13 02:35:12 +00:00
iget-object v0, p0, Lokhttp3/Response;->j:Lw/z;
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-virtual {v0}, Lw/z;->close()V
2019-12-06 03:29:40 +00:00
return-void
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
:cond_0
2019-12-06 03:29:40 +00:00
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "response is not eligible for a body and must not be closed"
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
2019-07-24 11:27:29 +00:00
.end method
2019-12-13 02:35:12 +00:00
.method public final d()Lw/c0/c/c;
2019-07-24 11:27:29 +00:00
.locals 1
2019-12-13 02:35:12 +00:00
iget-object v0, p0, Lokhttp3/Response;->p:Lw/c0/c/c;
2019-07-24 11:27:29 +00:00
return-object v0
.end method
2019-12-13 02:35:12 +00:00
.method public final e()Lw/t;
2019-11-28 00:30:53 +00:00
.locals 1
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
iget-object v0, p0, Lokhttp3/Response;->h:Lw/t;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
return-object v0
.end method
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.method public final f()Lokhttp3/Headers;
2019-11-28 00:30:53 +00:00
.locals 1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Lokhttp3/Response;->i:Lokhttp3/Headers;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
return-object v0
2019-07-24 11:27:29 +00:00
.end method
2019-12-06 03:29:40 +00:00
.method public final g()Z
2019-11-28 00:30:53 +00:00
.locals 2
2019-08-17 08:22:04 +00:00
2019-12-06 03:29:40 +00:00
iget v0, p0, Lokhttp3/Response;->g:I
2019-08-17 08:22:04 +00:00
2019-12-06 03:29:40 +00:00
const/16 v1, 0x133
2019-08-17 08:22:04 +00:00
2019-12-06 03:29:40 +00:00
if-eq v0, v1, :cond_0
2019-08-17 08:22:04 +00:00
2019-12-06 03:29:40 +00:00
const/16 v1, 0x134
if-eq v0, v1, :cond_0
packed-switch v0, :pswitch_data_0
const/4 v0, 0x0
goto :goto_0
2019-08-17 08:22:04 +00:00
:cond_0
2019-12-06 03:29:40 +00:00
:pswitch_0
const/4 v0, 0x1
2019-08-17 08:22:04 +00:00
2019-12-06 03:29:40 +00:00
:goto_0
return v0
2019-08-17 08:22:04 +00:00
2019-12-06 03:29:40 +00:00
nop
2019-10-07 23:23:22 +00:00
2019-12-06 03:29:40 +00:00
:pswitch_data_0
.packed-switch 0x12c
:pswitch_0
:pswitch_0
:pswitch_0
:pswitch_0
.end packed-switch
.end method
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
.method public final h()Z
.locals 2
2019-10-07 23:23:22 +00:00
2019-12-06 03:29:40 +00:00
iget v0, p0, Lokhttp3/Response;->g:I
2019-10-07 23:23:22 +00:00
2019-12-06 03:29:40 +00:00
const/16 v1, 0xc8
if-le v1, v0, :cond_0
goto :goto_0
:cond_0
const/16 v1, 0x12b
if-lt v1, v0, :cond_1
const/4 v0, 0x1
goto :goto_1
:cond_1
:goto_0
const/4 v0, 0x0
:goto_1
return v0
.end method
.method public final i()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lokhttp3/Response;->f:Ljava/lang/String;
return-object v0
.end method
.method public final j()Lokhttp3/Response;
.locals 1
iget-object v0, p0, Lokhttp3/Response;->k:Lokhttp3/Response;
return-object v0
.end method
.method public final k()Lokhttp3/Response$a;
.locals 1
new-instance v0, Lokhttp3/Response$a;
invoke-direct {v0, p0}, Lokhttp3/Response$a;-><init>(Lokhttp3/Response;)V
return-object v0
2019-10-07 23:23:22 +00:00
.end method
2019-12-06 03:29:40 +00:00
.method public final l()Lokhttp3/Response;
.locals 1
iget-object v0, p0, Lokhttp3/Response;->m:Lokhttp3/Response;
return-object v0
.end method
2019-12-13 02:35:12 +00:00
.method public final m()Lw/w;
2019-12-06 03:29:40 +00:00
.locals 1
2019-12-13 02:35:12 +00:00
iget-object v0, p0, Lokhttp3/Response;->e:Lw/w;
2019-12-06 03:29:40 +00:00
return-object v0
.end method
.method public final t()J
.locals 2
iget-wide v0, p0, Lokhttp3/Response;->o:J
return-wide v0
.end method
.method public toString()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
.locals 2
2019-12-06 03:29:40 +00:00
const-string v0, "Response{protocol="
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
iget-object v1, p0, Lokhttp3/Response;->e:Lw/w;
2019-07-24 11:27:29 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ", code="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-12-06 03:29:40 +00:00
iget v1, p0, Lokhttp3/Response;->g:I
2019-07-24 11:27:29 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v1, ", message="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-12-06 03:29:40 +00:00
iget-object v1, p0, Lokhttp3/Response;->f:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, ", url="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-12-13 02:35:12 +00:00
iget-object v1, p0, Lokhttp3/Response;->d:Lw/y;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
iget-object v1, v1, Lw/y;->b:Lw/u;
2019-07-24 11:27:29 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const/16 v1, 0x7d
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
2019-12-06 01:29:57 +00:00
2019-12-13 02:35:12 +00:00
.method public final u()Lw/y;
2019-12-06 03:29:40 +00:00
.locals 1
2019-12-06 01:29:57 +00:00
2019-12-13 02:35:12 +00:00
iget-object v0, p0, Lokhttp3/Response;->d:Lw/y;
2019-12-06 01:29:57 +00:00
2019-12-06 03:29:40 +00:00
return-object v0
.end method
2019-12-06 01:29:57 +00:00
2019-12-06 03:29:40 +00:00
.method public final v()J
.locals 2
2019-12-06 01:29:57 +00:00
2019-12-06 03:29:40 +00:00
iget-wide v0, p0, Lokhttp3/Response;->n:J
2019-12-06 01:29:57 +00:00
2019-12-06 03:29:40 +00:00
return-wide v0
2019-12-06 01:29:57 +00:00
.end method