2019-07-24 11:27:29 +00:00
|
|
|
.class public abstract Lokhttp3/x;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "ResponseBody.java"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Ljava/io/Closeable;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Lokhttp3/x$a;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-11-20 22:09:14 +00:00
|
|
|
.field public bsJ:Ljava/io/Reader;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static A([B)Lokhttp3/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 3
|
|
|
|
|
|
|
|
new-instance v0, Lokio/c;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lokio/c;-><init>()V
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
invoke-virtual {v0, p0}, Lokio/c;->D([B)Lokio/c;
|
2019-07-24 11:27:29 +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
|
|
|
|
|
|
|
|
.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
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-11-15 02:21:15 +00:00
|
|
|
.method public abstract FT()Lokio/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
.method public final FU()Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-virtual {p0}, Lokhttp3/x;->FT()Lokio/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
:try_start_0
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-virtual {p0}, Lokhttp3/x;->FV()Ljava/nio/charset/Charset;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-static {v0, v1}, Lokhttp3/internal/c;->a(Lokio/d;Ljava/nio/charset/Charset;)Ljava/nio/charset/Charset;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-interface {v0, v1}, Lokio/d;->c(Ljava/nio/charset/Charset;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
invoke-static {v0}, Lokhttp3/internal/c;->closeQuietly(Ljava/io/Closeable;)V
|
|
|
|
|
|
|
|
return-object v1
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v1
|
|
|
|
|
|
|
|
invoke-static {v0}, Lokhttp3/internal/c;->closeQuietly(Ljava/io/Closeable;)V
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
.end method
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
.method public final FV()Ljava/nio/charset/Charset;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 2
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lokhttp3/x;->contentType()Lokhttp3/MediaType;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
sget-object v1, Lokhttp3/internal/c;->tx:Ljava/nio/charset/Charset;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Lokhttp3/MediaType;->b(Ljava/nio/charset/Charset;)Ljava/nio/charset/Charset;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
2019-10-23 04:50:18 +00:00
|
|
|
sget-object v0, Lokhttp3/internal/c;->tx:Ljava/nio/charset/Charset;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public close()V
|
|
|
|
.locals 1
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-virtual {p0}, Lokhttp3/x;->FT()Lokio/d;
|
2019-07-24 11:27:29 +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
|