.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:Lg0/b0; .field public final e:Lg0/a0; .field public final f:Ljava/lang/String; .field public final g:I .field public final h:Lg0/x; .field public final i:Lokhttp3/Headers; .field public final j:Lokhttp3/ResponseBody; .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:Lg0/h0/g/c; # direct methods .method public constructor (Lg0/b0;Lg0/a0;Ljava/lang/String;ILg0/x;Lokhttp3/Headers;Lokhttp3/ResponseBody;Lokhttp3/Response;Lokhttp3/Response;Lokhttp3/Response;JJLg0/h0/g/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-string v5, "request" invoke-static {p1, v5}, Lc0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const-string v5, "protocol" invoke-static {p2, v5}, Lc0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const-string v5, "message" invoke-static {p3, v5}, Lc0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const-string v5, "headers" invoke-static {p6, v5}, Lc0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V invoke-direct {p0}, Ljava/lang/Object;->()V iput-object v1, v0, Lokhttp3/Response;->d:Lg0/b0; iput-object v2, v0, Lokhttp3/Response;->e:Lg0/a0; 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:Lg0/x; iput-object v4, v0, Lokhttp3/Response;->i:Lokhttp3/Headers; move-object v1, p7 iput-object v1, v0, Lokhttp3/Response;->j:Lokhttp3/ResponseBody; 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:Lg0/h0/g/c; return-void .end method .method public static a(Lokhttp3/Response;Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/String; .locals 0 and-int/lit8 p2, p3, 0x2 const/4 p2, 0x0 if-eqz p0, :cond_1 const-string p3, "name" invoke-static {p1, p3}, Lc0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V iget-object p0, p0, Lokhttp3/Response;->i:Lokhttp3/Headers; invoke-virtual {p0, p1}, Lokhttp3/Headers;->c(Ljava/lang/String;)Ljava/lang/String; move-result-object p0 if-eqz p0, :cond_0 move-object p2, p0 :cond_0 return-object p2 :cond_1 throw p2 .end method # virtual methods .method public final b()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 close()V .locals 2 iget-object v0, p0, Lokhttp3/Response;->j:Lokhttp3/ResponseBody; if-eqz v0, :cond_0 invoke-virtual {v0}, Lokhttp3/ResponseBody;->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;->(Ljava/lang/String;)V throw v0 .end method .method public toString()Ljava/lang/String; .locals 2 const-string v0, "Response{protocol=" invoke-static {v0}, Lf/e/b/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 iget-object v1, p0, Lokhttp3/Response;->e:Lg0/a0; 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:Lg0/b0; iget-object v1, v1, Lg0/b0;->b:Lg0/y; 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