2019-02-04 20:08:30 +00:00
|
|
|
.class public abstract Lokhttp3/x;
|
|
|
|
.super Ljava/lang/Object;
|
2019-02-04 20:29:01 +00:00
|
|
|
.source "ResponseBody.java"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Ljava/io/Closeable;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Lokhttp3/x$a;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-04-03 00:06:05 +00:00
|
|
|
.field public boF:Ljava/io/Reader;
|
2019-02-17 02:24:41 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static a(Lokhttp3/MediaType;JLokio/d;)Lokhttp3/x;
|
|
|
|
.locals 1
|
|
|
|
.param p0 # Lokhttp3/MediaType;
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Lokhttp3/x$1;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0, p1, p2, p3}, Lokhttp3/x$1;-><init>(Lokhttp3/MediaType;JLokio/d;)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance p0, Ljava/lang/NullPointerException;
|
|
|
|
|
|
|
|
const-string p1, "source == null"
|
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
2019-02-21 02:16:48 +00:00
|
|
|
.method public static x([B)Lokhttp3/x;
|
2019-02-04 20:32:01 +00:00
|
|
|
.locals 3
|
|
|
|
|
|
|
|
new-instance v0, Lokio/c;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lokio/c;-><init>()V
|
|
|
|
|
2019-02-21 02:16:48 +00:00
|
|
|
invoke-virtual {v0, p0}, Lokio/c;->z([B)Lokio/c;
|
2019-02-04 20:32:01 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
array-length p0, p0
|
|
|
|
|
|
|
|
int-to-long v1, p0
|
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
invoke-static {p0, v1, v2, v0}, Lokhttp3/x;->a(Lokhttp3/MediaType;JLokio/d;)Lokhttp3/x;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
# virtual methods
|
2019-03-22 22:04:12 +00:00
|
|
|
.method public abstract AI()Lokio/d;
|
2019-02-04 20:08:30 +00:00
|
|
|
.end method
|
|
|
|
|
2019-03-22 22:04:12 +00:00
|
|
|
.method public final AJ()Ljava/lang/String;
|
2019-02-27 21:13:14 +00:00
|
|
|
.locals 2
|
2019-02-04 20:08:30 +00:00
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-03-22 22:04:12 +00:00
|
|
|
invoke-virtual {p0}, Lokhttp3/x;->AI()Lokio/d;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
:try_start_0
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {p0}, Lokhttp3/x;->charset()Ljava/nio/charset/Charset;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-result-object v1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-static {v0, v1}, Lokhttp3/internal/c;->a(Lokio/d;Ljava/nio/charset/Charset;)Ljava/nio/charset/Charset;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-result-object v1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-interface {v0, v1}, Lokio/d;->c(Ljava/nio/charset/Charset;)Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
move-result-object v1
|
2019-02-04 20:08:30 +00:00
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-static {v0}, Lokhttp3/internal/c;->closeQuietly(Ljava/io/Closeable;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
return-object v1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 00:16:35 +00:00
|
|
|
:catchall_0
|
|
|
|
move-exception v1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-static {v0}, Lokhttp3/internal/c;->closeQuietly(Ljava/io/Closeable;)V
|
|
|
|
|
2019-02-27 00:16:35 +00:00
|
|
|
throw v1
|
2019-02-27 21:13:14 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final charset()Ljava/nio/charset/Charset;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lokhttp3/x;->contentType()Lokhttp3/MediaType;
|
|
|
|
|
|
|
|
move-result-object v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
sget-object v1, Lokhttp3/internal/c;->UTF_8:Ljava/nio/charset/Charset;
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Lokhttp3/MediaType;->b(Ljava/nio/charset/Charset;)Ljava/nio/charset/Charset;
|
|
|
|
|
|
|
|
move-result-object v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
return-object v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
:cond_0
|
|
|
|
sget-object v0, Lokhttp3/internal/c;->UTF_8:Ljava/nio/charset/Charset;
|
|
|
|
|
|
|
|
return-object v0
|
2019-02-04 20:08:30 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public close()V
|
|
|
|
.locals 1
|
|
|
|
|
2019-03-22 22:04:12 +00:00
|
|
|
invoke-virtual {p0}, Lokhttp3/x;->AI()Lokio/d;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-static {v0}, Lokhttp3/internal/c;->closeQuietly(Ljava/io/Closeable;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public abstract contentLength()J
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public abstract contentType()Lokhttp3/MediaType;
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end method
|