2019-02-04 20:05:16 +00:00
|
|
|
.class final Lokhttp3/RequestBody$3;
|
|
|
|
.super Lokhttp3/RequestBody;
|
2019-02-04 20:29:01 +00:00
|
|
|
.source "RequestBody.java"
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lokhttp3/RequestBody;->create(Lokhttp3/MediaType;Ljava/io/File;)Lokhttp3/RequestBody;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
2019-02-04 20:08:30 +00:00
|
|
|
accessFlags = 0x0
|
2019-02-04 20:05:16 +00:00
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-05-16 22:41:35 +00:00
|
|
|
.field final synthetic bqb:Lokhttp3/MediaType;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-05-16 22:41:35 +00:00
|
|
|
.field final synthetic bqg:Ljava/io/File;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method constructor <init>(Lokhttp3/MediaType;Ljava/io/File;)V
|
|
|
|
.locals 0
|
|
|
|
|
2019-05-16 22:41:35 +00:00
|
|
|
iput-object p1, p0, Lokhttp3/RequestBody$3;->bqb:Lokhttp3/MediaType;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-05-16 22:41:35 +00:00
|
|
|
iput-object p2, p0, Lokhttp3/RequestBody$3;->bqg:Ljava/io/File;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Lokhttp3/RequestBody;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-02-04 20:08:30 +00:00
|
|
|
.method public final contentLength()J
|
2019-02-04 20:05:16 +00:00
|
|
|
.locals 2
|
|
|
|
|
2019-05-16 22:41:35 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/RequestBody$3;->bqg:Ljava/io/File;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/io/File;->length()J
|
|
|
|
|
|
|
|
move-result-wide v0
|
|
|
|
|
|
|
|
return-wide v0
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
.method public final contentType()Lokhttp3/MediaType;
|
2019-02-04 20:05:16 +00:00
|
|
|
.locals 1
|
2019-02-04 20:08:30 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-05-16 22:41:35 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/RequestBody$3;->bqb:Lokhttp3/MediaType;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
.method public final writeTo(Lokio/BufferedSink;)V
|
2019-02-04 20:05:16 +00:00
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
const/4 v0, 0x0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
:try_start_0
|
2019-05-16 22:41:35 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/RequestBody$3;->bqg:Ljava/io/File;
|
2019-02-27 21:13:14 +00:00
|
|
|
|
|
|
|
invoke-static {v1}, Lokio/j;->B(Ljava/io/File;)Lokio/q;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
move-result-object v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-interface {p1, v0}, Lokio/BufferedSink;->a(Lokio/q;)J
|
2019-02-04 20:29:01 +00:00
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-static {v0}, Lokhttp3/internal/c;->closeQuietly(Ljava/io/Closeable;)V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catchall_0
|
2019-02-04 20:08:30 +00:00
|
|
|
move-exception p1
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-static {v0}, Lokhttp3/internal/c;->closeQuietly(Ljava/io/Closeable;)V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
throw p1
|
2019-02-04 20:05:16 +00:00
|
|
|
.end method
|