apkfuckery/com.discord/smali_classes2/okhttp3/Response.smali
2019-12-21 02:41:59 +01:00

448 lines
8.4 KiB
Smali

.class public final Lokhttp3/Response;
.super Ljava/lang/Object;
.source "Response.kt"
# interfaces
.implements Ljava/io/Closeable;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lokhttp3/Response$a;
}
.end annotation
# instance fields
.field public final d:Lx/y;
.field public final e:Lx/w;
.field public final f:Ljava/lang/String;
.field public final g:I
.field public final h:Lx/t;
.field public final i:Lokhttp3/Headers;
.field public final j:Lx/z;
.field public final k:Lokhttp3/Response;
.field public final l:Lokhttp3/Response;
.field public final m:Lokhttp3/Response;
.field public final n:J
.field public final o:J
.field public final p:Lx/c0/c/c;
# direct methods
.method public constructor <init>(Lx/y;Lx/w;Ljava/lang/String;ILx/t;Lokhttp3/Headers;Lx/z;Lokhttp3/Response;Lokhttp3/Response;Lokhttp3/Response;JJLx/c0/c/c;)V
.locals 6
move-object v0, p0
move-object v1, p1
move-object v2, p2
move-object v3, p3
move-object v4, p6
const/4 v5, 0x0
if-eqz v1, :cond_3
if-eqz v2, :cond_2
if-eqz v3, :cond_1
if-eqz v4, :cond_0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object v1, v0, Lokhttp3/Response;->d:Lx/y;
iput-object v2, v0, Lokhttp3/Response;->e:Lx/w;
iput-object v3, v0, Lokhttp3/Response;->f:Ljava/lang/String;
move v1, p4
iput v1, v0, Lokhttp3/Response;->g:I
move-object v1, p5
iput-object v1, v0, Lokhttp3/Response;->h:Lx/t;
iput-object v4, v0, Lokhttp3/Response;->i:Lokhttp3/Headers;
move-object v1, p7
iput-object v1, v0, Lokhttp3/Response;->j:Lx/z;
move-object v1, p8
iput-object v1, v0, Lokhttp3/Response;->k:Lokhttp3/Response;
move-object v1, p9
iput-object v1, v0, Lokhttp3/Response;->l:Lokhttp3/Response;
move-object/from16 v1, p10
iput-object v1, v0, Lokhttp3/Response;->m:Lokhttp3/Response;
move-wide/from16 v1, p11
iput-wide v1, v0, Lokhttp3/Response;->n:J
move-wide/from16 v1, p13
iput-wide v1, v0, Lokhttp3/Response;->o:J
move-object/from16 v1, p15
iput-object v1, v0, Lokhttp3/Response;->p:Lx/c0/c/c;
return-void
:cond_0
const-string v1, "headers"
invoke-static {v1}, Lt/u/b/j;->a(Ljava/lang/String;)V
throw v5
:cond_1
const-string v1, "message"
invoke-static {v1}, Lt/u/b/j;->a(Ljava/lang/String;)V
throw v5
:cond_2
const-string v1, "protocol"
invoke-static {v1}, Lt/u/b/j;->a(Ljava/lang/String;)V
throw v5
:cond_3
const-string v1, "request"
invoke-static {v1}, Lt/u/b/j;->a(Ljava/lang/String;)V
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
:cond_0
invoke-virtual {p0, p1, p2}, Lokhttp3/Response;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p0
return-object p0
.end method
# virtual methods
.method public final a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
.locals 1
if-eqz p1, :cond_1
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"
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public final a()Lx/z;
.locals 1
iget-object v0, p0, Lokhttp3/Response;->j:Lx/z;
return-object v0
.end method
.method public final b()Lokhttp3/Response;
.locals 1
iget-object v0, p0, Lokhttp3/Response;->l:Lokhttp3/Response;
return-object v0
.end method
.method public final c()I
.locals 1
iget v0, p0, Lokhttp3/Response;->g:I
return v0
.end method
.method public close()V
.locals 2
iget-object v0, p0, Lokhttp3/Response;->j:Lx/z;
if-eqz v0, :cond_0
invoke-virtual {v0}, Lx/z;->close()V
return-void
:cond_0
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
.end method
.method public final d()Lx/c0/c/c;
.locals 1
iget-object v0, p0, Lokhttp3/Response;->p:Lx/c0/c/c;
return-object v0
.end method
.method public final e()Lx/t;
.locals 1
iget-object v0, p0, Lokhttp3/Response;->h:Lx/t;
return-object v0
.end method
.method public final f()Lokhttp3/Headers;
.locals 1
iget-object v0, p0, Lokhttp3/Response;->i:Lokhttp3/Headers;
return-object v0
.end method
.method public final g()Z
.locals 2
iget v0, p0, Lokhttp3/Response;->g:I
const/16 v1, 0x133
if-eq v0, v1, :cond_0
const/16 v1, 0x134
if-eq v0, v1, :cond_0
packed-switch v0, :pswitch_data_0
const/4 v0, 0x0
goto :goto_0
:cond_0
:pswitch_0
const/4 v0, 0x1
:goto_0
return v0
nop
:pswitch_data_0
.packed-switch 0x12c
:pswitch_0
:pswitch_0
:pswitch_0
:pswitch_0
.end packed-switch
.end method
.method public final h()Z
.locals 2
iget v0, p0, Lokhttp3/Response;->g:I
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
.end method
.method public final l()Lokhttp3/Response;
.locals 1
iget-object v0, p0, Lokhttp3/Response;->m:Lokhttp3/Response;
return-object v0
.end method
.method public final m()Lx/w;
.locals 1
iget-object v0, p0, Lokhttp3/Response;->e:Lx/w;
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;
.locals 2
const-string v0, "Response{protocol="
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v1, p0, Lokhttp3/Response;->e:Lx/w;
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;
iget v1, p0, Lokhttp3/Response;->g:I
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;
iget-object v1, p0, Lokhttp3/Response;->f:Ljava/lang/String;
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;
iget-object v1, p0, Lokhttp3/Response;->d:Lx/y;
iget-object v1, v1, Lx/y;->b:Lx/u;
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
.method public final u()Lx/y;
.locals 1
iget-object v0, p0, Lokhttp3/Response;->d:Lx/y;
return-object v0
.end method
.method public final v()J
.locals 2
iget-wide v0, p0, Lokhttp3/Response;->n:J
return-wide v0
.end method