d.smali
.class public final Lcom/singbox/component/j/a/d;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public static final a(Lokhttp3/aa;)Ljava/lang/String;
.registers 3
const-string v0, "$this$bodyToString"
invoke-static {p0, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 75
:try_start_5
invoke-virtual {p0}, Lokhttp3/aa;->a()Lokhttp3/aa$a;
move-result-object p0
invoke-virtual {p0}, Lokhttp3/aa$a;->a()Lokhttp3/aa;
move-result-object p0
const-string v0, "newBuilder().build()"
invoke-static {p0, v0}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
.line 76
new-instance v0, Ld/c;
invoke-direct {v0}, Ld/c;-><init>()V
.line 1069
iget-object p0, p0, Lokhttp3/aa;->d:Lokhttp3/ab;
if-eqz p0, :cond_21
.line 77
move-object v1, v0
check-cast v1, Ld/d;
invoke-virtual {p0, v1}, Lokhttp3/ab;->a(Ld/d;)V
.line 78
:cond_21
invoke-virtual {v0}, Ld/c;->q()Ljava/lang/String;
move-result-object p0
const-string v0, "buffer.readUtf8()"
invoke-static {p0, v0}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
:try_end_2a
.catch Ljava/io/IOException; {:try_start_5 .. :try_end_2a} :catch_2b
goto :goto_2d
:catch_2b
const-string p0, "resp null"
:goto_2d
return-object p0
.end method
.method public static final a(Lokhttp3/aa;Ljava/lang/String;Ljava/lang/String;)Lokhttp3/aa;
.registers 4
const-string v0, "$this$setHeaderIfAbsent"
invoke-static {p0, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "name"
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "value"
invoke-static {p2, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 67
invoke-virtual {p0, p1}, Lokhttp3/aa;->a(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
if-nez v0, :cond_26
.line 68
invoke-virtual {p0}, Lokhttp3/aa;->a()Lokhttp3/aa$a;
move-result-object p0
invoke-virtual {p0, p1, p2}, Lokhttp3/aa$a;->a(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/aa$a;
move-result-object p0
invoke-virtual {p0}, Lokhttp3/aa$a;->a()Lokhttp3/aa;
move-result-object p0
const-string p1, "this.newBuilder().header(name, value).build()"
invoke-static {p0, p1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
:cond_26
return-object p0
.end method