2019-07-24 11:27:29 +00:00
|
|
|
.class public final Lokhttp3/q;
|
|
|
|
.super Lokhttp3/RequestBody;
|
|
|
|
.source "FormBody.java"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Lokhttp3/q$a;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2019-11-20 22:09:14 +00:00
|
|
|
.field private static final bqT:Lokhttp3/MediaType;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-11-20 22:09:14 +00:00
|
|
|
.field private final bqU:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
.field private final bqV:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method static constructor <clinit>()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "application/x-www-form-urlencoded"
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-static {v0}, Lokhttp3/MediaType;->dG(Ljava/lang/String;)Lokhttp3/MediaType;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
sput-object v0, Lokhttp3/q;->bqT:Lokhttp3/MediaType;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>(Ljava/util/List;Ljava/util/List;)V
|
|
|
|
.locals 0
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lokhttp3/RequestBody;-><init>()V
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p1}, Lokhttp3/internal/c;->U(Ljava/util/List;)Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iput-object p1, p0, Lokhttp3/q;->bqU:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p2}, Lokhttp3/internal/c;->U(Ljava/util/List;)Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iput-object p1, p0, Lokhttp3/q;->bqV:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private a(Lokio/BufferedSink;Z)J
|
|
|
|
.locals 3
|
|
|
|
.param p1 # Lokio/BufferedSink;
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
|
|
|
|
new-instance p1, Lokio/c;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Lokio/c;-><init>()V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-interface {p1}, Lokio/BufferedSink;->Hi()Lokio/c;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/q;->bqU:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v1}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
if-ge v0, v1, :cond_2
|
|
|
|
|
|
|
|
if-lez v0, :cond_1
|
|
|
|
|
|
|
|
const/16 v2, 0x26
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p1, v2}, Lokio/c;->du(I)Lokio/c;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_1
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v2, p0, Lokhttp3/q;->bqU:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
check-cast v2, Ljava/lang/String;
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-virtual {p1, v2}, Lokio/c;->ee(Ljava/lang/String;)Lokio/c;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/16 v2, 0x3d
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p1, v2}, Lokio/c;->du(I)Lokio/c;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v2, p0, Lokhttp3/q;->bqV:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
check-cast v2, Ljava/lang/String;
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-virtual {p1, v2}, Lokio/c;->ee(Ljava/lang/String;)Lokio/c;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
if-eqz p2, :cond_3
|
|
|
|
|
|
|
|
iget-wide v0, p1, Lokio/c;->size:J
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lokio/c;->clear()V
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
return-wide v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final contentLength()J
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
invoke-direct {p0, v0, v1}, Lokhttp3/q;->a(Lokio/BufferedSink;Z)J
|
|
|
|
|
|
|
|
move-result-wide v0
|
|
|
|
|
|
|
|
return-wide v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final contentType()Lokhttp3/MediaType;
|
|
|
|
.locals 1
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
sget-object v0, Lokhttp3/q;->bqT:Lokhttp3/MediaType;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final writeTo(Lokio/BufferedSink;)V
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
invoke-direct {p0, p1, v0}, Lokhttp3/q;->a(Lokio/BufferedSink;Z)J
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|