164 lines
3.1 KiB
Smali
164 lines
3.1 KiB
Smali
.class public abstract La0/z;
|
|
.super Ljava/lang/Object;
|
|
.source "ResponseBody.kt"
|
|
|
|
# interfaces
|
|
.implements Ljava/io/Closeable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
La0/z$a;,
|
|
La0/z$b;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final e:La0/z$b;
|
|
|
|
|
|
# instance fields
|
|
.field public d:Ljava/io/Reader;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
new-instance v0, La0/z$b;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, La0/z$b;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
sput-object v0, La0/z;->e:La0/z$b;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a()Ljava/nio/charset/Charset;
|
|
.locals 2
|
|
|
|
invoke-virtual {p0}, La0/z;->c()Lokhttp3/MediaType;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
sget-object v1, Lw/a0/a;->a:Ljava/nio/charset/Charset;
|
|
|
|
invoke-virtual {v0, v1}, Lokhttp3/MediaType;->a(Ljava/nio/charset/Charset;)Ljava/nio/charset/Charset;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
sget-object v0, Lw/a0/a;->a:Ljava/nio/charset/Charset;
|
|
|
|
:goto_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public abstract b()J
|
|
.end method
|
|
|
|
.method public abstract c()Lokhttp3/MediaType;
|
|
.end method
|
|
|
|
.method public close()V
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, La0/z;->d()Lb0/g;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, La0/c0/a;->a(Ljava/io/Closeable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public abstract d()Lb0/g;
|
|
.end method
|
|
|
|
.method public final e()Ljava/lang/String;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p0}, La0/z;->d()Lb0/g;
|
|
|
|
move-result-object v0
|
|
|
|
:try_start_0
|
|
invoke-virtual {p0}, La0/z;->c()Lokhttp3/MediaType;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
sget-object v2, Lw/a0/a;->a:Ljava/nio/charset/Charset;
|
|
|
|
invoke-virtual {v1, v2}, Lokhttp3/MediaType;->a(Ljava/nio/charset/Charset;)Ljava/nio/charset/Charset;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
sget-object v1, Lw/a0/a;->a:Ljava/nio/charset/Charset;
|
|
|
|
:goto_0
|
|
invoke-static {v0, v1}, La0/c0/a;->a(Lb0/g;Ljava/nio/charset/Charset;)Ljava/nio/charset/Charset;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {v0, v1}, Lb0/g;->a(Ljava/nio/charset/Charset;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-static {v0, v2}, Le/k/a/c/e/p/g;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
|
|
|
return-object v1
|
|
|
|
:goto_1
|
|
:try_start_1
|
|
throw v1
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_1
|
|
|
|
:catchall_1
|
|
move-exception v2
|
|
|
|
invoke-static {v0, v1}, Le/k/a/c/e/p/g;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
|
|
|
throw v2
|
|
.end method
|