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-07-31 00:08:31 +00:00
.field private final bwV: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-07-31 00:08:31 +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-07-31 00:08:31 +00:00
iput-object p1, p0, Lokhttp3/internal/c/h;->bwV:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
iput-wide p2, p0, Lokhttp3/internal/c/h;->contentLength:J
2019-07-31 00:08:31 +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-07-31 00:08:31 +00:00
.method public final GV()Lokio/d;
2019-07-24 11:27:29 +00:00
.locals 1
2019-07-31 00:08:31 +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-07-31 00:08:31 +00:00
iget-object v0, p0, Lokhttp3/internal/c/h;->bwV:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
if-eqz v0, :cond_0
invoke-static {v0}, Lokhttp3/MediaType;->em(Ljava/lang/String;)Lokhttp3/MediaType;
move-result-object v0
return-object v0
:cond_0
const/4 v0, 0x0
return-object v0
.end method