2019-07-24 11:27:29 +00:00
|
|
|
.class public abstract Lokhttp3/RequestBody;
|
|
|
|
.super Ljava/lang/Object;
|
2019-11-28 00:30:53 +00:00
|
|
|
.source "RequestBody.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Lokhttp3/RequestBody$Companion;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
|
|
|
.field public static final Companion:Lokhttp3/RequestBody$Companion;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public static constructor <clinit>()V
|
2019-11-28 00:30:53 +00:00
|
|
|
.locals 2
|
|
|
|
|
|
|
|
new-instance v0, Lokhttp3/RequestBody$Companion;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {v0, v1}, Lokhttp3/RequestBody$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
2019-11-28 00:30:53 +00:00
|
|
|
|
|
|
|
sput-object v0, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
.method public static final create(Ljava/io/File;Lokhttp3/MediaType;)Lokhttp3/RequestBody;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 1
|
|
|
|
|
|
|
|
sget-object v0, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v0, p0, p1}, Lokhttp3/RequestBody$Companion;->a(Ljava/io/File;Lokhttp3/MediaType;)Lokhttp3/RequestBody;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final create(Ljava/lang/String;Lokhttp3/MediaType;)Lokhttp3/RequestBody;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 1
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
sget-object v0, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0, p1}, Lokhttp3/RequestBody$Companion;->a(Ljava/lang/String;Lokhttp3/MediaType;)Lokhttp3/RequestBody;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final create(Lokhttp3/MediaType;Ljava/io/File;)Lokhttp3/RequestBody;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
sget-object v0, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v0, p0, p1}, Lokhttp3/RequestBody$Companion;->a(Lokhttp3/MediaType;Ljava/io/File;)Lokhttp3/RequestBody;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final create(Lokhttp3/MediaType;Ljava/lang/String;)Lokhttp3/RequestBody;
|
|
|
|
.locals 1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
sget-object v0, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v0, p0, p1}, Lokhttp3/RequestBody$Companion;->a(Lokhttp3/MediaType;Ljava/lang/String;)Lokhttp3/RequestBody;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
.method public static final create(Lokhttp3/MediaType;Lokio/ByteString;)Lokhttp3/RequestBody;
|
|
|
|
.locals 1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
sget-object v0, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v0, p0, p1}, Lokhttp3/RequestBody$Companion;->a(Lokhttp3/MediaType;Lokio/ByteString;)Lokhttp3/RequestBody;
|
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
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
return-object p0
|
|
|
|
.end method
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
.method public static final create(Lokhttp3/MediaType;[B)Lokhttp3/RequestBody;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
sget-object v0, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v1, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
array-length v2, p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v0, p0, p1, v1, v2}, Lokhttp3/RequestBody$Companion;->a(Lokhttp3/MediaType;[BII)Lokhttp3/RequestBody;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final create(Lokhttp3/MediaType;[BI)Lokhttp3/RequestBody;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 2
|
2019-11-28 00:30:53 +00:00
|
|
|
|
|
|
|
sget-object v0, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
array-length v1, p1
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v0, p0, p1, p2, v1}, Lokhttp3/RequestBody$Companion;->a(Lokhttp3/MediaType;[BII)Lokhttp3/RequestBody;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
return-object p0
|
|
|
|
.end method
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
.method public static final create(Lokhttp3/MediaType;[BII)Lokhttp3/RequestBody;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
sget-object v0, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0, p1, p2, p3}, Lokhttp3/RequestBody$Companion;->a(Lokhttp3/MediaType;[BII)Lokhttp3/RequestBody;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
.method public static final create(Lokio/ByteString;Lokhttp3/MediaType;)Lokhttp3/RequestBody;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
sget-object v0, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0, p1}, Lokhttp3/RequestBody$Companion;->a(Lokio/ByteString;Lokhttp3/MediaType;)Lokhttp3/RequestBody;
|
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
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
return-object p0
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
.method public static final create([B)Lokhttp3/RequestBody;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
sget-object v0, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v5, 0x7
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-object v1, p0
|
|
|
|
|
|
|
|
invoke-static/range {v0 .. v5}, Lokhttp3/RequestBody$Companion;->a(Lokhttp3/RequestBody$Companion;[BLokhttp3/MediaType;III)Lokhttp3/RequestBody;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
.method public static final create([BLokhttp3/MediaType;)Lokhttp3/RequestBody;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 6
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
sget-object v0, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion;
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v5, 0x6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-object v1, p0
|
|
|
|
|
|
|
|
move-object v2, p1
|
|
|
|
|
|
|
|
invoke-static/range {v0 .. v5}, Lokhttp3/RequestBody$Companion;->a(Lokhttp3/RequestBody$Companion;[BLokhttp3/MediaType;III)Lokhttp3/RequestBody;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
return-object p0
|
|
|
|
.end method
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
.method public static final create([BLokhttp3/MediaType;I)Lokhttp3/RequestBody;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
sget-object v0, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion;
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v5, 0x4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-object v1, p0
|
|
|
|
|
|
|
|
move-object v2, p1
|
|
|
|
|
|
|
|
move v3, p2
|
|
|
|
|
|
|
|
invoke-static/range {v0 .. v5}, Lokhttp3/RequestBody$Companion;->a(Lokhttp3/RequestBody$Companion;[BLokhttp3/MediaType;III)Lokhttp3/RequestBody;
|
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
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
return-object p0
|
|
|
|
.end method
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
.method public static final create([BLokhttp3/MediaType;II)Lokhttp3/RequestBody;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 1
|
|
|
|
|
|
|
|
sget-object v0, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v0, p0, p1, p2, p3}, Lokhttp3/RequestBody$Companion;->a([BLokhttp3/MediaType;II)Lokhttp3/RequestBody;
|
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
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
return-object p0
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public contentLength()J
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-wide/16 v0, -0x1
|
|
|
|
|
|
|
|
return-wide v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public abstract contentType()Lokhttp3/MediaType;
|
2019-11-28 00:30:53 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public isDuplex()Z
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public isOneShot()Z
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
return v0
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public abstract writeTo(Lokio/BufferedSink;)V
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end method
|