* Decompile and recreate Soul Browser v1.4.85 with APK CI builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix CI build: include bundled google.jks and remove PR trigger The apktool build failed in CI because app/unknown/.../google.jks was excluded by the *.jks gitignore rule. Whitelist app-bundled JKS files and commit the missing resource. Also remove the redundant pull_request workflow trigger. Co-authored-by: KaKi87 <KaKi87@pm.me> * Change package ID to com.github.kaki87.soulbrowser Rename the application ID so the rebuilt APK can be installed alongside the original Soul Browser from Google Play. - Update AndroidManifest package, permissions, providers, and actions - Update R class references in smali (com/github/kaki87/soulbrowser/R) - Update shortcuts.xml targetPackage - Rename app label to "Soul Rebuild" for easy identification Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install compatibility: remove split APK metadata and bundle native libs The rebuilt APK still declared requiredSplitTypes and Play Store split metadata, causing Android to reject standalone installs as incompatible. - Remove requiredSplitTypes and split-related manifest meta-data - Merge native libs from all ABI splits with uncompressed storage - Page-align before signing for extractNativeLibs=false - Add .so to apktool doNotCompress list Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install failure: use apksigner v2/v3 and bundle arm64 native libs Target SDK 36 requires APK Signature Scheme v2+, but jarsigner only produces v1 signatures, causing Android to reject the install. - Sign with apksigner (v1+v2+v3) instead of jarsigner - Add arm64-v8a native libraries from universal Soul Browser 1.4.79 - Set extractNativeLibs=true for reliable sideload installs - Commit stable debug keystore for consistent signatures across builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Add committed debug keystore for consistent APK signatures Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix startup crash: use original classes2.dex desugar libraries Apktool recompiles smali_classes2 into a broken classes2.dex, causing ClassNotFoundException for j$.com.android.tools.r8.a at ML Kit init. Inject the original classes2.dex (Java 8+ desugar libs) after apktool build instead of using the recompiled version. Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix missing drawable resources from density split APKs The base APK is an app bundle module; density-specific drawables like seek_thumb_nor_b live in config.xhdpi.apk and were missing after rebuild, causing Resources$NotFoundException at runtime. - Merge non-9-patch resources from split APKs before apktool build - Sync public.xml IDs from R smali only when backing files exist - Add 713 density-specific resource IDs to public.xml Co-authored-by: KaKi87 <KaKi87@pm.me> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2203 lines
44 KiB
Smali
2203 lines
44 KiB
Smali
.class public final Lokhttp3/internal/http1/Http1ExchangeCodec;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lokhttp3/internal/http/ExchangeCodec;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lokhttp3/internal/http1/Http1ExchangeCodec$AbstractSource;,
|
|
Lokhttp3/internal/http1/Http1ExchangeCodec$ChunkedSink;,
|
|
Lokhttp3/internal/http1/Http1ExchangeCodec$ChunkedSource;,
|
|
Lokhttp3/internal/http1/Http1ExchangeCodec$Companion;,
|
|
Lokhttp3/internal/http1/Http1ExchangeCodec$FixedLengthSource;,
|
|
Lokhttp3/internal/http1/Http1ExchangeCodec$KnownLengthSink;,
|
|
Lokhttp3/internal/http1/Http1ExchangeCodec$UnknownLengthSource;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u0000\u000c\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0008\u0018\u00002\u00020\u0001:\u0007\u0002\u0003\u0004\u0005\u0006\u0007\u0008\u00a8\u0006\t"
|
|
}
|
|
d2 = {
|
|
"Lokhttp3/internal/http1/Http1ExchangeCodec;",
|
|
"Lokhttp3/internal/http/ExchangeCodec;",
|
|
"KnownLengthSink",
|
|
"ChunkedSink",
|
|
"AbstractSource",
|
|
"FixedLengthSource",
|
|
"ChunkedSource",
|
|
"UnknownLengthSource",
|
|
"Companion",
|
|
"okhttp"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x2,
|
|
0x2,
|
|
0x0
|
|
}
|
|
xi = 0x30
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/jvm/internal/SourceDebugExtension;
|
|
value = {
|
|
"SMAP\nHttp1ExchangeCodec.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Http1ExchangeCodec.kt\nokhttp3/internal/http1/Http1ExchangeCodec\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,562:1\n1#2:563\n*E\n"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final f:Lokhttp3/Headers;
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Lokhttp3/OkHttpClient;
|
|
|
|
.field public final b:Lokhttp3/internal/http/ExchangeCodec$Carrier;
|
|
|
|
.field public final c:Lokhttp3/internal/connection/BufferedSocket;
|
|
|
|
.field public d:I
|
|
|
|
.field public final e:Lokhttp3/internal/http1/HeadersReader;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 7
|
|
|
|
.line 1
|
|
sget-object v0, Lokhttp3/Headers;->f:Lokhttp3/Headers;
|
|
|
|
.line 2
|
|
.line 3
|
|
const-string v0, "OkHttp-Response-Body"
|
|
|
|
.line 4
|
|
.line 5
|
|
const-string v1, "Truncated"
|
|
|
|
.line 6
|
|
.line 7
|
|
filled-new-array {v0, v1}, [Ljava/lang/String;
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result-object v0
|
|
|
|
.line 11
|
|
const-string v1, "namesAndValues"
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
const/4 v1, 0x2
|
|
|
|
.line 17
|
|
invoke-static {v0, v1}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result-object v0
|
|
|
|
.line 21
|
|
check-cast v0, [Ljava/lang/String;
|
|
|
|
.line 22
|
|
.line 23
|
|
const-string v2, "inputNamesAndValues"
|
|
|
|
.line 24
|
|
.line 25
|
|
invoke-static {v0, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
array-length v2, v0
|
|
|
|
.line 29
|
|
rem-int/2addr v2, v1
|
|
|
|
.line 30
|
|
if-nez v2, :cond_3
|
|
|
|
.line 31
|
|
.line 32
|
|
array-length v2, v0
|
|
|
|
.line 33
|
|
invoke-static {v0, v2}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
move-result-object v2
|
|
|
|
.line 37
|
|
check-cast v2, [Ljava/lang/String;
|
|
|
|
.line 38
|
|
.line 39
|
|
array-length v3, v2
|
|
|
|
.line 40
|
|
const/4 v4, 0x0
|
|
|
|
.line 41
|
|
move v5, v4
|
|
|
|
.line 42
|
|
:goto_0
|
|
if-ge v5, v3, :cond_1
|
|
|
|
.line 43
|
|
.line 44
|
|
aget-object v6, v2, v5
|
|
|
|
.line 45
|
|
.line 46
|
|
if-eqz v6, :cond_0
|
|
|
|
.line 47
|
|
.line 48
|
|
aget-object v6, v0, v5
|
|
|
|
.line 49
|
|
.line 50
|
|
invoke-static {v6}, Lkotlin/text/StringsKt;->P(Ljava/lang/String;)Ljava/lang/CharSequence;
|
|
|
|
.line 51
|
|
.line 52
|
|
.line 53
|
|
move-result-object v6
|
|
|
|
.line 54
|
|
invoke-virtual {v6}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
.line 55
|
|
.line 56
|
|
.line 57
|
|
move-result-object v6
|
|
|
|
.line 58
|
|
aput-object v6, v2, v5
|
|
|
|
.line 59
|
|
.line 60
|
|
add-int/lit8 v5, v5, 0x1
|
|
|
|
.line 61
|
|
.line 62
|
|
goto :goto_0
|
|
|
|
.line 63
|
|
:cond_0
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
.line 64
|
|
.line 65
|
|
const-string v1, "Headers cannot be null"
|
|
|
|
.line 66
|
|
.line 67
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 68
|
|
.line 69
|
|
.line 70
|
|
throw v0
|
|
|
|
.line 71
|
|
:cond_1
|
|
array-length v0, v2
|
|
|
|
.line 72
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
.line 73
|
|
.line 74
|
|
invoke-static {v4, v0, v1}, Lkotlin/internal/ProgressionUtilKt;->getProgressionLastElement(III)I
|
|
|
|
.line 75
|
|
.line 76
|
|
.line 77
|
|
move-result v0
|
|
|
|
.line 78
|
|
if-ltz v0, :cond_2
|
|
|
|
.line 79
|
|
.line 80
|
|
:goto_1
|
|
aget-object v1, v2, v4
|
|
|
|
.line 81
|
|
.line 82
|
|
add-int/lit8 v3, v4, 0x1
|
|
|
|
.line 83
|
|
.line 84
|
|
aget-object v3, v2, v3
|
|
|
|
.line 85
|
|
.line 86
|
|
invoke-static {v1}, Lokhttp3/internal/_HeadersCommonKt;->b(Ljava/lang/String;)V
|
|
|
|
.line 87
|
|
.line 88
|
|
.line 89
|
|
invoke-static {v3, v1}, Lokhttp3/internal/_HeadersCommonKt;->c(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 90
|
|
.line 91
|
|
.line 92
|
|
if-eq v4, v0, :cond_2
|
|
|
|
.line 93
|
|
.line 94
|
|
add-int/lit8 v4, v4, 0x2
|
|
|
|
.line 95
|
|
.line 96
|
|
goto :goto_1
|
|
|
|
.line 97
|
|
:cond_2
|
|
new-instance v0, Lokhttp3/Headers;
|
|
|
|
.line 98
|
|
.line 99
|
|
invoke-direct {v0, v2}, Lokhttp3/Headers;-><init>([Ljava/lang/String;)V
|
|
|
|
.line 100
|
|
.line 101
|
|
.line 102
|
|
sput-object v0, Lokhttp3/internal/http1/Http1ExchangeCodec;->f:Lokhttp3/Headers;
|
|
|
|
.line 103
|
|
.line 104
|
|
return-void
|
|
|
|
.line 105
|
|
:cond_3
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
.line 106
|
|
.line 107
|
|
const-string v1, "Expected alternating header names and values"
|
|
|
|
.line 108
|
|
.line 109
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 110
|
|
.line 111
|
|
.line 112
|
|
throw v0
|
|
.end method
|
|
|
|
.method public constructor <init>(Lokhttp3/OkHttpClient;Lokhttp3/internal/http/ExchangeCodec$Carrier;Lokhttp3/internal/connection/BufferedSocket;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
const-string v0, "carrier"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const-string v0, "socket"
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
iput-object p1, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->a:Lokhttp3/OkHttpClient;
|
|
|
|
.line 15
|
|
.line 16
|
|
iput-object p2, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->b:Lokhttp3/internal/http/ExchangeCodec$Carrier;
|
|
|
|
.line 17
|
|
.line 18
|
|
iput-object p3, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->c:Lokhttp3/internal/connection/BufferedSocket;
|
|
|
|
.line 19
|
|
.line 20
|
|
new-instance p1, Lokhttp3/internal/http1/HeadersReader;
|
|
|
|
.line 21
|
|
.line 22
|
|
invoke-interface {p3}, Lokhttp3/internal/connection/BufferedSocket;->a()Lokio/BufferedSource;
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
move-result-object p2
|
|
|
|
.line 26
|
|
invoke-direct {p1, p2}, Lokhttp3/internal/http1/HeadersReader;-><init>(Lokio/BufferedSource;)V
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
iput-object p1, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->e:Lokhttp3/internal/http1/HeadersReader;
|
|
|
|
.line 30
|
|
.line 31
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final k(Lokhttp3/internal/http1/Http1ExchangeCodec;Lokio/ForwardingTimeout;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object p0, p1, Lokio/ForwardingTimeout;->e:Lokio/Timeout;
|
|
|
|
.line 2
|
|
.line 3
|
|
const-string v0, "delegate"
|
|
|
|
.line 4
|
|
.line 5
|
|
sget-object v1, Lokio/Timeout;->d:Lokio/Timeout$Companion$NONE$1;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-static {v1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
iput-object v1, p1, Lokio/ForwardingTimeout;->e:Lokio/Timeout;
|
|
|
|
.line 11
|
|
.line 12
|
|
invoke-virtual {p0}, Lokio/Timeout;->a()Lokio/Timeout;
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
invoke-virtual {p0}, Lokio/Timeout;->b()Lokio/Timeout;
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->c:Lokhttp3/internal/connection/BufferedSocket;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-interface {v0}, Lokhttp3/internal/connection/BufferedSocket;->b()Lokio/BufferedSink;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object v0
|
|
|
|
.line 7
|
|
invoke-interface {v0}, Lokio/BufferedSink;->flush()V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
return-void
|
|
.end method
|
|
|
|
.method public final b(Lokhttp3/Request;)V
|
|
.locals 5
|
|
|
|
.line 1
|
|
const-string v0, "request"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
iget-object v1, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->b:Lokhttp3/internal/http/ExchangeCodec$Carrier;
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-interface {v1}, Lokhttp3/internal/http/ExchangeCodec$Carrier;->getRoute()Lokhttp3/Route;
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
move-result-object v1
|
|
|
|
.line 12
|
|
iget-object v1, v1, Lokhttp3/Route;->b:Ljava/net/Proxy;
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-virtual {v1}, Ljava/net/Proxy;->type()Ljava/net/Proxy$Type;
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result-object v1
|
|
|
|
.line 18
|
|
const-string v2, "type(...)"
|
|
|
|
.line 19
|
|
.line 20
|
|
invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
const-string v0, "proxyType"
|
|
|
|
.line 27
|
|
.line 28
|
|
invoke-static {v1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
.line 32
|
|
.line 33
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
iget-object v2, p1, Lokhttp3/Request;->b:Ljava/lang/String;
|
|
|
|
.line 37
|
|
.line 38
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 39
|
|
.line 40
|
|
.line 41
|
|
const/16 v2, 0x20
|
|
|
|
.line 42
|
|
.line 43
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
iget-object v2, p1, Lokhttp3/Request;->a:Lokhttp3/HttpUrl;
|
|
|
|
.line 47
|
|
.line 48
|
|
iget-object v3, v2, Lokhttp3/HttpUrl;->a:Ljava/lang/String;
|
|
|
|
.line 49
|
|
.line 50
|
|
const-string v4, "https"
|
|
|
|
.line 51
|
|
.line 52
|
|
invoke-static {v3, v4}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
.line 53
|
|
.line 54
|
|
.line 55
|
|
move-result v3
|
|
|
|
.line 56
|
|
if-nez v3, :cond_0
|
|
|
|
.line 57
|
|
.line 58
|
|
sget-object v3, Ljava/net/Proxy$Type;->HTTP:Ljava/net/Proxy$Type;
|
|
|
|
.line 59
|
|
.line 60
|
|
if-ne v1, v3, :cond_0
|
|
|
|
.line 61
|
|
.line 62
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
.line 63
|
|
.line 64
|
|
.line 65
|
|
goto :goto_0
|
|
|
|
.line 66
|
|
:cond_0
|
|
invoke-static {v2}, Lokhttp3/internal/http/RequestLine;->a(Lokhttp3/HttpUrl;)Ljava/lang/String;
|
|
|
|
.line 67
|
|
.line 68
|
|
.line 69
|
|
move-result-object v1
|
|
|
|
.line 70
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 71
|
|
.line 72
|
|
.line 73
|
|
:goto_0
|
|
const-string v1, " HTTP/1.1"
|
|
|
|
.line 74
|
|
.line 75
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 76
|
|
.line 77
|
|
.line 78
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 79
|
|
.line 80
|
|
.line 81
|
|
move-result-object v0
|
|
|
|
.line 82
|
|
iget-object p1, p1, Lokhttp3/Request;->c:Lokhttp3/Headers;
|
|
|
|
.line 83
|
|
.line 84
|
|
invoke-virtual {p0, p1, v0}, Lokhttp3/internal/http1/Http1ExchangeCodec;->n(Lokhttp3/Headers;Ljava/lang/String;)V
|
|
|
|
.line 85
|
|
.line 86
|
|
.line 87
|
|
return-void
|
|
.end method
|
|
|
|
.method public final c()Z
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget v0, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->d:I
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v1, 0x6
|
|
|
|
.line 4
|
|
if-ne v0, v1, :cond_0
|
|
|
|
.line 5
|
|
.line 6
|
|
const/4 v0, 0x1
|
|
|
|
.line 7
|
|
return v0
|
|
|
|
.line 8
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 9
|
|
return v0
|
|
.end method
|
|
|
|
.method public final cancel()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->b:Lokhttp3/internal/http/ExchangeCodec$Carrier;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-interface {v0}, Lokhttp3/internal/http/ExchangeCodec$Carrier;->cancel()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
return-void
|
|
.end method
|
|
|
|
.method public final d(Lokhttp3/Response;)Lokio/Source;
|
|
.locals 9
|
|
|
|
.line 1
|
|
const-string v0, "response"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
invoke-static {p1}, Lokhttp3/internal/http/HttpHeaders;->a(Lokhttp3/Response;)Z
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result v0
|
|
|
|
.line 10
|
|
iget-object v1, p1, Lokhttp3/Response;->c:Lokhttp3/Request;
|
|
|
|
.line 11
|
|
.line 12
|
|
if-nez v0, :cond_0
|
|
|
|
.line 13
|
|
.line 14
|
|
iget-object p1, v1, Lokhttp3/Request;->a:Lokhttp3/HttpUrl;
|
|
|
|
.line 15
|
|
.line 16
|
|
const-wide/16 v0, 0x0
|
|
|
|
.line 17
|
|
.line 18
|
|
invoke-virtual {p0, p1, v0, v1}, Lokhttp3/internal/http1/Http1ExchangeCodec;->l(Lokhttp3/HttpUrl;J)Lokio/Source;
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
move-result-object p1
|
|
|
|
.line 22
|
|
return-object p1
|
|
|
|
.line 23
|
|
:cond_0
|
|
const-string v0, "Transfer-Encoding"
|
|
|
|
.line 24
|
|
.line 25
|
|
invoke-static {v0, p1}, Lokhttp3/Response;->a(Ljava/lang/String;Lokhttp3/Response;)Ljava/lang/String;
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
move-result-object v0
|
|
|
|
.line 29
|
|
const-string v2, "chunked"
|
|
|
|
.line 30
|
|
.line 31
|
|
invoke-static {v2, v0}, Lkotlin/text/StringsKt;->t(Ljava/lang/String;Ljava/lang/String;)Z
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
move-result v0
|
|
|
|
.line 35
|
|
const-string v2, "state: "
|
|
|
|
.line 36
|
|
.line 37
|
|
const/4 v3, 0x5
|
|
|
|
.line 38
|
|
const/4 v4, 0x4
|
|
|
|
.line 39
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 40
|
|
.line 41
|
|
iget-object p1, v1, Lokhttp3/Request;->a:Lokhttp3/HttpUrl;
|
|
|
|
.line 42
|
|
.line 43
|
|
iget v0, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->d:I
|
|
|
|
.line 44
|
|
.line 45
|
|
if-ne v0, v4, :cond_1
|
|
|
|
.line 46
|
|
.line 47
|
|
iput v3, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->d:I
|
|
|
|
.line 48
|
|
.line 49
|
|
new-instance v0, Lokhttp3/internal/http1/Http1ExchangeCodec$ChunkedSource;
|
|
|
|
.line 50
|
|
.line 51
|
|
invoke-direct {v0, p0, p1}, Lokhttp3/internal/http1/Http1ExchangeCodec$ChunkedSource;-><init>(Lokhttp3/internal/http1/Http1ExchangeCodec;Lokhttp3/HttpUrl;)V
|
|
|
|
.line 52
|
|
.line 53
|
|
.line 54
|
|
return-object v0
|
|
|
|
.line 55
|
|
:cond_1
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
.line 56
|
|
.line 57
|
|
invoke-direct {p1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 58
|
|
.line 59
|
|
.line 60
|
|
iget v0, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->d:I
|
|
|
|
.line 61
|
|
.line 62
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
.line 63
|
|
.line 64
|
|
.line 65
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 66
|
|
.line 67
|
|
.line 68
|
|
move-result-object p1
|
|
|
|
.line 69
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
.line 70
|
|
.line 71
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
.line 72
|
|
.line 73
|
|
.line 74
|
|
move-result-object p1
|
|
|
|
.line 75
|
|
invoke-direct {v0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 76
|
|
.line 77
|
|
.line 78
|
|
throw v0
|
|
|
|
.line 79
|
|
:cond_2
|
|
invoke-static {p1}, Lokhttp3/internal/_UtilJvmKt;->d(Lokhttp3/Response;)J
|
|
|
|
.line 80
|
|
.line 81
|
|
.line 82
|
|
move-result-wide v5
|
|
|
|
.line 83
|
|
const-wide/16 v7, -0x1
|
|
|
|
.line 84
|
|
.line 85
|
|
cmp-long p1, v5, v7
|
|
|
|
.line 86
|
|
.line 87
|
|
if-eqz p1, :cond_3
|
|
|
|
.line 88
|
|
.line 89
|
|
iget-object p1, v1, Lokhttp3/Request;->a:Lokhttp3/HttpUrl;
|
|
|
|
.line 90
|
|
.line 91
|
|
invoke-virtual {p0, p1, v5, v6}, Lokhttp3/internal/http1/Http1ExchangeCodec;->l(Lokhttp3/HttpUrl;J)Lokio/Source;
|
|
|
|
.line 92
|
|
.line 93
|
|
.line 94
|
|
move-result-object p1
|
|
|
|
.line 95
|
|
return-object p1
|
|
|
|
.line 96
|
|
:cond_3
|
|
iget-object p1, v1, Lokhttp3/Request;->a:Lokhttp3/HttpUrl;
|
|
|
|
.line 97
|
|
.line 98
|
|
iget v0, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->d:I
|
|
|
|
.line 99
|
|
.line 100
|
|
if-ne v0, v4, :cond_4
|
|
|
|
.line 101
|
|
.line 102
|
|
iput v3, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->d:I
|
|
|
|
.line 103
|
|
.line 104
|
|
iget-object v0, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->b:Lokhttp3/internal/http/ExchangeCodec$Carrier;
|
|
|
|
.line 105
|
|
.line 106
|
|
invoke-interface {v0}, Lokhttp3/internal/http/ExchangeCodec$Carrier;->e()V
|
|
|
|
.line 107
|
|
.line 108
|
|
.line 109
|
|
new-instance v0, Lokhttp3/internal/http1/Http1ExchangeCodec$UnknownLengthSource;
|
|
|
|
.line 110
|
|
.line 111
|
|
const-string v1, "url"
|
|
|
|
.line 112
|
|
.line 113
|
|
invoke-static {p1, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 114
|
|
.line 115
|
|
.line 116
|
|
invoke-direct {v0, p0, p1}, Lokhttp3/internal/http1/Http1ExchangeCodec$AbstractSource;-><init>(Lokhttp3/internal/http1/Http1ExchangeCodec;Lokhttp3/HttpUrl;)V
|
|
|
|
.line 117
|
|
.line 118
|
|
.line 119
|
|
return-object v0
|
|
|
|
.line 120
|
|
:cond_4
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
.line 121
|
|
.line 122
|
|
invoke-direct {p1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 123
|
|
.line 124
|
|
.line 125
|
|
iget v0, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->d:I
|
|
|
|
.line 126
|
|
.line 127
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
.line 128
|
|
.line 129
|
|
.line 130
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 131
|
|
.line 132
|
|
.line 133
|
|
move-result-object p1
|
|
|
|
.line 134
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
.line 135
|
|
.line 136
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
.line 137
|
|
.line 138
|
|
.line 139
|
|
move-result-object p1
|
|
|
|
.line 140
|
|
invoke-direct {v0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 141
|
|
.line 142
|
|
.line 143
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final e(Z)Lokhttp3/Response$Builder;
|
|
.locals 13
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->e:Lokhttp3/internal/http1/HeadersReader;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget v1, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->d:I
|
|
|
|
.line 4
|
|
.line 5
|
|
const/4 v2, 0x1
|
|
|
|
.line 6
|
|
const/4 v3, 0x3
|
|
|
|
.line 7
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 8
|
|
.line 9
|
|
if-eq v1, v2, :cond_1
|
|
|
|
.line 10
|
|
.line 11
|
|
const/4 v4, 0x2
|
|
|
|
.line 12
|
|
if-eq v1, v4, :cond_1
|
|
|
|
.line 13
|
|
.line 14
|
|
if-ne v1, v3, :cond_0
|
|
|
|
.line 15
|
|
.line 16
|
|
goto :goto_0
|
|
|
|
.line 17
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
.line 18
|
|
.line 19
|
|
const-string v0, "state: "
|
|
|
|
.line 20
|
|
.line 21
|
|
invoke-direct {p1, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
iget v0, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->d:I
|
|
|
|
.line 25
|
|
.line 26
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result-object p1
|
|
|
|
.line 33
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
.line 34
|
|
.line 35
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
move-result-object p1
|
|
|
|
.line 39
|
|
invoke-direct {v0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 40
|
|
.line 41
|
|
.line 42
|
|
throw v0
|
|
|
|
.line 43
|
|
:cond_1
|
|
:goto_0
|
|
:try_start_0
|
|
iget-object v1, v0, Lokhttp3/internal/http1/HeadersReader;->a:Lokio/BufferedSource;
|
|
|
|
.line 44
|
|
.line 45
|
|
iget-wide v4, v0, Lokhttp3/internal/http1/HeadersReader;->b:J
|
|
|
|
.line 46
|
|
.line 47
|
|
invoke-interface {v1, v4, v5}, Lokio/BufferedSource;->H(J)Ljava/lang/String;
|
|
|
|
.line 48
|
|
.line 49
|
|
.line 50
|
|
move-result-object v1
|
|
|
|
.line 51
|
|
iget-wide v4, v0, Lokhttp3/internal/http1/HeadersReader;->b:J
|
|
|
|
.line 52
|
|
.line 53
|
|
invoke-virtual {v1}, Ljava/lang/String;->length()I
|
|
|
|
.line 54
|
|
.line 55
|
|
.line 56
|
|
move-result v6
|
|
|
|
.line 57
|
|
int-to-long v6, v6
|
|
|
|
.line 58
|
|
sub-long/2addr v4, v6
|
|
|
|
.line 59
|
|
iput-wide v4, v0, Lokhttp3/internal/http1/HeadersReader;->b:J
|
|
|
|
.line 60
|
|
.line 61
|
|
invoke-static {v1}, Lokhttp3/internal/http/StatusLine$Companion;->a(Ljava/lang/String;)Lokhttp3/internal/http/StatusLine;
|
|
|
|
.line 62
|
|
.line 63
|
|
.line 64
|
|
move-result-object v1
|
|
|
|
.line 65
|
|
iget v4, v1, Lokhttp3/internal/http/StatusLine;->b:I
|
|
|
|
.line 66
|
|
.line 67
|
|
new-instance v5, Lokhttp3/Response$Builder;
|
|
|
|
.line 68
|
|
.line 69
|
|
invoke-direct {v5}, Lokhttp3/Response$Builder;-><init>()V
|
|
|
|
.line 70
|
|
.line 71
|
|
.line 72
|
|
iget-object v6, v1, Lokhttp3/internal/http/StatusLine;->a:Lokhttp3/Protocol;
|
|
|
|
.line 73
|
|
.line 74
|
|
const-string v7, "protocol"
|
|
|
|
.line 75
|
|
.line 76
|
|
invoke-static {v6, v7}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 77
|
|
.line 78
|
|
.line 79
|
|
iput-object v6, v5, Lokhttp3/Response$Builder;->b:Lokhttp3/Protocol;
|
|
|
|
.line 80
|
|
.line 81
|
|
iput v4, v5, Lokhttp3/Response$Builder;->c:I
|
|
|
|
.line 82
|
|
.line 83
|
|
iget-object v1, v1, Lokhttp3/internal/http/StatusLine;->c:Ljava/lang/String;
|
|
|
|
.line 84
|
|
.line 85
|
|
const-string v6, "message"
|
|
|
|
.line 86
|
|
.line 87
|
|
invoke-static {v1, v6}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 88
|
|
.line 89
|
|
.line 90
|
|
iput-object v1, v5, Lokhttp3/Response$Builder;->d:Ljava/lang/String;
|
|
|
|
.line 91
|
|
.line 92
|
|
new-instance v1, Lokhttp3/Headers$Builder;
|
|
|
|
.line 93
|
|
.line 94
|
|
invoke-direct {v1}, Lokhttp3/Headers$Builder;-><init>()V
|
|
|
|
.line 95
|
|
.line 96
|
|
.line 97
|
|
:goto_1
|
|
iget-object v6, v0, Lokhttp3/internal/http1/HeadersReader;->a:Lokio/BufferedSource;
|
|
|
|
.line 98
|
|
.line 99
|
|
iget-wide v7, v0, Lokhttp3/internal/http1/HeadersReader;->b:J
|
|
|
|
.line 100
|
|
.line 101
|
|
invoke-interface {v6, v7, v8}, Lokio/BufferedSource;->H(J)Ljava/lang/String;
|
|
|
|
.line 102
|
|
.line 103
|
|
.line 104
|
|
move-result-object v6
|
|
|
|
.line 105
|
|
iget-wide v7, v0, Lokhttp3/internal/http1/HeadersReader;->b:J
|
|
|
|
.line 106
|
|
.line 107
|
|
invoke-virtual {v6}, Ljava/lang/String;->length()I
|
|
|
|
.line 108
|
|
.line 109
|
|
.line 110
|
|
move-result v9
|
|
|
|
.line 111
|
|
int-to-long v9, v9
|
|
|
|
.line 112
|
|
sub-long/2addr v7, v9
|
|
|
|
.line 113
|
|
iput-wide v7, v0, Lokhttp3/internal/http1/HeadersReader;->b:J
|
|
|
|
.line 114
|
|
.line 115
|
|
invoke-virtual {v6}, Ljava/lang/String;->length()I
|
|
|
|
.line 116
|
|
.line 117
|
|
.line 118
|
|
move-result v7
|
|
|
|
.line 119
|
|
const/4 v8, 0x4
|
|
|
|
.line 120
|
|
if-nez v7, :cond_5
|
|
|
|
.line 121
|
|
.line 122
|
|
invoke-virtual {v1}, Lokhttp3/Headers$Builder;->b()Lokhttp3/Headers;
|
|
|
|
.line 123
|
|
.line 124
|
|
.line 125
|
|
move-result-object v0
|
|
|
|
.line 126
|
|
const-string v1, "headers"
|
|
|
|
.line 127
|
|
.line 128
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 129
|
|
.line 130
|
|
.line 131
|
|
invoke-virtual {v0}, Lokhttp3/Headers;->g()Lokhttp3/Headers$Builder;
|
|
|
|
.line 132
|
|
.line 133
|
|
.line 134
|
|
move-result-object v0
|
|
|
|
.line 135
|
|
iput-object v0, v5, Lokhttp3/Response$Builder;->f:Lokhttp3/Headers$Builder;
|
|
|
|
.line 136
|
|
.line 137
|
|
const/16 v0, 0x64
|
|
|
|
.line 138
|
|
.line 139
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 140
|
|
.line 141
|
|
if-ne v4, v0, :cond_2
|
|
|
|
.line 142
|
|
.line 143
|
|
const/4 p1, 0x0
|
|
|
|
.line 144
|
|
return-object p1
|
|
|
|
.line 145
|
|
:cond_2
|
|
if-ne v4, v0, :cond_3
|
|
|
|
.line 146
|
|
.line 147
|
|
iput v3, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->d:I
|
|
|
|
.line 148
|
|
.line 149
|
|
return-object v5
|
|
|
|
.line 150
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
.line 151
|
|
goto :goto_2
|
|
|
|
.line 152
|
|
:cond_3
|
|
const/16 p1, 0x66
|
|
|
|
.line 153
|
|
.line 154
|
|
if-gt p1, v4, :cond_4
|
|
|
|
.line 155
|
|
.line 156
|
|
const/16 p1, 0xc8
|
|
|
|
.line 157
|
|
.line 158
|
|
if-ge v4, p1, :cond_4
|
|
|
|
.line 159
|
|
.line 160
|
|
iput v3, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->d:I
|
|
|
|
.line 161
|
|
.line 162
|
|
return-object v5
|
|
|
|
.line 163
|
|
:cond_4
|
|
iput v8, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->d:I
|
|
|
|
.line 164
|
|
.line 165
|
|
return-object v5
|
|
|
|
.line 166
|
|
:cond_5
|
|
const-string v7, ""
|
|
|
|
.line 167
|
|
.line 168
|
|
const-string v9, "substring(...)"
|
|
|
|
.line 169
|
|
.line 170
|
|
const-string v10, "line"
|
|
|
|
.line 171
|
|
.line 172
|
|
invoke-static {v6, v10}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 173
|
|
.line 174
|
|
.line 175
|
|
const/16 v10, 0x3a
|
|
|
|
.line 176
|
|
.line 177
|
|
invoke-static {v6, v10, v2, v8}, Lkotlin/text/StringsKt;->u(Ljava/lang/CharSequence;CII)I
|
|
|
|
.line 178
|
|
.line 179
|
|
.line 180
|
|
move-result v8
|
|
|
|
.line 181
|
|
const/4 v11, -0x1
|
|
|
|
.line 182
|
|
const/4 v12, 0x0
|
|
|
|
.line 183
|
|
if-eq v8, v11, :cond_6
|
|
|
|
.line 184
|
|
.line 185
|
|
invoke-virtual {v6, v12, v8}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
.line 186
|
|
.line 187
|
|
.line 188
|
|
move-result-object v7
|
|
|
|
.line 189
|
|
invoke-static {v7, v9}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 190
|
|
.line 191
|
|
.line 192
|
|
add-int/lit8 v8, v8, 0x1
|
|
|
|
.line 193
|
|
.line 194
|
|
invoke-virtual {v6, v8}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
|
|
|
.line 195
|
|
.line 196
|
|
.line 197
|
|
move-result-object v6
|
|
|
|
.line 198
|
|
invoke-static {v6, v9}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 199
|
|
.line 200
|
|
.line 201
|
|
invoke-virtual {v1, v7, v6}, Lokhttp3/Headers$Builder;->a(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 202
|
|
.line 203
|
|
.line 204
|
|
goto :goto_1
|
|
|
|
.line 205
|
|
:cond_6
|
|
invoke-virtual {v6, v12}, Ljava/lang/String;->charAt(I)C
|
|
|
|
.line 206
|
|
.line 207
|
|
.line 208
|
|
move-result v8
|
|
|
|
.line 209
|
|
if-ne v8, v10, :cond_7
|
|
|
|
.line 210
|
|
.line 211
|
|
invoke-virtual {v6, v2}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
|
|
|
.line 212
|
|
.line 213
|
|
.line 214
|
|
move-result-object v6
|
|
|
|
.line 215
|
|
invoke-static {v6, v9}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 216
|
|
.line 217
|
|
.line 218
|
|
invoke-virtual {v1, v7, v6}, Lokhttp3/Headers$Builder;->a(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 219
|
|
.line 220
|
|
.line 221
|
|
goto :goto_1
|
|
|
|
.line 222
|
|
:cond_7
|
|
invoke-virtual {v1, v7, v6}, Lokhttp3/Headers$Builder;->a(Ljava/lang/String;Ljava/lang/String;)V
|
|
:try_end_0
|
|
.catch Ljava/io/EOFException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.line 223
|
|
.line 224
|
|
.line 225
|
|
goto/16 :goto_1
|
|
|
|
.line 226
|
|
.line 227
|
|
:goto_2
|
|
iget-object v0, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->b:Lokhttp3/internal/http/ExchangeCodec$Carrier;
|
|
|
|
.line 228
|
|
.line 229
|
|
invoke-interface {v0}, Lokhttp3/internal/http/ExchangeCodec$Carrier;->getRoute()Lokhttp3/Route;
|
|
|
|
.line 230
|
|
.line 231
|
|
.line 232
|
|
move-result-object v0
|
|
|
|
.line 233
|
|
iget-object v0, v0, Lokhttp3/Route;->a:Lokhttp3/Address;
|
|
|
|
.line 234
|
|
.line 235
|
|
iget-object v0, v0, Lokhttp3/Address;->h:Lokhttp3/HttpUrl;
|
|
|
|
.line 236
|
|
.line 237
|
|
invoke-virtual {v0}, Lokhttp3/HttpUrl;->f()Ljava/lang/String;
|
|
|
|
.line 238
|
|
.line 239
|
|
.line 240
|
|
move-result-object v0
|
|
|
|
.line 241
|
|
new-instance v1, Ljava/io/IOException;
|
|
|
|
.line 242
|
|
.line 243
|
|
const-string v2, "unexpected end of stream on "
|
|
|
|
.line 244
|
|
.line 245
|
|
invoke-static {v2, v0}, Landroid/support/v4/media/a;->C(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
.line 246
|
|
.line 247
|
|
.line 248
|
|
move-result-object v0
|
|
|
|
.line 249
|
|
invoke-direct {v1, v0, p1}, Ljava/io/IOException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
.line 250
|
|
.line 251
|
|
.line 252
|
|
throw v1
|
|
.end method
|
|
|
|
.method public final f()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->c:Lokhttp3/internal/connection/BufferedSocket;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-interface {v0}, Lokhttp3/internal/connection/BufferedSocket;->b()Lokio/BufferedSink;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object v0
|
|
|
|
.line 7
|
|
invoke-interface {v0}, Lokio/BufferedSink;->flush()V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
return-void
|
|
.end method
|
|
|
|
.method public final g()Lokio/Socket;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->c:Lokhttp3/internal/connection/BufferedSocket;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final h(Lokhttp3/Response;)J
|
|
.locals 2
|
|
|
|
.line 1
|
|
const-string v0, "response"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
invoke-static {p1}, Lokhttp3/internal/http/HttpHeaders;->a(Lokhttp3/Response;)Z
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result v0
|
|
|
|
.line 10
|
|
if-nez v0, :cond_0
|
|
|
|
.line 11
|
|
.line 12
|
|
const-wide/16 v0, 0x0
|
|
|
|
.line 13
|
|
.line 14
|
|
return-wide v0
|
|
|
|
.line 15
|
|
:cond_0
|
|
const-string v0, "Transfer-Encoding"
|
|
|
|
.line 16
|
|
.line 17
|
|
invoke-static {v0, p1}, Lokhttp3/Response;->a(Ljava/lang/String;Lokhttp3/Response;)Ljava/lang/String;
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result-object v0
|
|
|
|
.line 21
|
|
const-string v1, "chunked"
|
|
|
|
.line 22
|
|
.line 23
|
|
invoke-static {v1, v0}, Lkotlin/text/StringsKt;->t(Ljava/lang/String;Ljava/lang/String;)Z
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result v0
|
|
|
|
.line 27
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 28
|
|
.line 29
|
|
const-wide/16 v0, -0x1
|
|
|
|
.line 30
|
|
.line 31
|
|
return-wide v0
|
|
|
|
.line 32
|
|
:cond_1
|
|
invoke-static {p1}, Lokhttp3/internal/_UtilJvmKt;->d(Lokhttp3/Response;)J
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
move-result-wide v0
|
|
|
|
.line 36
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final i()Lokhttp3/internal/http/ExchangeCodec$Carrier;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->b:Lokhttp3/internal/http/ExchangeCodec$Carrier;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final j(Lokhttp3/Request;J)Lokio/Sink;
|
|
.locals 5
|
|
|
|
.line 1
|
|
const-string v0, "request"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
iget-object v0, p1, Lokhttp3/Request;->d:Lokhttp3/RequestBody;
|
|
|
|
.line 7
|
|
.line 8
|
|
const-string v0, "Transfer-Encoding"
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-virtual {p1, v0}, Lokhttp3/Request;->a(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result-object p1
|
|
|
|
.line 14
|
|
const-string v0, "chunked"
|
|
|
|
.line 15
|
|
.line 16
|
|
invoke-static {v0, p1}, Lkotlin/text/StringsKt;->t(Ljava/lang/String;Ljava/lang/String;)Z
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
move-result p1
|
|
|
|
.line 20
|
|
const-string v0, "state: "
|
|
|
|
.line 21
|
|
.line 22
|
|
const/4 v1, 0x2
|
|
|
|
.line 23
|
|
const/4 v2, 0x1
|
|
|
|
.line 24
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 25
|
|
.line 26
|
|
iget p1, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->d:I
|
|
|
|
.line 27
|
|
.line 28
|
|
if-ne p1, v2, :cond_0
|
|
|
|
.line 29
|
|
.line 30
|
|
iput v1, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->d:I
|
|
|
|
.line 31
|
|
.line 32
|
|
new-instance p1, Lokhttp3/internal/http1/Http1ExchangeCodec$ChunkedSink;
|
|
|
|
.line 33
|
|
.line 34
|
|
invoke-direct {p1, p0}, Lokhttp3/internal/http1/Http1ExchangeCodec$ChunkedSink;-><init>(Lokhttp3/internal/http1/Http1ExchangeCodec;)V
|
|
|
|
.line 35
|
|
.line 36
|
|
.line 37
|
|
return-object p1
|
|
|
|
.line 38
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
.line 39
|
|
.line 40
|
|
invoke-direct {p1, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 41
|
|
.line 42
|
|
.line 43
|
|
iget p2, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->d:I
|
|
|
|
.line 44
|
|
.line 45
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
.line 46
|
|
.line 47
|
|
.line 48
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 49
|
|
.line 50
|
|
.line 51
|
|
move-result-object p1
|
|
|
|
.line 52
|
|
new-instance p2, Ljava/lang/IllegalStateException;
|
|
|
|
.line 53
|
|
.line 54
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
.line 55
|
|
.line 56
|
|
.line 57
|
|
move-result-object p1
|
|
|
|
.line 58
|
|
invoke-direct {p2, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 59
|
|
.line 60
|
|
.line 61
|
|
throw p2
|
|
|
|
.line 62
|
|
:cond_1
|
|
const-wide/16 v3, -0x1
|
|
|
|
.line 63
|
|
.line 64
|
|
cmp-long p1, p2, v3
|
|
|
|
.line 65
|
|
.line 66
|
|
if-eqz p1, :cond_3
|
|
|
|
.line 67
|
|
.line 68
|
|
iget p1, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->d:I
|
|
|
|
.line 69
|
|
.line 70
|
|
if-ne p1, v2, :cond_2
|
|
|
|
.line 71
|
|
.line 72
|
|
iput v1, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->d:I
|
|
|
|
.line 73
|
|
.line 74
|
|
new-instance p1, Lokhttp3/internal/http1/Http1ExchangeCodec$KnownLengthSink;
|
|
|
|
.line 75
|
|
.line 76
|
|
invoke-direct {p1, p0}, Lokhttp3/internal/http1/Http1ExchangeCodec$KnownLengthSink;-><init>(Lokhttp3/internal/http1/Http1ExchangeCodec;)V
|
|
|
|
.line 77
|
|
.line 78
|
|
.line 79
|
|
return-object p1
|
|
|
|
.line 80
|
|
:cond_2
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
.line 81
|
|
.line 82
|
|
invoke-direct {p1, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 83
|
|
.line 84
|
|
.line 85
|
|
iget p2, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->d:I
|
|
|
|
.line 86
|
|
.line 87
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
.line 88
|
|
.line 89
|
|
.line 90
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 91
|
|
.line 92
|
|
.line 93
|
|
move-result-object p1
|
|
|
|
.line 94
|
|
new-instance p2, Ljava/lang/IllegalStateException;
|
|
|
|
.line 95
|
|
.line 96
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
.line 97
|
|
.line 98
|
|
.line 99
|
|
move-result-object p1
|
|
|
|
.line 100
|
|
invoke-direct {p2, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 101
|
|
.line 102
|
|
.line 103
|
|
throw p2
|
|
|
|
.line 104
|
|
:cond_3
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
.line 105
|
|
.line 106
|
|
const-string p2, "Cannot stream a request body without chunked encoding or a known content length!"
|
|
|
|
.line 107
|
|
.line 108
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 109
|
|
.line 110
|
|
.line 111
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final l(Lokhttp3/HttpUrl;J)Lokio/Source;
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget v0, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->d:I
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v1, 0x4
|
|
|
|
.line 4
|
|
if-ne v0, v1, :cond_0
|
|
|
|
.line 5
|
|
.line 6
|
|
const/4 v0, 0x5
|
|
|
|
.line 7
|
|
iput v0, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->d:I
|
|
|
|
.line 8
|
|
.line 9
|
|
new-instance v0, Lokhttp3/internal/http1/Http1ExchangeCodec$FixedLengthSource;
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-direct {v0, p0, p1, p2, p3}, Lokhttp3/internal/http1/Http1ExchangeCodec$FixedLengthSource;-><init>(Lokhttp3/internal/http1/Http1ExchangeCodec;Lokhttp3/HttpUrl;J)V
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
return-object v0
|
|
|
|
.line 15
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
.line 16
|
|
.line 17
|
|
const-string p2, "state: "
|
|
|
|
.line 18
|
|
.line 19
|
|
invoke-direct {p1, p2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
iget p2, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->d:I
|
|
|
|
.line 23
|
|
.line 24
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 28
|
|
.line 29
|
|
.line 30
|
|
move-result-object p1
|
|
|
|
.line 31
|
|
new-instance p2, Ljava/lang/IllegalStateException;
|
|
|
|
.line 32
|
|
.line 33
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
move-result-object p1
|
|
|
|
.line 37
|
|
invoke-direct {p2, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 38
|
|
.line 39
|
|
.line 40
|
|
throw p2
|
|
.end method
|
|
|
|
.method public final m(Lokhttp3/Response;)V
|
|
.locals 4
|
|
|
|
.line 1
|
|
const-string v0, "response"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
invoke-static {p1}, Lokhttp3/internal/_UtilJvmKt;->d(Lokhttp3/Response;)J
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result-wide v0
|
|
|
|
.line 10
|
|
const-wide/16 v2, -0x1
|
|
|
|
.line 11
|
|
.line 12
|
|
cmp-long v2, v0, v2
|
|
|
|
.line 13
|
|
.line 14
|
|
if-nez v2, :cond_0
|
|
|
|
.line 15
|
|
.line 16
|
|
return-void
|
|
|
|
.line 17
|
|
:cond_0
|
|
iget-object p1, p1, Lokhttp3/Response;->c:Lokhttp3/Request;
|
|
|
|
.line 18
|
|
.line 19
|
|
iget-object p1, p1, Lokhttp3/Request;->a:Lokhttp3/HttpUrl;
|
|
|
|
.line 20
|
|
.line 21
|
|
invoke-virtual {p0, p1, v0, v1}, Lokhttp3/internal/http1/Http1ExchangeCodec;->l(Lokhttp3/HttpUrl;J)Lokio/Source;
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
move-result-object p1
|
|
|
|
.line 25
|
|
sget-object v0, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
|
|
|
.line 26
|
|
.line 27
|
|
const v0, 0x7fffffff
|
|
|
|
.line 28
|
|
.line 29
|
|
.line 30
|
|
invoke-static {p1, v0}, Lokhttp3/internal/_UtilJvmKt;->e(Lokio/Source;I)Z
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
check-cast p1, Lokhttp3/internal/http1/Http1ExchangeCodec$FixedLengthSource;
|
|
|
|
.line 34
|
|
.line 35
|
|
invoke-virtual {p1}, Lokhttp3/internal/http1/Http1ExchangeCodec$FixedLengthSource;->close()V
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
return-void
|
|
.end method
|
|
|
|
.method public final n(Lokhttp3/Headers;Ljava/lang/String;)V
|
|
.locals 5
|
|
|
|
.line 1
|
|
const-string v0, "headers"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const-string v0, "requestLine"
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
iget v0, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->d:I
|
|
|
|
.line 12
|
|
.line 13
|
|
if-nez v0, :cond_1
|
|
|
|
.line 14
|
|
.line 15
|
|
iget-object v0, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->c:Lokhttp3/internal/connection/BufferedSocket;
|
|
|
|
.line 16
|
|
.line 17
|
|
invoke-interface {v0}, Lokhttp3/internal/connection/BufferedSocket;->b()Lokio/BufferedSink;
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result-object v1
|
|
|
|
.line 21
|
|
invoke-interface {v1, p2}, Lokio/BufferedSink;->M(Ljava/lang/String;)Lokio/BufferedSink;
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
move-result-object p2
|
|
|
|
.line 25
|
|
const-string v1, "\r\n"
|
|
|
|
.line 26
|
|
.line 27
|
|
invoke-interface {p2, v1}, Lokio/BufferedSink;->M(Ljava/lang/String;)Lokio/BufferedSink;
|
|
|
|
.line 28
|
|
.line 29
|
|
.line 30
|
|
invoke-virtual {p1}, Lokhttp3/Headers;->size()I
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
move-result p2
|
|
|
|
.line 34
|
|
const/4 v2, 0x0
|
|
|
|
.line 35
|
|
:goto_0
|
|
if-ge v2, p2, :cond_0
|
|
|
|
.line 36
|
|
.line 37
|
|
invoke-interface {v0}, Lokhttp3/internal/connection/BufferedSocket;->b()Lokio/BufferedSink;
|
|
|
|
.line 38
|
|
.line 39
|
|
.line 40
|
|
move-result-object v3
|
|
|
|
.line 41
|
|
invoke-virtual {p1, v2}, Lokhttp3/Headers;->c(I)Ljava/lang/String;
|
|
|
|
.line 42
|
|
.line 43
|
|
.line 44
|
|
move-result-object v4
|
|
|
|
.line 45
|
|
invoke-interface {v3, v4}, Lokio/BufferedSink;->M(Ljava/lang/String;)Lokio/BufferedSink;
|
|
|
|
.line 46
|
|
.line 47
|
|
.line 48
|
|
move-result-object v3
|
|
|
|
.line 49
|
|
const-string v4, ": "
|
|
|
|
.line 50
|
|
.line 51
|
|
invoke-interface {v3, v4}, Lokio/BufferedSink;->M(Ljava/lang/String;)Lokio/BufferedSink;
|
|
|
|
.line 52
|
|
.line 53
|
|
.line 54
|
|
move-result-object v3
|
|
|
|
.line 55
|
|
invoke-virtual {p1, v2}, Lokhttp3/Headers;->k(I)Ljava/lang/String;
|
|
|
|
.line 56
|
|
.line 57
|
|
.line 58
|
|
move-result-object v4
|
|
|
|
.line 59
|
|
invoke-interface {v3, v4}, Lokio/BufferedSink;->M(Ljava/lang/String;)Lokio/BufferedSink;
|
|
|
|
.line 60
|
|
.line 61
|
|
.line 62
|
|
move-result-object v3
|
|
|
|
.line 63
|
|
invoke-interface {v3, v1}, Lokio/BufferedSink;->M(Ljava/lang/String;)Lokio/BufferedSink;
|
|
|
|
.line 64
|
|
.line 65
|
|
.line 66
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
.line 67
|
|
.line 68
|
|
goto :goto_0
|
|
|
|
.line 69
|
|
:cond_0
|
|
invoke-interface {v0}, Lokhttp3/internal/connection/BufferedSocket;->b()Lokio/BufferedSink;
|
|
|
|
.line 70
|
|
.line 71
|
|
.line 72
|
|
move-result-object p1
|
|
|
|
.line 73
|
|
invoke-interface {p1, v1}, Lokio/BufferedSink;->M(Ljava/lang/String;)Lokio/BufferedSink;
|
|
|
|
.line 74
|
|
.line 75
|
|
.line 76
|
|
const/4 p1, 0x1
|
|
|
|
.line 77
|
|
iput p1, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->d:I
|
|
|
|
.line 78
|
|
.line 79
|
|
return-void
|
|
|
|
.line 80
|
|
:cond_1
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
.line 81
|
|
.line 82
|
|
const-string p2, "state: "
|
|
|
|
.line 83
|
|
.line 84
|
|
invoke-direct {p1, p2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 85
|
|
.line 86
|
|
.line 87
|
|
iget p2, p0, Lokhttp3/internal/http1/Http1ExchangeCodec;->d:I
|
|
|
|
.line 88
|
|
.line 89
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
.line 90
|
|
.line 91
|
|
.line 92
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 93
|
|
.line 94
|
|
.line 95
|
|
move-result-object p1
|
|
|
|
.line 96
|
|
new-instance p2, Ljava/lang/IllegalStateException;
|
|
|
|
.line 97
|
|
.line 98
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
.line 99
|
|
.line 100
|
|
.line 101
|
|
move-result-object p1
|
|
|
|
.line 102
|
|
invoke-direct {p2, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 103
|
|
.line 104
|
|
.line 105
|
|
throw p2
|
|
.end method
|