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-04 20:11:59 +00:00
.field private final bAt: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-03 02:31:26 +00:00
.field private final nJ: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-04 20:11:59 +00:00
iput-object p1, p0, Lokhttp3/internal/c/h;->bAt:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
iput-wide p2, p0, Lokhttp3/internal/c/h;->contentLength:J
2019-10-03 02:31:26 +00:00
iput-object p4, p0, Lokhttp3/internal/c/h;->nJ:Lokio/d;
2019-07-24 11:27:29 +00:00
return-void
.end method
# virtual methods
2019-10-04 22:25:14 +00:00
.method public final Hl()Lokio/d;
2019-07-24 11:27:29 +00:00
.locals 1
2019-10-03 02:31:26 +00:00
iget-object v0, p0, Lokhttp3/internal/c/h;->nJ: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-04 20:11:59 +00:00
iget-object v0, p0, Lokhttp3/internal/c/h;->bAt:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
if-eqz v0, :cond_0
2019-10-01 14:15:45 +00:00
invoke-static {v0}, Lokhttp3/MediaType;->ei(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