今奥全景相机
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
1.7 KiB

.class final Lokhttp3/RequestBody$1;
.super Lokhttp3/RequestBody;
.source "RequestBody.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lokhttp3/RequestBody;->create(Lokhttp3/MediaType;Lokio/ByteString;)Lokhttp3/RequestBody;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = null
.end annotation
# instance fields
.field final synthetic val$content:Lokio/ByteString;
.field final synthetic val$contentType:Lokhttp3/MediaType;
# direct methods
.method constructor <init>(Lokhttp3/MediaType;Lokio/ByteString;)V
.locals 0
.prologue
.line 61
iput-object p1, p0, Lokhttp3/RequestBody$1;->val$contentType:Lokhttp3/MediaType;
iput-object p2, p0, Lokhttp3/RequestBody$1;->val$content:Lokio/ByteString;
invoke-direct {p0}, Lokhttp3/RequestBody;-><init>()V
return-void
.end method
# virtual methods
.method public contentLength()J
.locals 2
.prologue
.line 67
iget-object v0, p0, Lokhttp3/RequestBody$1;->val$content:Lokio/ByteString;
invoke-virtual {v0}, Lokio/ByteString;->size()I
move-result v0
int-to-long v0, v0
return-wide v0
.end method
.method public contentType()Lokhttp3/MediaType;
.locals 1
.prologue
.line 63
iget-object v0, p0, Lokhttp3/RequestBody$1;->val$contentType:Lokhttp3/MediaType;
return-object v0
.end method
.method public writeTo(Lokio/BufferedSink;)V
.locals 1
.prologue
.line 71
iget-object v0, p0, Lokhttp3/RequestBody$1;->val$content:Lokio/ByteString;
invoke-interface {p1, v0}, Lokio/BufferedSink;->write(Lokio/ByteString;)Lokio/BufferedSink;
.line 72
return-void
.end method