apkfuckery/com.discord/smali/okhttp3/internal/c/h.smali
2019-05-09 00:54:48 +02:00

71 lines
1.5 KiB
Smali

.class public final Lokhttp3/internal/c/h;
.super Lokhttp3/x;
.source "RealResponseBody.java"
# instance fields
.field private final bql:Lokio/d;
.field private final bsg:Ljava/lang/String;
.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
iput-object p1, p0, Lokhttp3/internal/c/h;->bsg:Ljava/lang/String;
iput-wide p2, p0, Lokhttp3/internal/c/h;->contentLength:J
iput-object p4, p0, Lokhttp3/internal/c/h;->bql:Lokio/d;
return-void
.end method
# virtual methods
.method public final Cu()Lokio/d;
.locals 1
iget-object v0, p0, Lokhttp3/internal/c/h;->bql:Lokio/d;
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
iget-object v0, p0, Lokhttp3/internal/c/h;->bsg:Ljava/lang/String;
if-eqz v0, :cond_0
invoke-static {v0}, Lokhttp3/MediaType;->dU(Ljava/lang/String;)Lokhttp3/MediaType;
move-result-object v0
return-object v0
:cond_0
const/4 v0, 0x0
return-object v0
.end method