2019-07-24 11:27:29 +00:00
|
|
|
.class public final Lokhttp3/Headers;
|
|
|
|
.super Ljava/lang/Object;
|
2019-11-28 00:30:53 +00:00
|
|
|
.source "Headers.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Ljava/lang/Iterable;
|
|
|
|
.implements Lkotlin/jvm/internal/a/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
2019-11-28 00:30:53 +00:00
|
|
|
Lokhttp3/Headers$a;,
|
|
|
|
Lokhttp3/Headers$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"Ljava/lang/Iterable<",
|
|
|
|
"Lkotlin/Pair<",
|
|
|
|
"+",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
"+",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;>;",
|
|
|
|
"Lkotlin/jvm/internal/a/a;"
|
|
|
|
}
|
|
|
|
.end annotation
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
# static fields
|
2019-12-04 22:43:03 +00:00
|
|
|
.field public static final coa:Lokhttp3/Headers$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
# instance fields
|
2019-12-04 22:43:03 +00:00
|
|
|
.field public final cnZ:[Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
# direct methods
|
|
|
|
.method static constructor <clinit>()V
|
|
|
|
.locals 2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
new-instance v0, Lokhttp3/Headers$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
const/4 v1, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
invoke-direct {v0, v1}, Lokhttp3/Headers$b;-><init>(B)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-04 22:43:03 +00:00
|
|
|
sput-object v0, Lokhttp3/Headers;->coa:Lokhttp3/Headers$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private constructor <init>([Ljava/lang/String;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
2019-12-04 22:43:03 +00:00
|
|
|
iput-object p1, p0, Lokhttp3/Headers;->cnZ:[Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
.method public synthetic constructor <init>([Ljava/lang/String;B)V
|
|
|
|
.locals 0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
invoke-direct {p0, p1}, Lokhttp3/Headers;-><init>([Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-12-04 22:43:03 +00:00
|
|
|
.method public static final varargs f([Ljava/lang/String;)Lokhttp3/Headers;
|
2019-11-28 00:30:53 +00:00
|
|
|
.locals 0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-04 22:43:03 +00:00
|
|
|
invoke-static {p0}, Lokhttp3/Headers$b;->f([Ljava/lang/String;)Lokhttp3/Headers;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
move-result-object p0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
# virtual methods
|
2019-12-04 22:43:03 +00:00
|
|
|
.method public final Qk()Lokhttp3/Headers$a;
|
2019-11-28 00:30:53 +00:00
|
|
|
.locals 3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
new-instance v0, Lokhttp3/Headers$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
invoke-direct {v0}, Lokhttp3/Headers$a;-><init>()V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-04 22:43:03 +00:00
|
|
|
iget-object v1, v0, Lokhttp3/Headers$a;->cob:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
check-cast v1, Ljava/util/Collection;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-04 22:43:03 +00:00
|
|
|
iget-object v2, p0, Lokhttp3/Headers;->cnZ:[Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
invoke-static {v1, v2}, Lkotlin/a/m;->addAll(Ljava/util/Collection;[Ljava/lang/Object;)Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
return-object v0
|
|
|
|
.end method
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-04 22:43:03 +00:00
|
|
|
.method public final eW(Ljava/lang/String;)Ljava/lang/String;
|
2019-11-28 00:30:53 +00:00
|
|
|
.locals 1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
const-string v0, "name"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-04 22:43:03 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/Headers;->cnZ:[Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
invoke-static {v0, p1}, Lokhttp3/Headers$b;->b([Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
move-result-object p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
return-object p1
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
2019-12-04 22:43:03 +00:00
|
|
|
.method public final eX(Ljava/lang/String;)Ljava/util/List;
|
2019-11-28 00:30:53 +00:00
|
|
|
.locals 6
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
")",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
const-string v0, "name"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-04 22:43:03 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/Headers;->cnZ:[Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
array-length v0, v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
const/4 v1, 0x2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
div-int/2addr v0, v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
const/4 v2, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
const/4 v3, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:goto_0
|
2019-11-28 00:30:53 +00:00
|
|
|
if-ge v3, v0, :cond_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-04 22:43:03 +00:00
|
|
|
invoke-virtual {p0, v3}, Lokhttp3/Headers;->fP(I)Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
move-result-object v4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
const/4 v5, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
invoke-static {p1, v4, v5}, Lkotlin/text/l;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
move-result v4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
if-eqz v4, :cond_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
if-nez v2, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
new-instance v2, Ljava/util/ArrayList;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
invoke-direct {v2, v1}, Ljava/util/ArrayList;-><init>(I)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
check-cast v2, Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
:cond_0
|
2019-12-04 22:43:03 +00:00
|
|
|
invoke-virtual {p0, v3}, Lokhttp3/Headers;->fQ(I)Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
move-result-object v4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
invoke-interface {v2, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_1
|
2019-11-28 00:30:53 +00:00
|
|
|
add-int/lit8 v3, v3, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
goto :goto_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_2
|
2019-11-28 00:30:53 +00:00
|
|
|
if-eqz v2, :cond_3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
invoke-static {v2}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
move-result-object p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
const-string v0, "Collections.unmodifiableList(result)"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
return-object p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
:cond_3
|
|
|
|
invoke-static {}, Lkotlin/a/m;->emptyList()Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
move-result-object p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
return-object p1
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final equals(Ljava/lang/Object;)Z
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
instance-of v0, p1, Lokhttp3/Headers;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2019-12-04 22:43:03 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/Headers;->cnZ:[Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
check-cast p1, Lokhttp3/Headers;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-04 22:43:03 +00:00
|
|
|
iget-object p1, p1, Lokhttp3/Headers;->cnZ:[Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
invoke-static {v0, p1}, Ljava/util/Arrays;->equals([Ljava/lang/Object;[Ljava/lang/Object;)Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
|
|
|
return p1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
return p1
|
|
|
|
.end method
|
|
|
|
|
2019-12-04 22:43:03 +00:00
|
|
|
.method public final fP(I)Ljava/lang/String;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lokhttp3/Headers;->cnZ:[Ljava/lang/String;
|
|
|
|
|
|
|
|
mul-int/lit8 p1, p1, 0x2
|
|
|
|
|
|
|
|
aget-object p1, v0, p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final fQ(I)Ljava/lang/String;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lokhttp3/Headers;->cnZ:[Ljava/lang/String;
|
|
|
|
|
|
|
|
mul-int/lit8 p1, p1, 0x2
|
|
|
|
|
|
|
|
add-int/lit8 p1, p1, 0x1
|
|
|
|
|
|
|
|
aget-object p1, v0, p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
.method public final hashCode()I
|
|
|
|
.locals 1
|
|
|
|
|
2019-12-04 22:43:03 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/Headers;->cnZ:[Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {v0}, Ljava/util/Arrays;->hashCode([Ljava/lang/Object;)I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
.method public final iterator()Ljava/util/Iterator;
|
|
|
|
.locals 5
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()",
|
|
|
|
"Ljava/util/Iterator<",
|
|
|
|
"Lkotlin/Pair<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-04 22:43:03 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/Headers;->cnZ:[Ljava/lang/String;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
|
|
|
array-length v0, v0
|
|
|
|
|
|
|
|
div-int/lit8 v0, v0, 0x2
|
|
|
|
|
|
|
|
new-array v1, v0, [Lkotlin/Pair;
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v2, v0, :cond_0
|
|
|
|
|
2019-12-04 22:43:03 +00:00
|
|
|
invoke-virtual {p0, v2}, Lokhttp3/Headers;->fP(I)Ljava/lang/String;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2019-12-04 22:43:03 +00:00
|
|
|
invoke-virtual {p0, v2}, Lokhttp3/Headers;->fQ(I)Ljava/lang/String;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
invoke-static {v3, v4}, Lkotlin/q;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
aput-object v3, v1, v2
|
|
|
|
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-static {v1}, Lkotlin/jvm/internal/b;->iterator([Ljava/lang/Object;)Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
.method public final toString()Ljava/lang/String;
|
|
|
|
.locals 4
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
2019-12-04 22:43:03 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/Headers;->cnZ:[Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
array-length v1, v1
|
|
|
|
|
|
|
|
div-int/lit8 v1, v1, 0x2
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v2, v1, :cond_0
|
|
|
|
|
2019-12-04 22:43:03 +00:00
|
|
|
invoke-virtual {p0, v2}, Lokhttp3/Headers;->fP(I)Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v3, ": "
|
|
|
|
|
|
|
|
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
2019-12-04 22:43:03 +00:00
|
|
|
invoke-virtual {p0, v2}, Lokhttp3/Headers;->fQ(I)Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v3, "\n"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
const-string v1, "StringBuilder().apply(builderAction).toString()"
|
|
|
|
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
return-object v0
|
|
|
|
.end method
|