2020-09-02 04:07:20 +00:00
|
|
|
.class public final Lo0/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-09-02 04:07:20 +00:00
|
|
|
iput-object p1, p0, Lo0/c0;->a:Lokio/ByteString;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
iput-object p2, p0, Lo0/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-09-02 04:07:20 +00:00
|
|
|
iget-object v0, p0, Lo0/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-09-02 04:07:20 +00:00
|
|
|
iget-object v0, p0, Lo0/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
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
const-string v0, "sink"
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-static {p1, v0}, Lk0/o/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
iget-object v0, p0, Lo0/c0;->a:Lokio/ByteString;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-interface {p1, v0}, Lokio/BufferedSink;->y0(Lokio/ByteString;)Lokio/BufferedSink;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|