apkfuckery/com.discord/smali/okhttp3/internal/c/h.smali

72 lines
1.5 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public final Lokhttp3/internal/c/h;
.super Lokhttp3/x;
.source "RealResponseBody.java"
# instance fields
2019-10-07 23:23:22 +00:00
.field private final bto:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
.field private final contentLength:J
2019-10-07 23:23:22 +00:00
.field private final lV:Lokio/d;
2019-07-24 11:27:29 +00:00
# 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
2019-10-07 23:23:22 +00:00
iput-object p1, p0, Lokhttp3/internal/c/h;->bto:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
iput-wide p2, p0, Lokhttp3/internal/c/h;->contentLength:J
2019-10-07 23:23:22 +00:00
iput-object p4, p0, Lokhttp3/internal/c/h;->lV:Lokio/d;
2019-07-24 11:27:29 +00:00
return-void
.end method
# virtual methods
2019-10-07 23:23:22 +00:00
.method public final EN()Lokio/d;
2019-07-24 11:27:29 +00:00
.locals 1
2019-10-07 23:23:22 +00:00
iget-object v0, p0, Lokhttp3/internal/c/h;->lV:Lokio/d;
2019-07-24 11:27:29 +00:00
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
2019-10-07 23:23:22 +00:00
iget-object v0, p0, Lokhttp3/internal/c/h;->bto:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
if-eqz v0, :cond_0
2019-10-07 23:23:22 +00:00
invoke-static {v0}, Lokhttp3/MediaType;->dJ(Ljava/lang/String;)Lokhttp3/MediaType;
2019-07-24 11:27:29 +00:00
move-result-object v0
return-object v0
:cond_0
const/4 v0, 0x0
return-object v0
.end method