.class public final Ln0/a0; .super Ljava/lang/Object; .source "Request.kt" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Ln0/a0$a; } .end annotation # instance fields .field public a:Ln0/e; .field public final b:Ln0/w; .field public final c:Ljava/lang/String; .field public final d:Lokhttp3/Headers; .field public final e:Lokhttp3/RequestBody; .field public final f:Ljava/util/Map; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/Map<", "Ljava/lang/Class<", "*>;", "Ljava/lang/Object;", ">;" } .end annotation .end field # direct methods .method public constructor (Ln0/w;Ljava/lang/String;Lokhttp3/Headers;Lokhttp3/RequestBody;Ljava/util/Map;)V .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ln0/w;", "Ljava/lang/String;", "Lokhttp3/Headers;", "Lokhttp3/RequestBody;", "Ljava/util/Map<", "Ljava/lang/Class<", "*>;+", "Ljava/lang/Object;", ">;)V" } .end annotation const/4 v0, 0x0 if-eqz p1, :cond_3 if-eqz p2, :cond_2 if-eqz p3, :cond_1 if-eqz p5, :cond_0 invoke-direct {p0}, Ljava/lang/Object;->()V iput-object p1, p0, Ln0/a0;->b:Ln0/w; iput-object p2, p0, Ln0/a0;->c:Ljava/lang/String; iput-object p3, p0, Ln0/a0;->d:Lokhttp3/Headers; iput-object p4, p0, Ln0/a0;->e:Lokhttp3/RequestBody; iput-object p5, p0, Ln0/a0;->f:Ljava/util/Map; return-void :cond_0 const-string p1, "tags" invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V throw v0 :cond_1 const-string p1, "headers" invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V throw v0 :cond_2 const-string p1, "method" invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V throw v0 :cond_3 const-string p1, "url" invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V throw v0 .end method # virtual methods .method public final a()Ln0/e; .locals 2 iget-object v0, p0, Ln0/a0;->a:Ln0/e; if-nez v0, :cond_0 sget-object v0, Ln0/e;->n:Ln0/e$a; iget-object v1, p0, Ln0/a0;->d:Lokhttp3/Headers; invoke-virtual {v0, v1}, Ln0/e$a;->b(Lokhttp3/Headers;)Ln0/e; move-result-object v0 iput-object v0, p0, Ln0/a0;->a:Ln0/e; :cond_0 return-object v0 .end method .method public final b(Ljava/lang/String;)Ljava/lang/String; .locals 1 iget-object v0, p0, Ln0/a0;->d:Lokhttp3/Headers; invoke-virtual {v0, p1}, Lokhttp3/Headers;->c(Ljava/lang/String;)Ljava/lang/String; move-result-object p1 return-object p1 .end method .method public toString()Ljava/lang/String; .locals 6 const-string v0, "Request{method=" invoke-static {v0}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 iget-object v1, p0, Ln0/a0;->c: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, Ln0/a0;->b:Ln0/w; invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; iget-object v1, p0, Ln0/a0;->d:Lokhttp3/Headers; invoke-virtual {v1}, Lokhttp3/Headers;->size()I move-result v1 if-eqz v1, :cond_3 const-string v1, ", headers=[" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-object v1, p0, Ln0/a0;->d:Lokhttp3/Headers; const/4 v2, 0x0 invoke-interface {v1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object v1 :goto_0 invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z move-result v3 if-eqz v3, :cond_2 invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v3 add-int/lit8 v4, v2, 0x1 if-ltz v2, :cond_1 check-cast v3, Lkotlin/Pair; iget-object v5, v3, Lkotlin/Pair;->first:Ljava/lang/Object; check-cast v5, Ljava/lang/String; iget-object v3, v3, Lkotlin/Pair;->second:Ljava/lang/Object; check-cast v3, Ljava/lang/String; if-lez v2, :cond_0 const-string v2, ", " invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; :cond_0 invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const/16 v2, 0x3a invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move v2, v4 goto :goto_0 :cond_1 invoke-static {}, Lf/i/a/b/i1/e;->throwIndexOverflow()V const/4 v0, 0x0 throw v0 :cond_2 const/16 v1, 0x5d invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; :cond_3 iget-object v1, p0, Ln0/a0;->f:Ljava/util/Map; invoke-interface {v1}, Ljava/util/Map;->isEmpty()Z move-result v1 xor-int/lit8 v1, v1, 0x1 if-eqz v1, :cond_4 const-string v1, ", tags=" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-object v1, p0, Ln0/a0;->f:Ljava/util/Map; invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; :cond_4 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 const-string v1, "StringBuilder().apply(builderAction).toString()" invoke-static {v0, v1}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V return-object v0 .end method