.class public final Lokhttp3/Response$a; .super Ljava/lang/Object; .source "Response.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lokhttp3/Response; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x9 name = "a" .end annotation # instance fields .field public btf:Lokhttp3/Headers$a; .field public btm:Lokhttp3/w; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end field .field public btn:Lokhttp3/u; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end field .field public bto:Lokhttp3/r; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end field .field public btp:Lokhttp3/x; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end field .field btq:Lokhttp3/Response; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end field .field btr:Lokhttp3/Response; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end field .field public bts:Lokhttp3/Response; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end field .field public btt:J .field public btu:J .field public code:I .field public message:Ljava/lang/String; # direct methods .method public constructor ()V .locals 1 invoke-direct {p0}, Ljava/lang/Object;->()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;->()V iput-object v0, p0, Lokhttp3/Response$a;->btf:Lokhttp3/Headers$a; return-void .end method .method constructor (Lokhttp3/Response;)V .locals 2 invoke-direct {p0}, Ljava/lang/Object;->()V const/4 v0, -0x1 iput v0, p0, Lokhttp3/Response$a;->code:I iget-object v0, p1, Lokhttp3/Response;->btm:Lokhttp3/w; iput-object v0, p0, Lokhttp3/Response$a;->btm:Lokhttp3/w; iget-object v0, p1, Lokhttp3/Response;->btn:Lokhttp3/u; iput-object v0, p0, Lokhttp3/Response$a;->btn:Lokhttp3/u; 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; iget-object v0, p1, Lokhttp3/Response;->bto:Lokhttp3/r; iput-object v0, p0, Lokhttp3/Response$a;->bto:Lokhttp3/r; iget-object v0, p1, Lokhttp3/Response;->bsu:Lokhttp3/Headers; invoke-virtual {v0}, Lokhttp3/Headers;->Go()Lokhttp3/Headers$a; move-result-object v0 iput-object v0, p0, Lokhttp3/Response$a;->btf:Lokhttp3/Headers$a; iget-object v0, p1, Lokhttp3/Response;->btp:Lokhttp3/x; iput-object v0, p0, Lokhttp3/Response$a;->btp:Lokhttp3/x; iget-object v0, p1, Lokhttp3/Response;->btq:Lokhttp3/Response; iput-object v0, p0, Lokhttp3/Response$a;->btq:Lokhttp3/Response; iget-object v0, p1, Lokhttp3/Response;->btr:Lokhttp3/Response; iput-object v0, p0, Lokhttp3/Response$a;->btr:Lokhttp3/Response; iget-object v0, p1, Lokhttp3/Response;->bts:Lokhttp3/Response; iput-object v0, p0, Lokhttp3/Response$a;->bts:Lokhttp3/Response; iget-wide v0, p1, Lokhttp3/Response;->btt:J iput-wide v0, p0, Lokhttp3/Response$a;->btt:J iget-wide v0, p1, Lokhttp3/Response;->btu:J iput-wide v0, p0, Lokhttp3/Response$a;->btu:J return-void .end method .method private static a(Ljava/lang/String;Lokhttp3/Response;)V .locals 1 iget-object v0, p1, Lokhttp3/Response;->btp:Lokhttp3/x; if-nez v0, :cond_3 iget-object v0, p1, Lokhttp3/Response;->btq:Lokhttp3/Response; if-nez v0, :cond_2 iget-object v0, p1, Lokhttp3/Response;->btr:Lokhttp3/Response; if-nez v0, :cond_1 iget-object p1, p1, Lokhttp3/Response;->bts:Lokhttp3/Response; 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;->()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;->(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;->()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;->(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;->()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;->(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;->()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;->(Ljava/lang/String;)V throw p1 .end method # virtual methods .method public final GR()Lokhttp3/Response; .locals 3 iget-object v0, p0, Lokhttp3/Response$a;->btm:Lokhttp3/w; if-eqz v0, :cond_3 iget-object v0, p0, Lokhttp3/Response$a;->btn:Lokhttp3/u; 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;->(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;->(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;->(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;->(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;->(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;->(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 iput-object p1, p0, Lokhttp3/Response$a;->btq:Lokhttp3/Response; return-object p0 .end method .method public final ar(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Response$a; .locals 1 iget-object v0, p0, Lokhttp3/Response$a;->btf:Lokhttp3/Headers$a; invoke-virtual {v0, p1, p2}, Lokhttp3/Headers$a;->ak(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Headers$a; 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 iput-object p1, p0, Lokhttp3/Response$a;->btr:Lokhttp3/Response; return-object p0 .end method .method public final c(Lokhttp3/Headers;)Lokhttp3/Response$a; .locals 0 invoke-virtual {p1}, Lokhttp3/Headers;->Go()Lokhttp3/Headers$a; move-result-object p1 iput-object p1, p0, Lokhttp3/Response$a;->btf:Lokhttp3/Headers$a; return-object p0 .end method