w.smali
.class public final Lokhttp3/w;
.super Lokhttp3/an;
.source "FormBody.java"
# static fields
.field private static final bVV:Lokhttp3/ad;
# instance fields
.field private final bVW:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List",
"<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field private final bVX:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List",
"<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.registers 1
.prologue
.line 31
const-string v0, "application/x-www-form-urlencoded"
.line 32
invoke-static {v0}, Lokhttp3/ad;->hI(Ljava/lang/String;)Lokhttp3/ad;
move-result-object v0
sput-object v0, Lokhttp3/w;->bVV:Lokhttp3/ad;
.line 31
return-void
.end method
.method constructor <init>(Ljava/util/List;Ljava/util/List;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List",
"<",
"Ljava/lang/String;",
">;",
"Ljava/util/List",
"<",
"Ljava/lang/String;",
">;)V"
}
.end annotation
.prologue
.line 37
invoke-direct {p0}, Lokhttp3/an;-><init>()V
.line 38
invoke-static {p1}, Lokhttp3/internal/c;->X(Ljava/util/List;)Ljava/util/List;
move-result-object v0
iput-object v0, p0, Lokhttp3/w;->bVW:Ljava/util/List;
.line 39
invoke-static {p2}, Lokhttp3/internal/c;->X(Ljava/util/List;)Ljava/util/List;
move-result-object v0
iput-object v0, p0, Lokhttp3/w;->bVX:Ljava/util/List;
.line 40
return-void
.end method
.method private b(Lokio/e;Z)J
.registers 9
.prologue
.line 82
const-wide/16 v2, 0x0
.line 85
if-eqz p2, :cond_3a
.line 86
new-instance v0, Lokio/d;
invoke-direct {v0}, Lokio/d;-><init>()V
move-object v1, v0
.line 91
:goto_a
const/4 v0, 0x0
iget-object v4, p0, Lokhttp3/w;->bVW:Ljava/util/List;
invoke-interface {v4}, Ljava/util/List;->size()I
move-result v5
move v4, v0
:goto_12
if-ge v4, v5, :cond_40
.line 92
if-lez v4, :cond_1b
const/16 v0, 0x26
invoke-virtual {v1, v0}, Lokio/d;->fv(I)Lokio/d;
.line 93
:cond_1b
iget-object v0, p0, Lokhttp3/w;->bVW:Ljava/util/List;
invoke-interface {v0, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/String;
invoke-virtual {v1, v0}, Lokio/d;->hU(Ljava/lang/String;)Lokio/d;
.line 94
const/16 v0, 0x3d
invoke-virtual {v1, v0}, Lokio/d;->fv(I)Lokio/d;
.line 95
iget-object v0, p0, Lokhttp3/w;->bVX:Ljava/util/List;
invoke-interface {v0, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/String;
invoke-virtual {v1, v0}, Lokio/d;->hU(Ljava/lang/String;)Lokio/d;
.line 91
add-int/lit8 v0, v4, 0x1
move v4, v0
goto :goto_12
.line 88
:cond_3a
invoke-interface {p1}, Lokio/e;->Sg()Lokio/d;
move-result-object v0
move-object v1, v0
goto :goto_a
.line 98
:cond_40
if-eqz p2, :cond_47
.line 1067
iget-wide v2, v1, Lokio/d;->size:J
.line 100
invoke-virtual {v1}, Lokio/d;->clear()V
:cond_47
move-wide v0, v2
.line 103
return-wide v0
.end method
# virtual methods
.method public final contentLength()J
.registers 3
.prologue
.line 68
const/4 v0, 0x0
const/4 v1, 0x1
invoke-direct {p0, v0, v1}, Lokhttp3/w;->b(Lokio/e;Z)J
move-result-wide v0
return-wide v0
.end method
.method public final contentType()Lokhttp3/ad;
.registers 2
.prologue
.line 64
sget-object v0, Lokhttp3/w;->bVV:Lokhttp3/ad;
return-object v0
.end method
.method public final writeTo(Lokio/e;)V
.registers 3
.prologue
.line 72
const/4 v0, 0x0
invoke-direct {p0, p1, v0}, Lokhttp3/w;->b(Lokio/e;Z)J
.line 73
return-void
.end method