2020-07-16 19:51:49 +00:00
|
|
|
.class public final Ln0/c0;
|
2020-07-08 16:44:49 +00:00
|
|
|
.super Lokhttp3/RequestBody;
|
|
|
|
.source "RequestBody.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final synthetic a:Lokio/ByteString;
|
|
|
|
|
|
|
|
.field public final synthetic b:Lokhttp3/MediaType;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Lokio/ByteString;Lokhttp3/MediaType;)V
|
|
|
|
.locals 0
|
|
|
|
|
2020-07-16 19:51:49 +00:00
|
|
|
iput-object p1, p0, Ln0/c0;->a:Lokio/ByteString;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-16 19:51:49 +00:00
|
|
|
iput-object p2, p0, Ln0/c0;->b:Lokhttp3/MediaType;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Lokhttp3/RequestBody;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public contentLength()J
|
|
|
|
.locals 2
|
|
|
|
|
2020-07-16 19:51:49 +00:00
|
|
|
iget-object v0, p0, Ln0/c0;->a:Lokio/ByteString;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lokio/ByteString;->h()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
int-to-long v0, v0
|
|
|
|
|
|
|
|
return-wide v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public contentType()Lokhttp3/MediaType;
|
|
|
|
.locals 1
|
|
|
|
|
2020-07-16 19:51:49 +00:00
|
|
|
iget-object v0, p0, Ln0/c0;->b:Lokhttp3/MediaType;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public writeTo(Lokio/BufferedSink;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
2020-07-16 19:51:49 +00:00
|
|
|
iget-object v0, p0, Ln0/c0;->a:Lokio/ByteString;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
invoke-interface {p1, v0}, Lokio/BufferedSink;->w0(Lokio/ByteString;)Lokio/BufferedSink;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "sink"
|
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
invoke-static {p1}, Lj0/o/c/h;->c(Ljava/lang/String;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|