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

72 lines
1.5 KiB
Smali
Raw Normal View History

2019-02-27 21:13:14 +00:00
.class public final Lokhttp3/internal/c/h;
2019-02-04 20:08:30 +00:00
.super Lokhttp3/x;
2019-02-04 20:29:01 +00:00
.source "RealResponseBody.java"
2019-02-04 20:08:30 +00:00
# instance fields
2019-03-08 06:19:26 +00:00
.field private final boF:Lokio/d;
2019-02-04 20:08:30 +00:00
2019-03-08 06:19:26 +00:00
.field private final bqA:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
.field private final contentLength:J
# 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-03-08 06:19:26 +00:00
iput-object p1, p0, Lokhttp3/internal/c/h;->bqA:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
iput-wide p2, p0, Lokhttp3/internal/c/h;->contentLength:J
2019-02-04 20:08:30 +00:00
2019-03-08 06:19:26 +00:00
iput-object p4, p0, Lokhttp3/internal/c/h;->boF:Lokio/d;
2019-02-04 20:08:30 +00:00
return-void
.end method
# virtual methods
2019-03-08 06:19:26 +00:00
.method public final AH()Lokio/d;
2019-02-04 20:08:30 +00:00
.locals 1
2019-03-08 06:19:26 +00:00
iget-object v0, p0, Lokhttp3/internal/c/h;->boF:Lokio/d;
2019-02-04 20:08:30 +00:00
return-object v0
.end method
.method public final contentLength()J
.locals 2
2019-02-27 21:13:14 +00:00
iget-wide v0, p0, Lokhttp3/internal/c/h;->contentLength:J
2019-02-04 20:08:30 +00:00
return-wide v0
.end method
.method public final contentType()Lokhttp3/MediaType;
.locals 1
2019-03-08 06:19:26 +00:00
iget-object v0, p0, Lokhttp3/internal/c/h;->bqA:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
if-eqz v0, :cond_0
2019-02-27 21:13:14 +00:00
invoke-static {v0}, Lokhttp3/MediaType;->dK(Ljava/lang/String;)Lokhttp3/MediaType;
2019-02-04 20:08:30 +00:00
move-result-object v0
return-object v0
:cond_0
const/4 v0, 0x0
return-object v0
.end method