apkfuckery/com.discord/smali/okhttp3/internal/c/h.smali
2019-10-19 03:51:17 +02:00

71 lines
1.5 KiB
Smali

.class public final Lokhttp3/internal/c/h;
.super Lokhttp3/x;
.source "RealResponseBody.java"
# instance fields
.field private final buG:Ljava/lang/String;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
.field private final contentLength:J
.field private final lY:Lokio/d;
# direct methods
.method public constructor <init>(Ljava/lang/String;JLokio/d;)V
.locals 0
.param p1 # Ljava/lang/String;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
invoke-direct {p0}, Lokhttp3/x;-><init>()V
iput-object p1, p0, Lokhttp3/internal/c/h;->buG:Ljava/lang/String;
iput-wide p2, p0, Lokhttp3/internal/c/h;->contentLength:J
iput-object p4, p0, Lokhttp3/internal/c/h;->lY:Lokio/d;
return-void
.end method
# virtual methods
.method public final FQ()Lokio/d;
.locals 1
iget-object v0, p0, Lokhttp3/internal/c/h;->lY:Lokio/d;
return-object v0
.end method
.method public final contentLength()J
.locals 2
iget-wide v0, p0, Lokhttp3/internal/c/h;->contentLength:J
return-wide v0
.end method
.method public final contentType()Lokhttp3/MediaType;
.locals 1
iget-object v0, p0, Lokhttp3/internal/c/h;->buG:Ljava/lang/String;
if-eqz v0, :cond_0
invoke-static {v0}, Lokhttp3/MediaType;->dL(Ljava/lang/String;)Lokhttp3/MediaType;
move-result-object v0
return-object v0
:cond_0
const/4 v0, 0x0
return-object v0
.end method