2020-09-02 04:07:20 +00:00
|
|
|
.class public final Lo0/u;
|
|
|
|
.super Lokhttp3/RequestBody;
|
|
|
|
.source "FormBody.kt"
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Lo0/u$a;
|
|
|
|
}
|
|
|
|
.end annotation
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
|
|
|
|
# static fields
|
|
|
|
.field public static final c:Lokhttp3/MediaType;
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final a:Ljava/util/List;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
2020-05-17 12:40:10 +00:00
|
|
|
value = {
|
2020-09-02 04:07:20 +00:00
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
2020-05-17 12:40:10 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
2020-09-02 04:07:20 +00:00
|
|
|
.end field
|
|
|
|
|
|
|
|
.field public final b:Ljava/util/List;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static constructor <clinit>()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
sget-object v0, Lokhttp3/MediaType;->g:Lokhttp3/MediaType$a;
|
|
|
|
|
|
|
|
const-string v0, "application/x-www-form-urlencoded"
|
|
|
|
|
|
|
|
invoke-static {v0}, Lokhttp3/MediaType$a;->a(Ljava/lang/String;)Lokhttp3/MediaType;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
sput-object v0, Lo0/u;->c:Lokhttp3/MediaType;
|
|
|
|
|
|
|
|
return-void
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
.method public constructor <init>(Ljava/util/List;Ljava/util/List;)V
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
2020-05-17 12:40:10 +00:00
|
|
|
value = {
|
2020-09-02 04:07:20 +00:00
|
|
|
"(",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;)V"
|
2020-05-17 12:40:10 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
2020-09-02 04:07:20 +00:00
|
|
|
|
|
|
|
const-string v0, "encodedNames"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lk0/o/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const-string v0, "encodedValues"
|
|
|
|
|
|
|
|
invoke-static {p2, v0}, Lk0/o/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lokhttp3/RequestBody;-><init>()V
|
|
|
|
|
|
|
|
invoke-static {p1}, Lo0/g0/b;->E(Ljava/util/List;)Ljava/util/List;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
iput-object p1, p0, Lo0/u;->a:Ljava/util/List;
|
|
|
|
|
|
|
|
invoke-static {p2}, Lo0/g0/b;->E(Ljava/util/List;)Ljava/util/List;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
iput-object p1, p0, Lo0/u;->b:Ljava/util/List;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final a(Lokio/BufferedSink;Z)J
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
|
|
|
|
new-instance p1, Lp0/e;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Lp0/e;-><init>()V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
|
|
|
|
invoke-interface {p1}, Lokio/BufferedSink;->h()Lp0/e;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
iget-object v1, p0, Lo0/u;->a:Ljava/util/List;
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
invoke-virtual {p1, v2}, Lp0/e;->I(I)Lp0/e;
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
iget-object v2, p0, Lo0/u;->a:Ljava/util/List;
|
|
|
|
|
|
|
|
invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
check-cast v2, Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {p1, v2}, Lp0/e;->O(Ljava/lang/String;)Lp0/e;
|
|
|
|
|
|
|
|
const/16 v2, 0x3d
|
|
|
|
|
|
|
|
invoke-virtual {p1, v2}, Lp0/e;->I(I)Lp0/e;
|
|
|
|
|
|
|
|
iget-object v2, p0, Lo0/u;->b:Ljava/util/List;
|
|
|
|
|
|
|
|
invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
check-cast v2, Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {p1, v2}, Lp0/e;->O(Ljava/lang/String;)Lp0/e;
|
|
|
|
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
if-eqz p2, :cond_3
|
|
|
|
|
|
|
|
iget-wide v0, p1, Lp0/e;->e:J
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0, v1}, Lp0/e;->skip(J)V
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
return-wide v0
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
invoke-static {}, Lk0/o/c/i;->throwNpe()V
|
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public contentLength()J
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0, v1}, Lo0/u;->a(Lokio/BufferedSink;Z)J
|
|
|
|
|
|
|
|
move-result-wide v0
|
|
|
|
|
|
|
|
return-wide v0
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
.method public contentType()Lokhttp3/MediaType;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
sget-object v0, Lo0/u;->c:Lokhttp3/MediaType;
|
|
|
|
|
|
|
|
return-object v0
|
2020-07-23 01:06:17 +00:00
|
|
|
.end method
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
.method public writeTo(Lokio/BufferedSink;)V
|
|
|
|
.locals 1
|
2020-05-17 12:40:10 +00:00
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
2020-09-02 04:07:20 +00:00
|
|
|
|
|
|
|
const-string v0, "sink"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lk0/o/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, v0}, Lo0/u;->a(Lokio/BufferedSink;Z)J
|
|
|
|
|
|
|
|
return-void
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|