mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
106 lines
3.1 KiB
Smali
106 lines
3.1 KiB
Smali
.class public final Lokhttp3/internal/http/RealResponseBody;
|
|
.super Lokhttp3/ResponseBody;
|
|
.source "RealResponseBody.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation runtime Lkotlin/Metadata;
|
|
bv = {
|
|
0x1,
|
|
0x0,
|
|
0x3
|
|
}
|
|
d1 = {
|
|
"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\u0018\u00002\u00020\u0001B\u001f\u0012\u0008\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u00a2\u0006\u0002\u0010\u0008J\u0008\u0010\u0004\u001a\u00020\u0005H\u0016J\n\u0010\t\u001a\u0004\u0018\u00010\nH\u0016J\u0008\u0010\u0006\u001a\u00020\u0007H\u0016R\u000e\u0010\u0004\u001a\u00020\u0005X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u0002\u001a\u0004\u0018\u00010\u0003X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0006\u001a\u00020\u0007X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u000b"
|
|
}
|
|
d2 = {
|
|
"Lokhttp3/internal/http/RealResponseBody;",
|
|
"Lokhttp3/ResponseBody;",
|
|
"contentTypeString",
|
|
"",
|
|
"contentLength",
|
|
"",
|
|
"source",
|
|
"Lokio/BufferedSource;",
|
|
"(Ljava/lang/String;JLokio/BufferedSource;)V",
|
|
"contentType",
|
|
"Lokhttp3/MediaType;",
|
|
"okhttp"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x1,
|
|
0x4,
|
|
0x0
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final contentLength:J
|
|
|
|
.field private final contentTypeString:Ljava/lang/String;
|
|
|
|
.field private final source:Lokio/BufferedSource;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/lang/String;JLokio/BufferedSource;)V
|
|
.locals 1
|
|
|
|
const-string v0, "source"
|
|
|
|
invoke-static {p4, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 31
|
|
invoke-direct {p0}, Lokhttp3/ResponseBody;-><init>()V
|
|
|
|
iput-object p1, p0, Lokhttp3/internal/http/RealResponseBody;->contentTypeString:Ljava/lang/String;
|
|
|
|
iput-wide p2, p0, Lokhttp3/internal/http/RealResponseBody;->contentLength:J
|
|
|
|
iput-object p4, p0, Lokhttp3/internal/http/RealResponseBody;->source:Lokio/BufferedSource;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public contentLength()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lokhttp3/internal/http/RealResponseBody;->contentLength:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public contentType()Lokhttp3/MediaType;
|
|
.locals 1
|
|
|
|
iget-object p0, p0, Lokhttp3/internal/http/RealResponseBody;->contentTypeString:Ljava/lang/String;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 35
|
|
sget-object v0, Lokhttp3/MediaType;->Companion:Lokhttp3/MediaType$Companion;
|
|
|
|
invoke-virtual {v0, p0}, Lokhttp3/MediaType$Companion;->parse(Ljava/lang/String;)Lokhttp3/MediaType;
|
|
|
|
move-result-object p0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public source()Lokio/BufferedSource;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lokhttp3/internal/http/RealResponseBody;->source:Lokio/BufferedSource;
|
|
|
|
return-object p0
|
|
.end method
|