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-11-13 02:27:29 +00:00
.field private final buI: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-23 04:50:18 +00:00
.field private final lZ: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-11-13 02:27:29 +00:00
iput-object p1, p0, Lokhttp3/internal/c/h;->buI:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
iput-wide p2, p0, Lokhttp3/internal/c/h;->contentLength:J
2019-10-23 04:50:18 +00:00
iput-object p4, p0, Lokhttp3/internal/c/h;->lZ:Lokio/d;
2019-07-24 11:27:29 +00:00
return-void
.end method
# virtual methods
2019-11-13 02:27:29 +00:00
.method public final FT()Lokio/d;
2019-07-24 11:27:29 +00:00
.locals 1
2019-10-23 04:50:18 +00:00
iget-object v0, p0, Lokhttp3/internal/c/h;->lZ: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-11-13 02:27:29 +00:00
iget-object v0, p0, Lokhttp3/internal/c/h;->buI:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
if-eqz v0, :cond_0
2019-11-10 14:21:47 +00:00
invoke-static {v0}, Lokhttp3/MediaType;->dH(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