79 lines
1.7 KiB
Smali
79 lines
1.7 KiB
Smali
.class public final Lokhttp3/RequestBody$Companion$b;
|
|
.super Lokhttp3/RequestBody;
|
|
.source "RequestBody.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lokhttp3/RequestBody$Companion;->a(Lokio/ByteString;Lokhttp3/MediaType;)Lokhttp3/RequestBody;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# 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
|
|
|
|
iput-object p1, p0, Lokhttp3/RequestBody$Companion$b;->a:Lokio/ByteString;
|
|
|
|
iput-object p2, p0, Lokhttp3/RequestBody$Companion$b;->b:Lokhttp3/MediaType;
|
|
|
|
invoke-direct {p0}, Lokhttp3/RequestBody;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public contentLength()J
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lokhttp3/RequestBody$Companion$b;->a:Lokio/ByteString;
|
|
|
|
invoke-virtual {v0}, Lokio/ByteString;->j()I
|
|
|
|
move-result v0
|
|
|
|
int-to-long v0, v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public contentType()Lokhttp3/MediaType;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lokhttp3/RequestBody$Companion$b;->b:Lokhttp3/MediaType;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public writeTo(Lokio/BufferedSink;)V
|
|
.locals 1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iget-object v0, p0, Lokhttp3/RequestBody$Companion$b;->a:Lokio/ByteString;
|
|
|
|
invoke-interface {p1, v0}, Lokio/BufferedSink;->a(Lokio/ByteString;)Lokio/BufferedSink;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "sink"
|
|
|
|
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|