This commit is contained in:
2022-06-10 21:38:30 +09:00
commit 27f5152838
51323 changed files with 12934539 additions and 0 deletions
@@ -0,0 +1,39 @@
.class public final Lokhttp3/internal/http2/ConnectionShutdownException;
.super Ljava/io/IOException;
.source "ConnectionShutdownException.kt"
# annotations
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u000c\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\u0018\u00002\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0002\u00a8\u0006\u0003"
}
d2 = {
"Lokhttp3/internal/http2/ConnectionShutdownException;",
"Ljava/io/IOException;",
"()V",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/io/IOException;-><init>()V
return-void
.end method
@@ -0,0 +1,118 @@
.class public final Lokhttp3/internal/http2/ErrorCode$Companion;
.super Ljava/lang/Object;
.source "ErrorCode.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/internal/http2/ErrorCode;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Companion"
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nErrorCode.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ErrorCode.kt\nokhttp3/internal/http2/ErrorCode$Companion\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,53:1\n1#2:54\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0008\n\u0000\u0008\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002J\u0010\u0010\u0003\u001a\u0004\u0018\u00010\u00042\u0006\u0010\u0005\u001a\u00020\u0006\u00a8\u0006\u0007"
}
d2 = {
"Lokhttp3/internal/http2/ErrorCode$Companion;",
"",
"()V",
"fromHttp2",
"Lokhttp3/internal/http2/ErrorCode;",
"code",
"",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/u;)V
.locals 0
.line 2
invoke-direct {p0}, Lokhttp3/internal/http2/ErrorCode$Companion;-><init>()V
return-void
.end method
# virtual methods
.method public final fromHttp2(I)Lokhttp3/internal/http2/ErrorCode;
.locals 6
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.line 1
invoke-static {}, Lokhttp3/internal/http2/ErrorCode;->values()[Lokhttp3/internal/http2/ErrorCode;
move-result-object v0
array-length v1, v0
const/4 v2, 0x0
move v3, v2
:goto_0
if-ge v3, v1, :cond_2
aget-object v4, v0, v3
invoke-virtual {v4}, Lokhttp3/internal/http2/ErrorCode;->getHttpCode()I
move-result v5
if-ne v5, p1, :cond_0
const/4 v5, 0x1
goto :goto_1
:cond_0
move v5, v2
:goto_1
if-eqz v5, :cond_1
goto :goto_2
:cond_1
add-int/lit8 v3, v3, 0x1
goto :goto_0
:cond_2
const/4 v4, 0x0
:goto_2
return-object v4
.end method
@@ -0,0 +1,358 @@
.class public final enum Lokhttp3/internal/http2/ErrorCode;
.super Ljava/lang/Enum;
.source "ErrorCode.kt"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lokhttp3/internal/http2/ErrorCode$Companion;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lokhttp3/internal/http2/ErrorCode;",
">;"
}
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u0013\u0008\u0086\u0001\u0018\u0000 \u00152\u0008\u0012\u0004\u0012\u00020\u00000\u0001:\u0001\u0015B\u000f\u0008\u0002\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0004R\u0011\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0005\u0010\u0006j\u0002\u0008\u0007j\u0002\u0008\u0008j\u0002\u0008\tj\u0002\u0008\nj\u0002\u0008\u000bj\u0002\u0008\u000cj\u0002\u0008\rj\u0002\u0008\u000ej\u0002\u0008\u000fj\u0002\u0008\u0010j\u0002\u0008\u0011j\u0002\u0008\u0012j\u0002\u0008\u0013j\u0002\u0008\u0014\u00a8\u0006\u0016"
}
d2 = {
"Lokhttp3/internal/http2/ErrorCode;",
"",
"httpCode",
"",
"(Ljava/lang/String;II)V",
"getHttpCode",
"()I",
"NO_ERROR",
"PROTOCOL_ERROR",
"INTERNAL_ERROR",
"FLOW_CONTROL_ERROR",
"SETTINGS_TIMEOUT",
"STREAM_CLOSED",
"FRAME_SIZE_ERROR",
"REFUSED_STREAM",
"CANCEL",
"COMPRESSION_ERROR",
"CONNECT_ERROR",
"ENHANCE_YOUR_CALM",
"INADEQUATE_SECURITY",
"HTTP_1_1_REQUIRED",
"Companion",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lokhttp3/internal/http2/ErrorCode;
.field public static final enum CANCEL:Lokhttp3/internal/http2/ErrorCode;
.field public static final enum COMPRESSION_ERROR:Lokhttp3/internal/http2/ErrorCode;
.field public static final enum CONNECT_ERROR:Lokhttp3/internal/http2/ErrorCode;
.field public static final Companion:Lokhttp3/internal/http2/ErrorCode$Companion;
.field public static final enum ENHANCE_YOUR_CALM:Lokhttp3/internal/http2/ErrorCode;
.field public static final enum FLOW_CONTROL_ERROR:Lokhttp3/internal/http2/ErrorCode;
.field public static final enum FRAME_SIZE_ERROR:Lokhttp3/internal/http2/ErrorCode;
.field public static final enum HTTP_1_1_REQUIRED:Lokhttp3/internal/http2/ErrorCode;
.field public static final enum INADEQUATE_SECURITY:Lokhttp3/internal/http2/ErrorCode;
.field public static final enum INTERNAL_ERROR:Lokhttp3/internal/http2/ErrorCode;
.field public static final enum NO_ERROR:Lokhttp3/internal/http2/ErrorCode;
.field public static final enum PROTOCOL_ERROR:Lokhttp3/internal/http2/ErrorCode;
.field public static final enum REFUSED_STREAM:Lokhttp3/internal/http2/ErrorCode;
.field public static final enum SETTINGS_TIMEOUT:Lokhttp3/internal/http2/ErrorCode;
.field public static final enum STREAM_CLOSED:Lokhttp3/internal/http2/ErrorCode;
# instance fields
.field private final httpCode:I
# direct methods
.method public static constructor <clinit>()V
.locals 4
const/16 v0, 0xe
new-array v0, v0, [Lokhttp3/internal/http2/ErrorCode;
new-instance v1, Lokhttp3/internal/http2/ErrorCode;
const-string v2, "NO_ERROR"
const/4 v3, 0x0
.line 1
invoke-direct {v1, v2, v3, v3}, Lokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
sput-object v1, Lokhttp3/internal/http2/ErrorCode;->NO_ERROR:Lokhttp3/internal/http2/ErrorCode;
aput-object v1, v0, v3
new-instance v1, Lokhttp3/internal/http2/ErrorCode;
const-string v2, "PROTOCOL_ERROR"
const/4 v3, 0x1
.line 2
invoke-direct {v1, v2, v3, v3}, Lokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
sput-object v1, Lokhttp3/internal/http2/ErrorCode;->PROTOCOL_ERROR:Lokhttp3/internal/http2/ErrorCode;
aput-object v1, v0, v3
new-instance v1, Lokhttp3/internal/http2/ErrorCode;
const-string v2, "INTERNAL_ERROR"
const/4 v3, 0x2
.line 3
invoke-direct {v1, v2, v3, v3}, Lokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
sput-object v1, Lokhttp3/internal/http2/ErrorCode;->INTERNAL_ERROR:Lokhttp3/internal/http2/ErrorCode;
aput-object v1, v0, v3
new-instance v1, Lokhttp3/internal/http2/ErrorCode;
const-string v2, "FLOW_CONTROL_ERROR"
const/4 v3, 0x3
.line 4
invoke-direct {v1, v2, v3, v3}, Lokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
sput-object v1, Lokhttp3/internal/http2/ErrorCode;->FLOW_CONTROL_ERROR:Lokhttp3/internal/http2/ErrorCode;
aput-object v1, v0, v3
new-instance v1, Lokhttp3/internal/http2/ErrorCode;
const-string v2, "SETTINGS_TIMEOUT"
const/4 v3, 0x4
.line 5
invoke-direct {v1, v2, v3, v3}, Lokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
sput-object v1, Lokhttp3/internal/http2/ErrorCode;->SETTINGS_TIMEOUT:Lokhttp3/internal/http2/ErrorCode;
aput-object v1, v0, v3
new-instance v1, Lokhttp3/internal/http2/ErrorCode;
const-string v2, "STREAM_CLOSED"
const/4 v3, 0x5
.line 6
invoke-direct {v1, v2, v3, v3}, Lokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
sput-object v1, Lokhttp3/internal/http2/ErrorCode;->STREAM_CLOSED:Lokhttp3/internal/http2/ErrorCode;
aput-object v1, v0, v3
new-instance v1, Lokhttp3/internal/http2/ErrorCode;
const-string v2, "FRAME_SIZE_ERROR"
const/4 v3, 0x6
.line 7
invoke-direct {v1, v2, v3, v3}, Lokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
sput-object v1, Lokhttp3/internal/http2/ErrorCode;->FRAME_SIZE_ERROR:Lokhttp3/internal/http2/ErrorCode;
aput-object v1, v0, v3
new-instance v1, Lokhttp3/internal/http2/ErrorCode;
const-string v2, "REFUSED_STREAM"
const/4 v3, 0x7
.line 8
invoke-direct {v1, v2, v3, v3}, Lokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
sput-object v1, Lokhttp3/internal/http2/ErrorCode;->REFUSED_STREAM:Lokhttp3/internal/http2/ErrorCode;
aput-object v1, v0, v3
new-instance v1, Lokhttp3/internal/http2/ErrorCode;
const-string v2, "CANCEL"
const/16 v3, 0x8
.line 9
invoke-direct {v1, v2, v3, v3}, Lokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
sput-object v1, Lokhttp3/internal/http2/ErrorCode;->CANCEL:Lokhttp3/internal/http2/ErrorCode;
aput-object v1, v0, v3
new-instance v1, Lokhttp3/internal/http2/ErrorCode;
const-string v2, "COMPRESSION_ERROR"
const/16 v3, 0x9
.line 10
invoke-direct {v1, v2, v3, v3}, Lokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
sput-object v1, Lokhttp3/internal/http2/ErrorCode;->COMPRESSION_ERROR:Lokhttp3/internal/http2/ErrorCode;
aput-object v1, v0, v3
new-instance v1, Lokhttp3/internal/http2/ErrorCode;
const-string v2, "CONNECT_ERROR"
const/16 v3, 0xa
.line 11
invoke-direct {v1, v2, v3, v3}, Lokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
sput-object v1, Lokhttp3/internal/http2/ErrorCode;->CONNECT_ERROR:Lokhttp3/internal/http2/ErrorCode;
aput-object v1, v0, v3
new-instance v1, Lokhttp3/internal/http2/ErrorCode;
const-string v2, "ENHANCE_YOUR_CALM"
const/16 v3, 0xb
.line 12
invoke-direct {v1, v2, v3, v3}, Lokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
sput-object v1, Lokhttp3/internal/http2/ErrorCode;->ENHANCE_YOUR_CALM:Lokhttp3/internal/http2/ErrorCode;
aput-object v1, v0, v3
new-instance v1, Lokhttp3/internal/http2/ErrorCode;
const-string v2, "INADEQUATE_SECURITY"
const/16 v3, 0xc
.line 13
invoke-direct {v1, v2, v3, v3}, Lokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
sput-object v1, Lokhttp3/internal/http2/ErrorCode;->INADEQUATE_SECURITY:Lokhttp3/internal/http2/ErrorCode;
aput-object v1, v0, v3
new-instance v1, Lokhttp3/internal/http2/ErrorCode;
const-string v2, "HTTP_1_1_REQUIRED"
const/16 v3, 0xd
.line 14
invoke-direct {v1, v2, v3, v3}, Lokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
sput-object v1, Lokhttp3/internal/http2/ErrorCode;->HTTP_1_1_REQUIRED:Lokhttp3/internal/http2/ErrorCode;
aput-object v1, v0, v3
sput-object v0, Lokhttp3/internal/http2/ErrorCode;->$VALUES:[Lokhttp3/internal/http2/ErrorCode;
new-instance v0, Lokhttp3/internal/http2/ErrorCode$Companion;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lokhttp3/internal/http2/ErrorCode$Companion;-><init>(Lkotlin/jvm/internal/u;)V
sput-object v0, Lokhttp3/internal/http2/ErrorCode;->Companion:Lokhttp3/internal/http2/ErrorCode$Companion;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;II)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)V"
}
.end annotation
.line 1
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
iput p3, p0, Lokhttp3/internal/http2/ErrorCode;->httpCode:I
return-void
.end method
.method public static valueOf(Ljava/lang/String;)Lokhttp3/internal/http2/ErrorCode;
.locals 1
const-class v0, Lokhttp3/internal/http2/ErrorCode;
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
move-result-object p0
check-cast p0, Lokhttp3/internal/http2/ErrorCode;
return-object p0
.end method
.method public static values()[Lokhttp3/internal/http2/ErrorCode;
.locals 1
sget-object v0, Lokhttp3/internal/http2/ErrorCode;->$VALUES:[Lokhttp3/internal/http2/ErrorCode;
invoke-virtual {v0}, [Lokhttp3/internal/http2/ErrorCode;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lokhttp3/internal/http2/ErrorCode;
return-object v0
.end method
# virtual methods
.method public final getHttpCode()I
.locals 1
.line 1
iget v0, p0, Lokhttp3/internal/http2/ErrorCode;->httpCode:I
return v0
.end method
@@ -0,0 +1,70 @@
.class public final Lokhttp3/internal/http2/Header$Companion;
.super Ljava/lang/Object;
.source "Header.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/internal/http2/Header;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Companion"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u000e\n\u0002\u0008\t\u0008\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002R\u0010\u0010\u0003\u001a\u00020\u00048\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u0005\u001a\u00020\u00048\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0006\u001a\u00020\u0007X\u0086T\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u0008\u001a\u00020\u00048\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\t\u001a\u00020\u0007X\u0086T\u00a2\u0006\u0002\n\u0000R\u0010\u0010\n\u001a\u00020\u00048\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u000b\u001a\u00020\u0007X\u0086T\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u000c\u001a\u00020\u00048\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\r\u001a\u00020\u0007X\u0086T\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u000e\u001a\u00020\u00048\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u000f\u001a\u00020\u0007X\u0086T\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0010"
}
d2 = {
"Lokhttp3/internal/http2/Header$Companion;",
"",
"()V",
"PSEUDO_PREFIX",
"Lokio/ByteString;",
"RESPONSE_STATUS",
"RESPONSE_STATUS_UTF8",
"",
"TARGET_AUTHORITY",
"TARGET_AUTHORITY_UTF8",
"TARGET_METHOD",
"TARGET_METHOD_UTF8",
"TARGET_PATH",
"TARGET_PATH_UTF8",
"TARGET_SCHEME",
"TARGET_SCHEME_UTF8",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/u;)V
.locals 0
.line 2
invoke-direct {p0}, Lokhttp3/internal/http2/Header$Companion;-><init>()V
return-void
.end method
@@ -0,0 +1,528 @@
.class public final Lokhttp3/internal/http2/Header;
.super Ljava/lang/Object;
.source "Header.kt"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lokhttp3/internal/http2/Header$Companion;
}
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000*\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010\u0008\n\u0002\u0008\u0004\n\u0002\u0010\u000b\n\u0002\u0008\u0005\u0008\u0086\u0008\u0018\u0000 \u00132\u00020\u0001:\u0001\u0013B\u0017\u0008\u0016\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0005B\u0017\u0008\u0016\u0012\u0006\u0010\u0002\u001a\u00020\u0006\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0007B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0006\u0012\u0006\u0010\u0004\u001a\u00020\u0006\u00a2\u0006\u0002\u0010\u0008J\t\u0010\u000b\u001a\u00020\u0006H\u00c6\u0003J\t\u0010\u000c\u001a\u00020\u0006H\u00c6\u0003J\u001d\u0010\r\u001a\u00020\u00002\u0008\u0008\u0002\u0010\u0002\u001a\u00020\u00062\u0008\u0008\u0002\u0010\u0004\u001a\u00020\u0006H\u00c6\u0001J\u0013\u0010\u000e\u001a\u00020\u000f2\u0008\u0010\u0010\u001a\u0004\u0018\u00010\u0001H\u00d6\u0003J\t\u0010\u0011\u001a\u00020\nH\u00d6\u0001J\u0008\u0010\u0012\u001a\u00020\u0003H\u0016R\u0010\u0010\t\u001a\u00020\n8\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u0002\u001a\u00020\u00068\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u0004\u001a\u00020\u00068\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0014"
}
d2 = {
"Lokhttp3/internal/http2/Header;",
"",
"name",
"",
"value",
"(Ljava/lang/String;Ljava/lang/String;)V",
"Lokio/ByteString;",
"(Lokio/ByteString;Ljava/lang/String;)V",
"(Lokio/ByteString;Lokio/ByteString;)V",
"hpackSize",
"",
"component1",
"component2",
"copy",
"equals",
"",
"other",
"hashCode",
"toString",
"Companion",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# static fields
.field public static final Companion:Lokhttp3/internal/http2/Header$Companion;
.field public static final PSEUDO_PREFIX:Lokio/ByteString;
.annotation build Lkotlin/jvm/JvmField;
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field public static final RESPONSE_STATUS:Lokio/ByteString;
.annotation build Lkotlin/jvm/JvmField;
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field public static final RESPONSE_STATUS_UTF8:Ljava/lang/String; = ":status"
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field public static final TARGET_AUTHORITY:Lokio/ByteString;
.annotation build Lkotlin/jvm/JvmField;
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field public static final TARGET_AUTHORITY_UTF8:Ljava/lang/String; = ":authority"
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field public static final TARGET_METHOD:Lokio/ByteString;
.annotation build Lkotlin/jvm/JvmField;
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field public static final TARGET_METHOD_UTF8:Ljava/lang/String; = ":method"
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field public static final TARGET_PATH:Lokio/ByteString;
.annotation build Lkotlin/jvm/JvmField;
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field public static final TARGET_PATH_UTF8:Ljava/lang/String; = ":path"
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field public static final TARGET_SCHEME:Lokio/ByteString;
.annotation build Lkotlin/jvm/JvmField;
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field public static final TARGET_SCHEME_UTF8:Ljava/lang/String; = ":scheme"
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
# instance fields
.field public final hpackSize:I
.annotation build Lkotlin/jvm/JvmField;
.end annotation
.end field
.field public final name:Lokio/ByteString;
.annotation build Lkotlin/jvm/JvmField;
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field public final value:Lokio/ByteString;
.annotation build Lkotlin/jvm/JvmField;
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
# direct methods
.method public static constructor <clinit>()V
.locals 2
new-instance v0, Lokhttp3/internal/http2/Header$Companion;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lokhttp3/internal/http2/Header$Companion;-><init>(Lkotlin/jvm/internal/u;)V
sput-object v0, Lokhttp3/internal/http2/Header;->Companion:Lokhttp3/internal/http2/Header$Companion;
.line 1
sget-object v0, Lokio/ByteString;->Companion:Lokio/ByteString$a;
const-string v1, ":"
invoke-virtual {v0, v1}, Lokio/ByteString$a;->l(Ljava/lang/String;)Lokio/ByteString;
move-result-object v1
sput-object v1, Lokhttp3/internal/http2/Header;->PSEUDO_PREFIX:Lokio/ByteString;
const-string v1, ":status"
.line 2
invoke-virtual {v0, v1}, Lokio/ByteString$a;->l(Ljava/lang/String;)Lokio/ByteString;
move-result-object v1
sput-object v1, Lokhttp3/internal/http2/Header;->RESPONSE_STATUS:Lokio/ByteString;
const-string v1, ":method"
.line 3
invoke-virtual {v0, v1}, Lokio/ByteString$a;->l(Ljava/lang/String;)Lokio/ByteString;
move-result-object v1
sput-object v1, Lokhttp3/internal/http2/Header;->TARGET_METHOD:Lokio/ByteString;
const-string v1, ":path"
.line 4
invoke-virtual {v0, v1}, Lokio/ByteString$a;->l(Ljava/lang/String;)Lokio/ByteString;
move-result-object v1
sput-object v1, Lokhttp3/internal/http2/Header;->TARGET_PATH:Lokio/ByteString;
const-string v1, ":scheme"
.line 5
invoke-virtual {v0, v1}, Lokio/ByteString$a;->l(Ljava/lang/String;)Lokio/ByteString;
move-result-object v1
sput-object v1, Lokhttp3/internal/http2/Header;->TARGET_SCHEME:Lokio/ByteString;
const-string v1, ":authority"
.line 6
invoke-virtual {v0, v1}, Lokio/ByteString$a;->l(Ljava/lang/String;)Lokio/ByteString;
move-result-object v0
sput-object v0, Lokhttp3/internal/http2/Header;->TARGET_AUTHORITY:Lokio/ByteString;
return-void
.end method
.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;)V
.locals 1
.param p1 # Ljava/lang/String;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
const-string v0, "name"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "value"
invoke-static {p2, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 3
sget-object v0, Lokio/ByteString;->Companion:Lokio/ByteString$a;
invoke-virtual {v0, p1}, Lokio/ByteString$a;->l(Ljava/lang/String;)Lokio/ByteString;
move-result-object p1
invoke-virtual {v0, p2}, Lokio/ByteString$a;->l(Ljava/lang/String;)Lokio/ByteString;
move-result-object p2
invoke-direct {p0, p1, p2}, Lokhttp3/internal/http2/Header;-><init>(Lokio/ByteString;Lokio/ByteString;)V
return-void
.end method
.method public constructor <init>(Lokio/ByteString;Ljava/lang/String;)V
.locals 1
.param p1 # Lokio/ByteString;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
const-string v0, "name"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "value"
invoke-static {p2, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 4
sget-object v0, Lokio/ByteString;->Companion:Lokio/ByteString$a;
invoke-virtual {v0, p2}, Lokio/ByteString$a;->l(Ljava/lang/String;)Lokio/ByteString;
move-result-object p2
invoke-direct {p0, p1, p2}, Lokhttp3/internal/http2/Header;-><init>(Lokio/ByteString;Lokio/ByteString;)V
return-void
.end method
.method public constructor <init>(Lokio/ByteString;Lokio/ByteString;)V
.locals 1
.param p1 # Lokio/ByteString;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p2 # Lokio/ByteString;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
const-string v0, "name"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "value"
invoke-static {p2, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lokhttp3/internal/http2/Header;->name:Lokio/ByteString;
iput-object p2, p0, Lokhttp3/internal/http2/Header;->value:Lokio/ByteString;
.line 2
invoke-virtual {p1}, Lokio/ByteString;->size()I
move-result p1
add-int/lit8 p1, p1, 0x20
invoke-virtual {p2}, Lokio/ByteString;->size()I
move-result p2
add-int/2addr p2, p1
iput p2, p0, Lokhttp3/internal/http2/Header;->hpackSize:I
return-void
.end method
.method public static synthetic copy$default(Lokhttp3/internal/http2/Header;Lokio/ByteString;Lokio/ByteString;ILjava/lang/Object;)Lokhttp3/internal/http2/Header;
.locals 0
and-int/lit8 p4, p3, 0x1
if-eqz p4, :cond_0
iget-object p1, p0, Lokhttp3/internal/http2/Header;->name:Lokio/ByteString;
:cond_0
and-int/lit8 p3, p3, 0x2
if-eqz p3, :cond_1
iget-object p2, p0, Lokhttp3/internal/http2/Header;->value:Lokio/ByteString;
:cond_1
invoke-virtual {p0, p1, p2}, Lokhttp3/internal/http2/Header;->copy(Lokio/ByteString;Lokio/ByteString;)Lokhttp3/internal/http2/Header;
move-result-object p0
return-object p0
.end method
# virtual methods
.method public final component1()Lokio/ByteString;
.locals 1
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
iget-object v0, p0, Lokhttp3/internal/http2/Header;->name:Lokio/ByteString;
return-object v0
.end method
.method public final component2()Lokio/ByteString;
.locals 1
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
iget-object v0, p0, Lokhttp3/internal/http2/Header;->value:Lokio/ByteString;
return-object v0
.end method
.method public final copy(Lokio/ByteString;Lokio/ByteString;)Lokhttp3/internal/http2/Header;
.locals 1
.param p1 # Lokio/ByteString;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p2 # Lokio/ByteString;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
const-string v0, "name"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "value"
invoke-static {p2, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Lokhttp3/internal/http2/Header;
invoke-direct {v0, p1, p2}, Lokhttp3/internal/http2/Header;-><init>(Lokio/ByteString;Lokio/ByteString;)V
return-object v0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 2
.param p1 # Ljava/lang/Object;
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.end param
if-eq p0, p1, :cond_1
instance-of v0, p1, Lokhttp3/internal/http2/Header;
if-eqz v0, :cond_0
check-cast p1, Lokhttp3/internal/http2/Header;
iget-object v0, p0, Lokhttp3/internal/http2/Header;->name:Lokio/ByteString;
iget-object v1, p1, Lokhttp3/internal/http2/Header;->name:Lokio/ByteString;
invoke-static {v0, v1}, Lkotlin/jvm/internal/f0;->g(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lokhttp3/internal/http2/Header;->value:Lokio/ByteString;
iget-object p1, p1, Lokhttp3/internal/http2/Header;->value:Lokio/ByteString;
invoke-static {v0, p1}, Lkotlin/jvm/internal/f0;->g(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_0
goto :goto_0
:cond_0
const/4 p1, 0x0
return p1
:cond_1
:goto_0
const/4 p1, 0x1
return p1
.end method
.method public hashCode()I
.locals 3
iget-object v0, p0, Lokhttp3/internal/http2/Header;->name:Lokio/ByteString;
const/4 v1, 0x0
if-eqz v0, :cond_0
invoke-virtual {v0}, Lokio/ByteString;->hashCode()I
move-result v0
goto :goto_0
:cond_0
move v0, v1
:goto_0
mul-int/lit8 v0, v0, 0x1f
iget-object v2, p0, Lokhttp3/internal/http2/Header;->value:Lokio/ByteString;
if-eqz v2, :cond_1
invoke-virtual {v2}, Lokio/ByteString;->hashCode()I
move-result v1
:cond_1
add-int/2addr v0, v1
return v0
.end method
.method public toString()Ljava/lang/String;
.locals 2
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
iget-object v1, p0, Lokhttp3/internal/http2/Header;->name:Lokio/ByteString;
invoke-virtual {v1}, Lokio/ByteString;->utf8()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, ": "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lokhttp3/internal/http2/Header;->value:Lokio/ByteString;
invoke-virtual {v1}, Lokio/ByteString;->utf8()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,682 @@
.class public final Lokhttp3/internal/http2/Http2;
.super Ljava/lang/Object;
.source "Http2.kt"
# annotations
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u00000\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0010\u0011\n\u0002\u0010\u000e\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u001a\n\u0002\u0010\u000b\n\u0002\u0008\u0003\u0008\u00c6\u0002\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002J\u0016\u0010\u001f\u001a\u00020\u00052\u0006\u0010 \u001a\u00020\u000b2\u0006\u0010!\u001a\u00020\u000bJ\u0015\u0010\"\u001a\u00020\u00052\u0006\u0010 \u001a\u00020\u000bH\u0000\u00a2\u0006\u0002\u0008#J.\u0010$\u001a\u00020\u00052\u0006\u0010%\u001a\u00020&2\u0006\u0010\'\u001a\u00020\u000b2\u0006\u0010(\u001a\u00020\u000b2\u0006\u0010 \u001a\u00020\u000b2\u0006\u0010!\u001a\u00020\u000bR\u0016\u0010\u0003\u001a\u0008\u0012\u0004\u0012\u00020\u00050\u0004X\u0082\u0004\u00a2\u0006\u0004\n\u0002\u0010\u0006R\u0010\u0010\u0007\u001a\u00020\u00088\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000R\u0018\u0010\t\u001a\n\u0012\u0006\u0012\u0004\u0018\u00010\u00050\u0004X\u0082\u0004\u00a2\u0006\u0004\n\u0002\u0010\u0006R\u000e\u0010\n\u001a\u00020\u000bX\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u000c\u001a\u00020\u000bX\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\r\u001a\u00020\u000bX\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u000e\u001a\u00020\u000bX\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u000f\u001a\u00020\u000bX\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0010\u001a\u00020\u000bX\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0011\u001a\u00020\u000bX\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0012\u001a\u00020\u000bX\u0086T\u00a2\u0006\u0002\n\u0000R\u0016\u0010\u0013\u001a\u0008\u0012\u0004\u0012\u00020\u00050\u0004X\u0082\u0004\u00a2\u0006\u0004\n\u0002\u0010\u0006R\u000e\u0010\u0014\u001a\u00020\u000bX\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0015\u001a\u00020\u000bX\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0016\u001a\u00020\u000bX\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0017\u001a\u00020\u000bX\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0018\u001a\u00020\u000bX\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0019\u001a\u00020\u000bX\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u001a\u001a\u00020\u000bX\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u001b\u001a\u00020\u000bX\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u001c\u001a\u00020\u000bX\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u001d\u001a\u00020\u000bX\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u001e\u001a\u00020\u000bX\u0086T\u00a2\u0006\u0002\n\u0000\u00a8\u0006)"
}
d2 = {
"Lokhttp3/internal/http2/Http2;",
"",
"()V",
"BINARY",
"",
"",
"[Ljava/lang/String;",
"CONNECTION_PREFACE",
"Lokio/ByteString;",
"FLAGS",
"FLAG_ACK",
"",
"FLAG_COMPRESSED",
"FLAG_END_HEADERS",
"FLAG_END_PUSH_PROMISE",
"FLAG_END_STREAM",
"FLAG_NONE",
"FLAG_PADDED",
"FLAG_PRIORITY",
"FRAME_NAMES",
"INITIAL_MAX_FRAME_SIZE",
"TYPE_CONTINUATION",
"TYPE_DATA",
"TYPE_GOAWAY",
"TYPE_HEADERS",
"TYPE_PING",
"TYPE_PRIORITY",
"TYPE_PUSH_PROMISE",
"TYPE_RST_STREAM",
"TYPE_SETTINGS",
"TYPE_WINDOW_UPDATE",
"formatFlags",
"type",
"flags",
"formattedType",
"formattedType$okhttp",
"frameLog",
"inbound",
"",
"streamId",
"length",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# static fields
.field private static final BINARY:[Ljava/lang/String;
.field public static final CONNECTION_PREFACE:Lokio/ByteString;
.annotation build Lkotlin/jvm/JvmField;
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field private static final FLAGS:[Ljava/lang/String;
.field public static final FLAG_ACK:I = 0x1
.field public static final FLAG_COMPRESSED:I = 0x20
.field public static final FLAG_END_HEADERS:I = 0x4
.field public static final FLAG_END_PUSH_PROMISE:I = 0x4
.field public static final FLAG_END_STREAM:I = 0x1
.field public static final FLAG_NONE:I = 0x0
.field public static final FLAG_PADDED:I = 0x8
.field public static final FLAG_PRIORITY:I = 0x20
.field private static final FRAME_NAMES:[Ljava/lang/String;
.field public static final INITIAL_MAX_FRAME_SIZE:I = 0x4000
.field public static final INSTANCE:Lokhttp3/internal/http2/Http2;
.field public static final TYPE_CONTINUATION:I = 0x9
.field public static final TYPE_DATA:I = 0x0
.field public static final TYPE_GOAWAY:I = 0x7
.field public static final TYPE_HEADERS:I = 0x1
.field public static final TYPE_PING:I = 0x6
.field public static final TYPE_PRIORITY:I = 0x2
.field public static final TYPE_PUSH_PROMISE:I = 0x5
.field public static final TYPE_RST_STREAM:I = 0x3
.field public static final TYPE_SETTINGS:I = 0x4
.field public static final TYPE_WINDOW_UPDATE:I = 0x8
# direct methods
.method public static constructor <clinit>()V
.locals 16
.line 1
new-instance v0, Lokhttp3/internal/http2/Http2;
invoke-direct {v0}, Lokhttp3/internal/http2/Http2;-><init>()V
sput-object v0, Lokhttp3/internal/http2/Http2;->INSTANCE:Lokhttp3/internal/http2/Http2;
.line 2
sget-object v0, Lokio/ByteString;->Companion:Lokio/ByteString$a;
const-string v1, "PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n"
invoke-virtual {v0, v1}, Lokio/ByteString$a;->l(Ljava/lang/String;)Lokio/ByteString;
move-result-object v0
sput-object v0, Lokhttp3/internal/http2/Http2;->CONNECTION_PREFACE:Lokio/ByteString;
const-string v1, "DATA"
const-string v2, "HEADERS"
const-string v3, "PRIORITY"
const-string v4, "RST_STREAM"
const-string v5, "SETTINGS"
const-string v6, "PUSH_PROMISE"
const-string v7, "PING"
const-string v8, "GOAWAY"
const-string v9, "WINDOW_UPDATE"
const-string v10, "CONTINUATION"
.line 3
filled-new-array/range {v1 .. v10}, [Ljava/lang/String;
move-result-object v0
.line 4
sput-object v0, Lokhttp3/internal/http2/Http2;->FRAME_NAMES:[Ljava/lang/String;
const/16 v0, 0x40
new-array v0, v0, [Ljava/lang/String;
.line 5
sput-object v0, Lokhttp3/internal/http2/Http2;->FLAGS:[Ljava/lang/String;
const/16 v0, 0x100
new-array v1, v0, [Ljava/lang/String;
const/4 v2, 0x0
move v3, v2
:goto_0
const/4 v4, 0x1
if-ge v3, v0, :cond_0
new-array v4, v4, [Ljava/lang/Object;
.line 6
invoke-static {v3}, Ljava/lang/Integer;->toBinaryString(I)Ljava/lang/String;
move-result-object v5
const-string v6, "Integer.toBinaryString(it)"
invoke-static {v5, v6}, Lkotlin/jvm/internal/f0;->o(Ljava/lang/Object;Ljava/lang/String;)V
aput-object v5, v4, v2
const-string v5, "%8s"
invoke-static {v5, v4}, Lokhttp3/internal/Util;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v6
const/16 v7, 0x20
const/16 v8, 0x30
const/4 v9, 0x0
const/4 v10, 0x4
const/4 v11, 0x0
invoke-static/range {v6 .. v11}, Lkotlin/text/u;->j2(Ljava/lang/String;CCZILjava/lang/Object;)Ljava/lang/String;
move-result-object v4
aput-object v4, v1, v3
add-int/lit8 v3, v3, 0x1
goto :goto_0
:cond_0
sput-object v1, Lokhttp3/internal/http2/Http2;->BINARY:[Ljava/lang/String;
.line 7
sget-object v0, Lokhttp3/internal/http2/Http2;->FLAGS:[Ljava/lang/String;
const-string v1, ""
aput-object v1, v0, v2
const-string v1, "END_STREAM"
.line 8
aput-object v1, v0, v4
new-array v1, v4, [I
aput v4, v1, v2
const-string v3, "PADDED"
const/16 v5, 0x8
.line 9
aput-object v3, v0, v5
move v0, v2
:goto_1
const-string v3, "|PADDED"
if-ge v0, v4, :cond_1
.line 10
aget v6, v1, v0
.line 11
sget-object v7, Lokhttp3/internal/http2/Http2;->FLAGS:[Ljava/lang/String;
or-int/lit8 v8, v6, 0x8
aget-object v6, v7, v6
invoke-static {v6, v3}, Lkotlin/jvm/internal/f0;->C(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
move-result-object v3
aput-object v3, v7, v8
add-int/lit8 v0, v0, 0x1
goto :goto_1
.line 12
:cond_1
sget-object v0, Lokhttp3/internal/http2/Http2;->FLAGS:[Ljava/lang/String;
const/4 v6, 0x4
const-string v7, "END_HEADERS"
aput-object v7, v0, v6
const/16 v6, 0x20
const-string v7, "PRIORITY"
.line 13
aput-object v7, v0, v6
const/16 v6, 0x24
const-string v7, "END_HEADERS|PRIORITY"
.line 14
aput-object v7, v0, v6
const/4 v0, 0x3
new-array v6, v0, [I
.line 15
fill-array-data v6, :array_0
move v7, v2
:goto_2
if-ge v7, v0, :cond_3
.line 16
aget v8, v6, v7
move v9, v2
:goto_3
if-ge v9, v4, :cond_2
.line 17
aget v10, v1, v9
.line 18
sget-object v11, Lokhttp3/internal/http2/Http2;->FLAGS:[Ljava/lang/String;
or-int v12, v10, v8
new-instance v13, Ljava/lang/StringBuilder;
invoke-direct {v13}, Ljava/lang/StringBuilder;-><init>()V
aget-object v14, v11, v10
invoke-virtual {v13, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v14, "|"
invoke-virtual {v13, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
aget-object v15, v11, v8
invoke-virtual {v13, v15}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v13}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v13
aput-object v13, v11, v12
or-int/2addr v12, v5
.line 19
new-instance v13, Ljava/lang/StringBuilder;
invoke-direct {v13}, Ljava/lang/StringBuilder;-><init>()V
aget-object v10, v11, v10
invoke-virtual {v13, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v13, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
aget-object v10, v11, v8
invoke-static {v13, v10, v3}, Landroidx/camera/camera2/internal/b;->a(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v10
aput-object v10, v11, v12
add-int/lit8 v9, v9, 0x1
goto :goto_3
:cond_2
add-int/lit8 v7, v7, 0x1
goto :goto_2
.line 20
:cond_3
sget-object v0, Lokhttp3/internal/http2/Http2;->FLAGS:[Ljava/lang/String;
array-length v0, v0
:goto_4
if-ge v2, v0, :cond_5
.line 21
sget-object v1, Lokhttp3/internal/http2/Http2;->FLAGS:[Ljava/lang/String;
aget-object v3, v1, v2
if-nez v3, :cond_4
sget-object v3, Lokhttp3/internal/http2/Http2;->BINARY:[Ljava/lang/String;
aget-object v3, v3, v2
aput-object v3, v1, v2
:cond_4
add-int/lit8 v2, v2, 0x1
goto :goto_4
:cond_5
return-void
nop
:array_0
.array-data 4
0x4
0x20
0x24
.end array-data
.end method
.method private constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final formatFlags(II)Ljava/lang/String;
.locals 7
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
if-nez p2, :cond_0
const-string p1, ""
return-object p1
:cond_0
const/4 v0, 0x2
if-eq p1, v0, :cond_6
const/4 v0, 0x3
if-eq p1, v0, :cond_6
const/4 v0, 0x4
if-eq p1, v0, :cond_4
const/4 v0, 0x6
if-eq p1, v0, :cond_4
const/4 v0, 0x7
if-eq p1, v0, :cond_6
const/16 v0, 0x8
if-eq p1, v0, :cond_6
.line 1
sget-object v0, Lokhttp3/internal/http2/Http2;->FLAGS:[Ljava/lang/String;
array-length v1, v0
if-ge p2, v1, :cond_1
aget-object v0, v0, p2
invoke-static {v0}, Lkotlin/jvm/internal/f0;->m(Ljava/lang/Object;)V
goto :goto_0
:cond_1
sget-object v0, Lokhttp3/internal/http2/Http2;->BINARY:[Ljava/lang/String;
aget-object v0, v0, p2
:goto_0
move-object v1, v0
const/4 v0, 0x5
if-ne p1, v0, :cond_2
and-int/lit8 v0, p2, 0x4
if-eqz v0, :cond_2
const/4 v4, 0x0
const/4 v5, 0x4
const/4 v6, 0x0
const-string v2, "HEADERS"
const-string v3, "PUSH_PROMISE"
.line 2
invoke-static/range {v1 .. v6}, Lkotlin/text/u;->k2(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZILjava/lang/Object;)Ljava/lang/String;
move-result-object v1
goto :goto_1
:cond_2
if-nez p1, :cond_3
and-int/lit8 p1, p2, 0x20
if-eqz p1, :cond_3
const/4 v4, 0x0
const/4 v5, 0x4
const/4 v6, 0x0
const-string v2, "PRIORITY"
const-string v3, "COMPRESSED"
.line 3
invoke-static/range {v1 .. v6}, Lkotlin/text/u;->k2(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZILjava/lang/Object;)Ljava/lang/String;
move-result-object v1
:cond_3
:goto_1
return-object v1
:cond_4
const/4 p1, 0x1
if-ne p2, p1, :cond_5
const-string p1, "ACK"
goto :goto_2
.line 4
:cond_5
sget-object p1, Lokhttp3/internal/http2/Http2;->BINARY:[Ljava/lang/String;
aget-object p1, p1, p2
:goto_2
return-object p1
.line 5
:cond_6
sget-object p1, Lokhttp3/internal/http2/Http2;->BINARY:[Ljava/lang/String;
aget-object p1, p1, p2
return-object p1
.end method
.method public final formattedType$okhttp(I)Ljava/lang/String;
.locals 2
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
sget-object v0, Lokhttp3/internal/http2/Http2;->FRAME_NAMES:[Ljava/lang/String;
array-length v1, v0
if-ge p1, v1, :cond_0
aget-object p1, v0, p1
goto :goto_0
:cond_0
const/4 v0, 0x1
new-array v0, v0, [Ljava/lang/Object;
const/4 v1, 0x0
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
aput-object p1, v0, v1
const-string p1, "0x%02x"
invoke-static {p1, v0}, Lokhttp3/internal/Util;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
:goto_0
return-object p1
.end method
.method public final frameLog(ZIIII)Ljava/lang/String;
.locals 2
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
invoke-virtual {p0, p4}, Lokhttp3/internal/http2/Http2;->formattedType$okhttp(I)Ljava/lang/String;
move-result-object v0
.line 2
invoke-virtual {p0, p4, p5}, Lokhttp3/internal/http2/Http2;->formatFlags(II)Ljava/lang/String;
move-result-object p4
if-eqz p1, :cond_0
const-string p1, "<<"
goto :goto_0
:cond_0
const-string p1, ">>"
:goto_0
const/4 p5, 0x5
new-array p5, p5, [Ljava/lang/Object;
const/4 v1, 0x0
aput-object p1, p5, v1
const/4 p1, 0x1
.line 3
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p2
aput-object p2, p5, p1
const/4 p1, 0x2
invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p2
aput-object p2, p5, p1
const/4 p1, 0x3
aput-object v0, p5, p1
const/4 p1, 0x4
aput-object p4, p5, p1
const-string p1, "%s 0x%08x %5d %-13s %s"
.line 4
invoke-static {p1, p5}, Lokhttp3/internal/Util;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
return-object p1
.end method
@@ -0,0 +1,165 @@
.class public final Lokhttp3/internal/http2/Http2Connection$$special$$inlined$schedule$1;
.super Lokhttp3/internal/concurrent/Task;
.source "TaskQueue.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lokhttp3/internal/http2/Http2Connection;-><init>(Lokhttp3/internal/http2/Http2Connection$Builder;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nTaskQueue.kt\nKotlin\n*S Kotlin\n*F\n+ 1 TaskQueue.kt\nokhttp3/internal/concurrent/TaskQueue$schedule$2\n+ 2 Http2Connection.kt\nokhttp3/internal/http2/Http2Connection\n*L\n1#1,218:1\n153#2,14:219\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0011\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0000*\u0001\u0000\u0008\n\u0018\u00002\u00020\u0001J\u0008\u0010\u0002\u001a\u00020\u0003H\u0016\u00a8\u0006\u0004\u00b8\u0006\u0000"
}
d2 = {
"okhttp3/internal/concurrent/TaskQueue$schedule$2",
"Lokhttp3/internal/concurrent/Task;",
"runOnce",
"",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field public final synthetic $name:Ljava/lang/String;
.field public final synthetic $pingIntervalNanos$inlined:J
.field public final synthetic this$0:Lokhttp3/internal/http2/Http2Connection;
# direct methods
.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;Lokhttp3/internal/http2/Http2Connection;J)V
.locals 0
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$$special$$inlined$schedule$1;->$name:Ljava/lang/String;
iput-object p3, p0, Lokhttp3/internal/http2/Http2Connection$$special$$inlined$schedule$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
iput-wide p4, p0, Lokhttp3/internal/http2/Http2Connection$$special$$inlined$schedule$1;->$pingIntervalNanos$inlined:J
const/4 p1, 0x0
const/4 p3, 0x2
const/4 p4, 0x0
.line 1
invoke-direct {p0, p2, p1, p3, p4}, Lokhttp3/internal/concurrent/Task;-><init>(Ljava/lang/String;ZILkotlin/jvm/internal/u;)V
return-void
.end method
# virtual methods
.method public runOnce()J
.locals 8
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$$special$$inlined$schedule$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
monitor-enter v0
.line 2
:try_start_0
iget-object v1, p0, Lokhttp3/internal/http2/Http2Connection$$special$$inlined$schedule$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
invoke-static {v1}, Lokhttp3/internal/http2/Http2Connection;->access$getIntervalPongsReceived$p(Lokhttp3/internal/http2/Http2Connection;)J
move-result-wide v1
iget-object v3, p0, Lokhttp3/internal/http2/Http2Connection$$special$$inlined$schedule$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
invoke-static {v3}, Lokhttp3/internal/http2/Http2Connection;->access$getIntervalPingsSent$p(Lokhttp3/internal/http2/Http2Connection;)J
move-result-wide v3
cmp-long v1, v1, v3
const/4 v2, 0x1
const/4 v3, 0x0
if-gez v1, :cond_0
move v1, v2
goto :goto_0
.line 3
:cond_0
iget-object v1, p0, Lokhttp3/internal/http2/Http2Connection$$special$$inlined$schedule$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
invoke-static {v1}, Lokhttp3/internal/http2/Http2Connection;->access$getIntervalPingsSent$p(Lokhttp3/internal/http2/Http2Connection;)J
move-result-wide v4
const-wide/16 v6, 0x1
add-long/2addr v4, v6
invoke-static {v1, v4, v5}, Lokhttp3/internal/http2/Http2Connection;->access$setIntervalPingsSent$p(Lokhttp3/internal/http2/Http2Connection;J)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
move v1, v3
.line 4
:goto_0
monitor-exit v0
if-eqz v1, :cond_1
.line 5
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$$special$$inlined$schedule$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
const/4 v1, 0x0
invoke-static {v0, v1}, Lokhttp3/internal/http2/Http2Connection;->access$failConnection(Lokhttp3/internal/http2/Http2Connection;Ljava/io/IOException;)V
const-wide/16 v0, -0x1
goto :goto_1
.line 6
:cond_1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$$special$$inlined$schedule$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
invoke-virtual {v0, v3, v2, v3}, Lokhttp3/internal/http2/Http2Connection;->writePing(ZII)V
.line 7
iget-wide v0, p0, Lokhttp3/internal/http2/Http2Connection$$special$$inlined$schedule$1;->$pingIntervalNanos$inlined:J
:goto_1
return-wide v0
:catchall_0
move-exception v1
.line 8
monitor-exit v0
throw v1
.end method
@@ -0,0 +1,756 @@
.class public final Lokhttp3/internal/http2/Http2Connection$Builder;
.super Ljava/lang/Object;
.source "Http2Connection.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/internal/http2/Http2Connection;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Builder"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {}
d1 = {
"\u0000J\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0008\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u001b\n\u0002\u0010\u000b\n\u0002\u0008\u0006\n\u0002\u0018\u0002\n\u0002\u0008\u0011\u0018\u00002\u00020\u0001B\u0017\u0012\u0006\u0010-\u001a\u00020,\u0012\u0006\u00104\u001a\u000203\u00a2\u0006\u0004\u0008B\u0010CJ.\u0010\u0003\u001a\u00020\u00002\u0006\u0010\u0003\u001a\u00020\u00022\u0008\u0008\u0002\u0010\u0005\u001a\u00020\u00042\u0008\u0008\u0002\u0010\u0007\u001a\u00020\u00062\u0008\u0008\u0002\u0010\t\u001a\u00020\u0008H\u0007J\u000e\u0010\u000b\u001a\u00020\u00002\u0006\u0010\u000b\u001a\u00020\nJ\u000e\u0010\r\u001a\u00020\u00002\u0006\u0010\r\u001a\u00020\u000cJ\u000e\u0010\u000f\u001a\u00020\u00002\u0006\u0010\u000f\u001a\u00020\u000eJ\u0006\u0010\u0011\u001a\u00020\u0010R\"\u0010\u0003\u001a\u00020\u00028\u0000@\u0000X\u0080.\u00a2\u0006\u0012\n\u0004\u0008\u0003\u0010\u0012\u001a\u0004\u0008\u0013\u0010\u0014\"\u0004\u0008\u0015\u0010\u0016R\"\u0010\u0017\u001a\u00020\u00048\u0000@\u0000X\u0080.\u00a2\u0006\u0012\n\u0004\u0008\u0017\u0010\u0018\u001a\u0004\u0008\u0019\u0010\u001a\"\u0004\u0008\u001b\u0010\u001cR\"\u0010\u000b\u001a\u00020\n8\u0000@\u0000X\u0080\u000e\u00a2\u0006\u0012\n\u0004\u0008\u000b\u0010\u001d\u001a\u0004\u0008\u001e\u0010\u001f\"\u0004\u0008 \u0010!R\"\u0010\r\u001a\u00020\u000c8\u0000@\u0000X\u0080\u000e\u00a2\u0006\u0012\n\u0004\u0008\r\u0010\"\u001a\u0004\u0008#\u0010$\"\u0004\u0008%\u0010&R\"\u0010\u000f\u001a\u00020\u000e8\u0000@\u0000X\u0080\u000e\u00a2\u0006\u0012\n\u0004\u0008\u000f\u0010\'\u001a\u0004\u0008(\u0010)\"\u0004\u0008*\u0010+R\"\u0010-\u001a\u00020,8\u0000@\u0000X\u0080\u000e\u00a2\u0006\u0012\n\u0004\u0008-\u0010.\u001a\u0004\u0008/\u00100\"\u0004\u00081\u00102R\u001a\u00104\u001a\u0002038\u0000X\u0080\u0004\u00a2\u0006\u000c\n\u0004\u00084\u00105\u001a\u0004\u00086\u00107R\"\u0010\u0007\u001a\u00020\u00068\u0000@\u0000X\u0080.\u00a2\u0006\u0012\n\u0004\u0008\u0007\u00108\u001a\u0004\u00089\u0010:\"\u0004\u0008;\u0010<R\"\u0010\t\u001a\u00020\u00088\u0000@\u0000X\u0080.\u00a2\u0006\u0012\n\u0004\u0008\t\u0010=\u001a\u0004\u0008>\u0010?\"\u0004\u0008@\u0010A\u00a8\u0006D"
}
d2 = {
"Lokhttp3/internal/http2/Http2Connection$Builder;",
"",
"Ljava/net/Socket;",
"socket",
"",
"peerName",
"Lzj/o;",
"source",
"Lzj/n;",
"sink",
"Lokhttp3/internal/http2/Http2Connection$Listener;",
"listener",
"Lokhttp3/internal/http2/PushObserver;",
"pushObserver",
"",
"pingIntervalMillis",
"Lokhttp3/internal/http2/Http2Connection;",
"build",
"Ljava/net/Socket;",
"getSocket$okhttp",
"()Ljava/net/Socket;",
"setSocket$okhttp",
"(Ljava/net/Socket;)V",
"connectionName",
"Ljava/lang/String;",
"getConnectionName$okhttp",
"()Ljava/lang/String;",
"setConnectionName$okhttp",
"(Ljava/lang/String;)V",
"Lokhttp3/internal/http2/Http2Connection$Listener;",
"getListener$okhttp",
"()Lokhttp3/internal/http2/Http2Connection$Listener;",
"setListener$okhttp",
"(Lokhttp3/internal/http2/Http2Connection$Listener;)V",
"Lokhttp3/internal/http2/PushObserver;",
"getPushObserver$okhttp",
"()Lokhttp3/internal/http2/PushObserver;",
"setPushObserver$okhttp",
"(Lokhttp3/internal/http2/PushObserver;)V",
"I",
"getPingIntervalMillis$okhttp",
"()I",
"setPingIntervalMillis$okhttp",
"(I)V",
"",
"client",
"Z",
"getClient$okhttp",
"()Z",
"setClient$okhttp",
"(Z)V",
"Lokhttp3/internal/concurrent/TaskRunner;",
"taskRunner",
"Lokhttp3/internal/concurrent/TaskRunner;",
"getTaskRunner$okhttp",
"()Lokhttp3/internal/concurrent/TaskRunner;",
"Lzj/o;",
"getSource$okhttp",
"()Lzj/o;",
"setSource$okhttp",
"(Lzj/o;)V",
"Lzj/n;",
"getSink$okhttp",
"()Lzj/n;",
"setSink$okhttp",
"(Lzj/n;)V",
"<init>",
"(ZLokhttp3/internal/concurrent/TaskRunner;)V",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field private client:Z
.field public connectionName:Ljava/lang/String;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field private listener:Lokhttp3/internal/http2/Http2Connection$Listener;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field private pingIntervalMillis:I
.field private pushObserver:Lokhttp3/internal/http2/PushObserver;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field public sink:Lzj/n;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field public socket:Ljava/net/Socket;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field public source:Lzj/o;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field private final taskRunner:Lokhttp3/internal/concurrent/TaskRunner;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
# direct methods
.method public constructor <init>(ZLokhttp3/internal/concurrent/TaskRunner;)V
.locals 1
.param p2 # Lokhttp3/internal/concurrent/TaskRunner;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
const-string v0, "taskRunner"
invoke-static {p2, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-boolean p1, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->client:Z
iput-object p2, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->taskRunner:Lokhttp3/internal/concurrent/TaskRunner;
.line 2
sget-object p1, Lokhttp3/internal/http2/Http2Connection$Listener;->REFUSE_INCOMING_STREAMS:Lokhttp3/internal/http2/Http2Connection$Listener;
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->listener:Lokhttp3/internal/http2/Http2Connection$Listener;
.line 3
sget-object p1, Lokhttp3/internal/http2/PushObserver;->CANCEL:Lokhttp3/internal/http2/PushObserver;
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->pushObserver:Lokhttp3/internal/http2/PushObserver;
return-void
.end method
.method public static synthetic socket$default(Lokhttp3/internal/http2/Http2Connection$Builder;Ljava/net/Socket;Ljava/lang/String;Lzj/o;Lzj/n;ILjava/lang/Object;)Lokhttp3/internal/http2/Http2Connection$Builder;
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
and-int/lit8 p6, p5, 0x2
if-eqz p6, :cond_0
.line 1
invoke-static {p1}, Lokhttp3/internal/Util;->peerName(Ljava/net/Socket;)Ljava/lang/String;
move-result-object p2
:cond_0
and-int/lit8 p6, p5, 0x4
if-eqz p6, :cond_1
.line 2
invoke-static {p1}, Lzj/z;->n(Ljava/net/Socket;)Lzj/m0;
move-result-object p3
invoke-static {p3}, Lzj/z;->d(Lzj/m0;)Lzj/o;
move-result-object p3
:cond_1
and-int/lit8 p5, p5, 0x8
if-eqz p5, :cond_2
.line 3
invoke-static {p1}, Lzj/z;->i(Ljava/net/Socket;)Lzj/k0;
move-result-object p4
invoke-static {p4}, Lzj/z;->c(Lzj/k0;)Lzj/n;
move-result-object p4
:cond_2
invoke-virtual {p0, p1, p2, p3, p4}, Lokhttp3/internal/http2/Http2Connection$Builder;->socket(Ljava/net/Socket;Ljava/lang/String;Lzj/o;Lzj/n;)Lokhttp3/internal/http2/Http2Connection$Builder;
move-result-object p0
return-object p0
.end method
# virtual methods
.method public final build()Lokhttp3/internal/http2/Http2Connection;
.locals 1
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
new-instance v0, Lokhttp3/internal/http2/Http2Connection;
invoke-direct {v0, p0}, Lokhttp3/internal/http2/Http2Connection;-><init>(Lokhttp3/internal/http2/Http2Connection$Builder;)V
return-object v0
.end method
.method public final getClient$okhttp()Z
.locals 1
.line 1
iget-boolean v0, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->client:Z
return v0
.end method
.method public final getConnectionName$okhttp()Ljava/lang/String;
.locals 2
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->connectionName:Ljava/lang/String;
if-nez v0, :cond_0
const-string v1, "connectionName"
invoke-static {v1}, Lkotlin/jvm/internal/f0;->S(Ljava/lang/String;)V
:cond_0
return-object v0
.end method
.method public final getListener$okhttp()Lokhttp3/internal/http2/Http2Connection$Listener;
.locals 1
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->listener:Lokhttp3/internal/http2/Http2Connection$Listener;
return-object v0
.end method
.method public final getPingIntervalMillis$okhttp()I
.locals 1
.line 1
iget v0, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->pingIntervalMillis:I
return v0
.end method
.method public final getPushObserver$okhttp()Lokhttp3/internal/http2/PushObserver;
.locals 1
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->pushObserver:Lokhttp3/internal/http2/PushObserver;
return-object v0
.end method
.method public final getSink$okhttp()Lzj/n;
.locals 2
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->sink:Lzj/n;
if-nez v0, :cond_0
const-string v1, "sink"
invoke-static {v1}, Lkotlin/jvm/internal/f0;->S(Ljava/lang/String;)V
:cond_0
return-object v0
.end method
.method public final getSocket$okhttp()Ljava/net/Socket;
.locals 2
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->socket:Ljava/net/Socket;
if-nez v0, :cond_0
const-string v1, "socket"
invoke-static {v1}, Lkotlin/jvm/internal/f0;->S(Ljava/lang/String;)V
:cond_0
return-object v0
.end method
.method public final getSource$okhttp()Lzj/o;
.locals 2
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->source:Lzj/o;
if-nez v0, :cond_0
const-string v1, "source"
invoke-static {v1}, Lkotlin/jvm/internal/f0;->S(Ljava/lang/String;)V
:cond_0
return-object v0
.end method
.method public final getTaskRunner$okhttp()Lokhttp3/internal/concurrent/TaskRunner;
.locals 1
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->taskRunner:Lokhttp3/internal/concurrent/TaskRunner;
return-object v0
.end method
.method public final listener(Lokhttp3/internal/http2/Http2Connection$Listener;)Lokhttp3/internal/http2/Http2Connection$Builder;
.locals 1
.param p1 # Lokhttp3/internal/http2/Http2Connection$Listener;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
const-string v0, "listener"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->listener:Lokhttp3/internal/http2/Http2Connection$Listener;
return-object p0
.end method
.method public final pingIntervalMillis(I)Lokhttp3/internal/http2/Http2Connection$Builder;
.locals 0
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
iput p1, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->pingIntervalMillis:I
return-object p0
.end method
.method public final pushObserver(Lokhttp3/internal/http2/PushObserver;)Lokhttp3/internal/http2/Http2Connection$Builder;
.locals 1
.param p1 # Lokhttp3/internal/http2/PushObserver;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
const-string v0, "pushObserver"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->pushObserver:Lokhttp3/internal/http2/PushObserver;
return-object p0
.end method
.method public final setClient$okhttp(Z)V
.locals 0
.line 1
iput-boolean p1, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->client:Z
return-void
.end method
.method public final setConnectionName$okhttp(Ljava/lang/String;)V
.locals 1
.param p1 # Ljava/lang/String;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
const-string v0, "<set-?>"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->connectionName:Ljava/lang/String;
return-void
.end method
.method public final setListener$okhttp(Lokhttp3/internal/http2/Http2Connection$Listener;)V
.locals 1
.param p1 # Lokhttp3/internal/http2/Http2Connection$Listener;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
const-string v0, "<set-?>"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->listener:Lokhttp3/internal/http2/Http2Connection$Listener;
return-void
.end method
.method public final setPingIntervalMillis$okhttp(I)V
.locals 0
.line 1
iput p1, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->pingIntervalMillis:I
return-void
.end method
.method public final setPushObserver$okhttp(Lokhttp3/internal/http2/PushObserver;)V
.locals 1
.param p1 # Lokhttp3/internal/http2/PushObserver;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
const-string v0, "<set-?>"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->pushObserver:Lokhttp3/internal/http2/PushObserver;
return-void
.end method
.method public final setSink$okhttp(Lzj/n;)V
.locals 1
.param p1 # Lzj/n;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
const-string v0, "<set-?>"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->sink:Lzj/n;
return-void
.end method
.method public final setSocket$okhttp(Ljava/net/Socket;)V
.locals 1
.param p1 # Ljava/net/Socket;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
const-string v0, "<set-?>"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->socket:Ljava/net/Socket;
return-void
.end method
.method public final setSource$okhttp(Lzj/o;)V
.locals 1
.param p1 # Lzj/o;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
const-string v0, "<set-?>"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->source:Lzj/o;
return-void
.end method
.method public final socket(Ljava/net/Socket;)Lokhttp3/internal/http2/Http2Connection$Builder;
.locals 7
.param p1 # Ljava/net/Socket;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.annotation build Lkotlin/jvm/JvmOverloads;
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
const/4 v2, 0x0
const/4 v3, 0x0
const/4 v4, 0x0
const/16 v5, 0xe
const/4 v6, 0x0
move-object v0, p0
move-object v1, p1
invoke-static/range {v0 .. v6}, Lokhttp3/internal/http2/Http2Connection$Builder;->socket$default(Lokhttp3/internal/http2/Http2Connection$Builder;Ljava/net/Socket;Ljava/lang/String;Lzj/o;Lzj/n;ILjava/lang/Object;)Lokhttp3/internal/http2/Http2Connection$Builder;
move-result-object p1
return-object p1
.end method
.method public final socket(Ljava/net/Socket;Ljava/lang/String;)Lokhttp3/internal/http2/Http2Connection$Builder;
.locals 7
.param p1 # Ljava/net/Socket;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.annotation build Lkotlin/jvm/JvmOverloads;
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
const/4 v3, 0x0
const/4 v4, 0x0
const/16 v5, 0xc
const/4 v6, 0x0
move-object v0, p0
move-object v1, p1
move-object v2, p2
invoke-static/range {v0 .. v6}, Lokhttp3/internal/http2/Http2Connection$Builder;->socket$default(Lokhttp3/internal/http2/Http2Connection$Builder;Ljava/net/Socket;Ljava/lang/String;Lzj/o;Lzj/n;ILjava/lang/Object;)Lokhttp3/internal/http2/Http2Connection$Builder;
move-result-object p1
return-object p1
.end method
.method public final socket(Ljava/net/Socket;Ljava/lang/String;Lzj/o;)Lokhttp3/internal/http2/Http2Connection$Builder;
.locals 7
.param p1 # Ljava/net/Socket;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p3 # Lzj/o;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.annotation build Lkotlin/jvm/JvmOverloads;
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
const/4 v4, 0x0
const/16 v5, 0x8
const/4 v6, 0x0
move-object v0, p0
move-object v1, p1
move-object v2, p2
move-object v3, p3
invoke-static/range {v0 .. v6}, Lokhttp3/internal/http2/Http2Connection$Builder;->socket$default(Lokhttp3/internal/http2/Http2Connection$Builder;Ljava/net/Socket;Ljava/lang/String;Lzj/o;Lzj/n;ILjava/lang/Object;)Lokhttp3/internal/http2/Http2Connection$Builder;
move-result-object p1
return-object p1
.end method
.method public final socket(Ljava/net/Socket;Ljava/lang/String;Lzj/o;Lzj/n;)Lokhttp3/internal/http2/Http2Connection$Builder;
.locals 1
.param p1 # Ljava/net/Socket;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p3 # Lzj/o;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p4 # Lzj/n;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.annotation build Lkotlin/jvm/JvmOverloads;
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
const-string v0, "socket"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "peerName"
invoke-static {p2, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "source"
invoke-static {p3, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "sink"
invoke-static {p4, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->socket:Ljava/net/Socket;
.line 2
iget-boolean p1, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->client:Z
if-eqz p1, :cond_0
new-instance p1, Ljava/lang/StringBuilder;
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
sget-object v0, Lokhttp3/internal/Util;->okHttpName:Ljava/lang/String;
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 v0, 0x20
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
goto :goto_0
:cond_0
const-string p1, "MockWebServer "
.line 3
invoke-static {p1, p2}, Lc/g;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
.line 4
:goto_0
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->connectionName:Ljava/lang/String;
.line 5
iput-object p3, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->source:Lzj/o;
.line 6
iput-object p4, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->sink:Lzj/n;
return-object p0
.end method
@@ -0,0 +1,82 @@
.class public final Lokhttp3/internal/http2/Http2Connection$Companion;
.super Ljava/lang/Object;
.source "Http2Connection.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/internal/http2/Http2Connection;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Companion"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0007\u0008\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002R\u000e\u0010\u0003\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000R\u0011\u0010\u0005\u001a\u00020\u0006\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0007\u0010\u0008R\u000e\u0010\t\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\n\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u000b\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u000c\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000\u00a8\u0006\r"
}
d2 = {
"Lokhttp3/internal/http2/Http2Connection$Companion;",
"",
"()V",
"AWAIT_PING",
"",
"DEFAULT_SETTINGS",
"Lokhttp3/internal/http2/Settings;",
"getDEFAULT_SETTINGS",
"()Lokhttp3/internal/http2/Settings;",
"DEGRADED_PING",
"DEGRADED_PONG_TIMEOUT_NS",
"INTERVAL_PING",
"OKHTTP_CLIENT_WINDOW_SIZE",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/u;)V
.locals 0
.line 2
invoke-direct {p0}, Lokhttp3/internal/http2/Http2Connection$Companion;-><init>()V
return-void
.end method
# virtual methods
.method public final getDEFAULT_SETTINGS()Lokhttp3/internal/http2/Settings;
.locals 1
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
invoke-static {}, Lokhttp3/internal/http2/Http2Connection;->access$getDEFAULT_SETTINGS$cp()Lokhttp3/internal/http2/Settings;
move-result-object v0
return-object v0
.end method
@@ -0,0 +1,75 @@
.class public final Lokhttp3/internal/http2/Http2Connection$Listener$Companion$REFUSE_INCOMING_STREAMS$1;
.super Lokhttp3/internal/http2/Http2Connection$Listener;
.source "Http2Connection.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/internal/http2/Http2Connection$Listener;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {}
d1 = {
"\u0000\u0017\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002*\u0001\u0000\u0008\n\u0018\u00002\u00020\u0001J\u0010\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0003\u001a\u00020\u0002H\u0016\u00a8\u0006\u0006"
}
d2 = {
"okhttp3/internal/http2/Http2Connection$Listener$Companion$REFUSE_INCOMING_STREAMS$1",
"Lokhttp3/internal/http2/Http2Connection$Listener;",
"Lokhttp3/internal/http2/Http2Stream;",
"stream",
"Lkotlin/d1;",
"onStream",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Lokhttp3/internal/http2/Http2Connection$Listener;-><init>()V
return-void
.end method
# virtual methods
.method public onStream(Lokhttp3/internal/http2/Http2Stream;)V
.locals 2
.param p1 # Lokhttp3/internal/http2/Http2Stream;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const-string v0, "stream"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
sget-object v0, Lokhttp3/internal/http2/ErrorCode;->REFUSED_STREAM:Lokhttp3/internal/http2/ErrorCode;
const/4 v1, 0x0
invoke-virtual {p1, v0, v1}, Lokhttp3/internal/http2/Http2Stream;->close(Lokhttp3/internal/http2/ErrorCode;Ljava/io/IOException;)V
return-void
.end method
@@ -0,0 +1,59 @@
.class public final Lokhttp3/internal/http2/Http2Connection$Listener$Companion;
.super Ljava/lang/Object;
.source "Http2Connection.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/internal/http2/Http2Connection$Listener;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Companion"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\u0008\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002R\u0010\u0010\u0003\u001a\u00020\u00048\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0005"
}
d2 = {
"Lokhttp3/internal/http2/Http2Connection$Listener$Companion;",
"",
"()V",
"REFUSE_INCOMING_STREAMS",
"Lokhttp3/internal/http2/Http2Connection$Listener;",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/u;)V
.locals 0
.line 2
invoke-direct {p0}, Lokhttp3/internal/http2/Http2Connection$Listener$Companion;-><init>()V
return-void
.end method
@@ -0,0 +1,130 @@
.class public abstract Lokhttp3/internal/http2/Http2Connection$Listener;
.super Ljava/lang/Object;
.source "Http2Connection.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/internal/http2/Http2Connection;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x409
name = "Listener"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lokhttp3/internal/http2/Http2Connection$Listener$Companion;
}
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {}
d1 = {
"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0006\u0008&\u0018\u0000 \r2\u00020\u0001:\u0001\rB\u0007\u00a2\u0006\u0004\u0008\u000b\u0010\u000cJ\u0010\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0003\u001a\u00020\u0002H&J\u0018\u0010\n\u001a\u00020\u00042\u0006\u0010\u0007\u001a\u00020\u00062\u0006\u0010\t\u001a\u00020\u0008H\u0016\u00a8\u0006\u000e"
}
d2 = {
"Lokhttp3/internal/http2/Http2Connection$Listener;",
"",
"Lokhttp3/internal/http2/Http2Stream;",
"stream",
"Lkotlin/d1;",
"onStream",
"Lokhttp3/internal/http2/Http2Connection;",
"connection",
"Lokhttp3/internal/http2/Settings;",
"settings",
"onSettings",
"<init>",
"()V",
"Companion",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# static fields
.field public static final Companion:Lokhttp3/internal/http2/Http2Connection$Listener$Companion;
.field public static final REFUSE_INCOMING_STREAMS:Lokhttp3/internal/http2/Http2Connection$Listener;
.annotation build Lkotlin/jvm/JvmField;
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.locals 2
new-instance v0, Lokhttp3/internal/http2/Http2Connection$Listener$Companion;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lokhttp3/internal/http2/Http2Connection$Listener$Companion;-><init>(Lkotlin/jvm/internal/u;)V
sput-object v0, Lokhttp3/internal/http2/Http2Connection$Listener;->Companion:Lokhttp3/internal/http2/Http2Connection$Listener$Companion;
.line 1
new-instance v0, Lokhttp3/internal/http2/Http2Connection$Listener$Companion$REFUSE_INCOMING_STREAMS$1;
invoke-direct {v0}, Lokhttp3/internal/http2/Http2Connection$Listener$Companion$REFUSE_INCOMING_STREAMS$1;-><init>()V
sput-object v0, Lokhttp3/internal/http2/Http2Connection$Listener;->REFUSE_INCOMING_STREAMS:Lokhttp3/internal/http2/Http2Connection$Listener;
return-void
.end method
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onSettings(Lokhttp3/internal/http2/Http2Connection;Lokhttp3/internal/http2/Settings;)V
.locals 1
.param p1 # Lokhttp3/internal/http2/Http2Connection;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p2 # Lokhttp3/internal/http2/Settings;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
const-string v0, "connection"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
const-string p1, "settings"
invoke-static {p2, p1}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
return-void
.end method
.method public abstract onStream(Lokhttp3/internal/http2/Http2Stream;)V
.param p1 # Lokhttp3/internal/http2/Http2Stream;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
@@ -0,0 +1,120 @@
.class public final Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$applyAndAckSettings$$inlined$synchronized$lambda$1;
.super Lokhttp3/internal/concurrent/Task;
.source "TaskQueue.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;->applyAndAckSettings(ZLokhttp3/internal/http2/Settings;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nTaskQueue.kt\nKotlin\n*S Kotlin\n*F\n+ 1 TaskQueue.kt\nokhttp3/internal/concurrent/TaskQueue$execute$1\n+ 2 Http2Connection.kt\nokhttp3/internal/http2/Http2Connection$ReaderRunnable\n*L\n1#1,218:1\n759#2,2:219\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0013\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0002\u0008\u0003*\u0001\u0000\u0008\n\u0018\u00002\u00020\u0001J\u0008\u0010\u0002\u001a\u00020\u0003H\u0016\u00a8\u0006\u0004\u00b8\u0006\u0006"
}
d2 = {
"okhttp3/internal/concurrent/TaskQueue$execute$1",
"Lokhttp3/internal/concurrent/Task;",
"runOnce",
"",
"okhttp",
"okhttp3/internal/http2/Http2Connection$ReaderRunnable$$special$$inlined$execute$2",
"okhttp3/internal/http2/Http2Connection$ReaderRunnable$$special$$inlined$synchronized$lambda$1"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field public final synthetic $cancelable:Z
.field public final synthetic $clearPrevious$inlined:Z
.field public final synthetic $delta$inlined:Lkotlin/jvm/internal/Ref$LongRef;
.field public final synthetic $name:Ljava/lang/String;
.field public final synthetic $newPeerSettings$inlined:Lkotlin/jvm/internal/Ref$ObjectRef;
.field public final synthetic $settings$inlined:Lokhttp3/internal/http2/Settings;
.field public final synthetic $streamsToNotify$inlined:Lkotlin/jvm/internal/Ref$ObjectRef;
.field public final synthetic this$0:Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;
# direct methods
.method public constructor <init>(Ljava/lang/String;ZLjava/lang/String;ZLokhttp3/internal/http2/Http2Connection$ReaderRunnable;Lkotlin/jvm/internal/Ref$ObjectRef;ZLokhttp3/internal/http2/Settings;Lkotlin/jvm/internal/Ref$LongRef;Lkotlin/jvm/internal/Ref$ObjectRef;)V
.locals 0
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$applyAndAckSettings$$inlined$synchronized$lambda$1;->$name:Ljava/lang/String;
iput-boolean p2, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$applyAndAckSettings$$inlined$synchronized$lambda$1;->$cancelable:Z
iput-object p5, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$applyAndAckSettings$$inlined$synchronized$lambda$1;->this$0:Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;
iput-object p6, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$applyAndAckSettings$$inlined$synchronized$lambda$1;->$newPeerSettings$inlined:Lkotlin/jvm/internal/Ref$ObjectRef;
iput-boolean p7, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$applyAndAckSettings$$inlined$synchronized$lambda$1;->$clearPrevious$inlined:Z
iput-object p8, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$applyAndAckSettings$$inlined$synchronized$lambda$1;->$settings$inlined:Lokhttp3/internal/http2/Settings;
iput-object p9, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$applyAndAckSettings$$inlined$synchronized$lambda$1;->$delta$inlined:Lkotlin/jvm/internal/Ref$LongRef;
iput-object p10, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$applyAndAckSettings$$inlined$synchronized$lambda$1;->$streamsToNotify$inlined:Lkotlin/jvm/internal/Ref$ObjectRef;
.line 1
invoke-direct {p0, p3, p4}, Lokhttp3/internal/concurrent/Task;-><init>(Ljava/lang/String;Z)V
return-void
.end method
# virtual methods
.method public runOnce()J
.locals 3
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$applyAndAckSettings$$inlined$synchronized$lambda$1;->this$0:Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;
iget-object v0, v0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;->this$0:Lokhttp3/internal/http2/Http2Connection;
invoke-virtual {v0}, Lokhttp3/internal/http2/Http2Connection;->getListener$okhttp()Lokhttp3/internal/http2/Http2Connection$Listener;
move-result-object v0
iget-object v1, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$applyAndAckSettings$$inlined$synchronized$lambda$1;->this$0:Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;
iget-object v1, v1, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;->this$0:Lokhttp3/internal/http2/Http2Connection;
iget-object v2, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$applyAndAckSettings$$inlined$synchronized$lambda$1;->$newPeerSettings$inlined:Lkotlin/jvm/internal/Ref$ObjectRef;
iget-object v2, v2, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
check-cast v2, Lokhttp3/internal/http2/Settings;
invoke-virtual {v0, v1, v2}, Lokhttp3/internal/http2/Http2Connection$Listener;->onSettings(Lokhttp3/internal/http2/Http2Connection;Lokhttp3/internal/http2/Settings;)V
const-wide/16 v0, -0x1
return-wide v0
.end method
@@ -0,0 +1,162 @@
.class public final Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$headers$$inlined$synchronized$lambda$1;
.super Lokhttp3/internal/concurrent/Task;
.source "TaskQueue.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;->headers(ZIILjava/util/List;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nTaskQueue.kt\nKotlin\n*S Kotlin\n*F\n+ 1 TaskQueue.kt\nokhttp3/internal/concurrent/TaskQueue$execute$1\n+ 2 Http2Connection.kt\nokhttp3/internal/http2/Http2Connection$ReaderRunnable\n+ 3 Util.kt\nokhttp3/internal/Util\n*L\n1#1,218:1\n688#2,5:219\n693#2,2:226\n695#2,2:231\n402#3,2:224\n404#3,3:228\n*E\n*S KotlinDebug\n*F\n+ 1 Http2Connection.kt\nokhttp3/internal/http2/Http2Connection$ReaderRunnable\n*L\n692#1,2:224\n692#1,3:228\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0013\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0002\u0008\u0002*\u0001\u0000\u0008\n\u0018\u00002\u00020\u0001J\u0008\u0010\u0002\u001a\u00020\u0003H\u0016\u00a8\u0006\u0004\u00b8\u0006\u0005"
}
d2 = {
"okhttp3/internal/concurrent/TaskQueue$execute$1",
"Lokhttp3/internal/concurrent/Task;",
"runOnce",
"",
"okhttp",
"okhttp3/internal/http2/Http2Connection$ReaderRunnable$$special$$inlined$execute$1"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field public final synthetic $cancelable:Z
.field public final synthetic $headerBlock$inlined:Ljava/util/List;
.field public final synthetic $inFinished$inlined:Z
.field public final synthetic $name:Ljava/lang/String;
.field public final synthetic $newStream$inlined:Lokhttp3/internal/http2/Http2Stream;
.field public final synthetic $stream$inlined:Lokhttp3/internal/http2/Http2Stream;
.field public final synthetic $streamId$inlined:I
.field public final synthetic this$0:Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;
# direct methods
.method public constructor <init>(Ljava/lang/String;ZLjava/lang/String;ZLokhttp3/internal/http2/Http2Stream;Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;Lokhttp3/internal/http2/Http2Stream;ILjava/util/List;Z)V
.locals 0
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$headers$$inlined$synchronized$lambda$1;->$name:Ljava/lang/String;
iput-boolean p2, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$headers$$inlined$synchronized$lambda$1;->$cancelable:Z
iput-object p5, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$headers$$inlined$synchronized$lambda$1;->$newStream$inlined:Lokhttp3/internal/http2/Http2Stream;
iput-object p6, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$headers$$inlined$synchronized$lambda$1;->this$0:Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;
iput-object p7, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$headers$$inlined$synchronized$lambda$1;->$stream$inlined:Lokhttp3/internal/http2/Http2Stream;
iput p8, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$headers$$inlined$synchronized$lambda$1;->$streamId$inlined:I
iput-object p9, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$headers$$inlined$synchronized$lambda$1;->$headerBlock$inlined:Ljava/util/List;
iput-boolean p10, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$headers$$inlined$synchronized$lambda$1;->$inFinished$inlined:Z
.line 1
invoke-direct {p0, p3, p4}, Lokhttp3/internal/concurrent/Task;-><init>(Ljava/lang/String;Z)V
return-void
.end method
# virtual methods
.method public runOnce()J
.locals 4
.line 1
:try_start_0
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$headers$$inlined$synchronized$lambda$1;->this$0:Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;
iget-object v0, v0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;->this$0:Lokhttp3/internal/http2/Http2Connection;
invoke-virtual {v0}, Lokhttp3/internal/http2/Http2Connection;->getListener$okhttp()Lokhttp3/internal/http2/Http2Connection$Listener;
move-result-object v0
iget-object v1, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$headers$$inlined$synchronized$lambda$1;->$newStream$inlined:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {v0, v1}, Lokhttp3/internal/http2/Http2Connection$Listener;->onStream(Lokhttp3/internal/http2/Http2Stream;)V
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
.line 2
sget-object v1, Lokhttp3/internal/platform/Platform;->Companion:Lokhttp3/internal/platform/Platform$Companion;
invoke-virtual {v1}, Lokhttp3/internal/platform/Platform$Companion;->get()Lokhttp3/internal/platform/Platform;
move-result-object v1
const-string v2, "Http2Connection.Listener failure for "
invoke-static {v2}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v2
iget-object v3, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$headers$$inlined$synchronized$lambda$1;->this$0:Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;
iget-object v3, v3, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;->this$0:Lokhttp3/internal/http2/Http2Connection;
invoke-virtual {v3}, Lokhttp3/internal/http2/Http2Connection;->getConnectionName$okhttp()Ljava/lang/String;
move-result-object v3
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
const/4 v3, 0x4
invoke-virtual {v1, v2, v3, v0}, Lokhttp3/internal/platform/Platform;->log(Ljava/lang/String;ILjava/lang/Throwable;)V
.line 3
:try_start_1
iget-object v1, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$headers$$inlined$synchronized$lambda$1;->$newStream$inlined:Lokhttp3/internal/http2/Http2Stream;
sget-object v2, Lokhttp3/internal/http2/ErrorCode;->PROTOCOL_ERROR:Lokhttp3/internal/http2/ErrorCode;
invoke-virtual {v1, v2, v0}, Lokhttp3/internal/http2/Http2Stream;->close(Lokhttp3/internal/http2/ErrorCode;Ljava/io/IOException;)V
:try_end_1
.catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_1
:catch_1
:goto_0
const-wide/16 v0, -0x1
return-wide v0
.end method
@@ -0,0 +1,98 @@
.class public final Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$ping$$inlined$execute$1;
.super Lokhttp3/internal/concurrent/Task;
.source "TaskQueue.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;->ping(ZII)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nTaskQueue.kt\nKotlin\n*S Kotlin\n*F\n+ 1 TaskQueue.kt\nokhttp3/internal/concurrent/TaskQueue$execute$1\n+ 2 Http2Connection.kt\nokhttp3/internal/http2/Http2Connection$ReaderRunnable\n*L\n1#1,218:1\n807#2,2:219\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0011\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0000*\u0001\u0000\u0008\n\u0018\u00002\u00020\u0001J\u0008\u0010\u0002\u001a\u00020\u0003H\u0016\u00a8\u0006\u0004\u00b8\u0006\u0000"
}
d2 = {
"okhttp3/internal/concurrent/TaskQueue$execute$1",
"Lokhttp3/internal/concurrent/Task;",
"runOnce",
"",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field public final synthetic $cancelable:Z
.field public final synthetic $name:Ljava/lang/String;
.field public final synthetic $payload1$inlined:I
.field public final synthetic $payload2$inlined:I
.field public final synthetic this$0:Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;
# direct methods
.method public constructor <init>(Ljava/lang/String;ZLjava/lang/String;ZLokhttp3/internal/http2/Http2Connection$ReaderRunnable;II)V
.locals 0
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$ping$$inlined$execute$1;->$name:Ljava/lang/String;
iput-boolean p2, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$ping$$inlined$execute$1;->$cancelable:Z
iput-object p5, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$ping$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;
iput p6, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$ping$$inlined$execute$1;->$payload1$inlined:I
iput p7, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$ping$$inlined$execute$1;->$payload2$inlined:I
.line 1
invoke-direct {p0, p3, p4}, Lokhttp3/internal/concurrent/Task;-><init>(Ljava/lang/String;Z)V
return-void
.end method
# virtual methods
.method public runOnce()J
.locals 4
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$ping$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;
iget-object v0, v0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;->this$0:Lokhttp3/internal/http2/Http2Connection;
iget v1, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$ping$$inlined$execute$1;->$payload1$inlined:I
iget v2, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$ping$$inlined$execute$1;->$payload2$inlined:I
const/4 v3, 0x1
invoke-virtual {v0, v3, v1, v2}, Lokhttp3/internal/http2/Http2Connection;->writePing(ZII)V
const-wide/16 v0, -0x1
return-wide v0
.end method
@@ -0,0 +1,94 @@
.class public final Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$settings$$inlined$execute$1;
.super Lokhttp3/internal/concurrent/Task;
.source "TaskQueue.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;->settings(ZLokhttp3/internal/http2/Settings;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nTaskQueue.kt\nKotlin\n*S Kotlin\n*F\n+ 1 TaskQueue.kt\nokhttp3/internal/concurrent/TaskQueue$execute$1\n+ 2 Http2Connection.kt\nokhttp3/internal/http2/Http2Connection$ReaderRunnable\n*L\n1#1,218:1\n716#2,2:219\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0011\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0000*\u0001\u0000\u0008\n\u0018\u00002\u00020\u0001J\u0008\u0010\u0002\u001a\u00020\u0003H\u0016\u00a8\u0006\u0004\u00b8\u0006\u0000"
}
d2 = {
"okhttp3/internal/concurrent/TaskQueue$execute$1",
"Lokhttp3/internal/concurrent/Task;",
"runOnce",
"",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field public final synthetic $cancelable:Z
.field public final synthetic $clearPrevious$inlined:Z
.field public final synthetic $name:Ljava/lang/String;
.field public final synthetic $settings$inlined:Lokhttp3/internal/http2/Settings;
.field public final synthetic this$0:Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;
# direct methods
.method public constructor <init>(Ljava/lang/String;ZLjava/lang/String;ZLokhttp3/internal/http2/Http2Connection$ReaderRunnable;ZLokhttp3/internal/http2/Settings;)V
.locals 0
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$settings$$inlined$execute$1;->$name:Ljava/lang/String;
iput-boolean p2, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$settings$$inlined$execute$1;->$cancelable:Z
iput-object p5, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$settings$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;
iput-boolean p6, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$settings$$inlined$execute$1;->$clearPrevious$inlined:Z
iput-object p7, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$settings$$inlined$execute$1;->$settings$inlined:Lokhttp3/internal/http2/Settings;
.line 1
invoke-direct {p0, p3, p4}, Lokhttp3/internal/concurrent/Task;-><init>(Ljava/lang/String;Z)V
return-void
.end method
# virtual methods
.method public runOnce()J
.locals 3
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$settings$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;
iget-boolean v1, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$settings$$inlined$execute$1;->$clearPrevious$inlined:Z
iget-object v2, p0, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$settings$$inlined$execute$1;->$settings$inlined:Lokhttp3/internal/http2/Settings;
invoke-virtual {v0, v1, v2}, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;->applyAndAckSettings(ZLokhttp3/internal/http2/Settings;)V
const-wide/16 v0, -0x1
return-wide v0
.end method
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,180 @@
.class public final Lokhttp3/internal/http2/Http2Connection$pushDataLater$$inlined$execute$1;
.super Lokhttp3/internal/concurrent/Task;
.source "TaskQueue.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lokhttp3/internal/http2/Http2Connection;->pushDataLater$okhttp(ILzj/o;IZ)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nTaskQueue.kt\nKotlin\n*S Kotlin\n*F\n+ 1 TaskQueue.kt\nokhttp3/internal/concurrent/TaskQueue$execute$1\n+ 2 Http2Connection.kt\nokhttp3/internal/http2/Http2Connection\n+ 3 Util.kt\nokhttp3/internal/Util\n*L\n1#1,218:1\n939#2:219\n940#2,8:222\n948#2:233\n402#3,2:220\n404#3,3:230\n*E\n*S KotlinDebug\n*F\n+ 1 Http2Connection.kt\nokhttp3/internal/http2/Http2Connection\n*L\n939#1,2:220\n939#1,3:230\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0011\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0000*\u0001\u0000\u0008\n\u0018\u00002\u00020\u0001J\u0008\u0010\u0002\u001a\u00020\u0003H\u0016\u00a8\u0006\u0004\u00b8\u0006\u0000"
}
d2 = {
"okhttp3/internal/concurrent/TaskQueue$execute$1",
"Lokhttp3/internal/concurrent/Task;",
"runOnce",
"",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field public final synthetic $buffer$inlined:Lzj/m;
.field public final synthetic $byteCount$inlined:I
.field public final synthetic $cancelable:Z
.field public final synthetic $inFinished$inlined:Z
.field public final synthetic $name:Ljava/lang/String;
.field public final synthetic $streamId$inlined:I
.field public final synthetic this$0:Lokhttp3/internal/http2/Http2Connection;
# direct methods
.method public constructor <init>(Ljava/lang/String;ZLjava/lang/String;ZLokhttp3/internal/http2/Http2Connection;ILzj/m;IZ)V
.locals 0
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$pushDataLater$$inlined$execute$1;->$name:Ljava/lang/String;
iput-boolean p2, p0, Lokhttp3/internal/http2/Http2Connection$pushDataLater$$inlined$execute$1;->$cancelable:Z
iput-object p5, p0, Lokhttp3/internal/http2/Http2Connection$pushDataLater$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
iput p6, p0, Lokhttp3/internal/http2/Http2Connection$pushDataLater$$inlined$execute$1;->$streamId$inlined:I
iput-object p7, p0, Lokhttp3/internal/http2/Http2Connection$pushDataLater$$inlined$execute$1;->$buffer$inlined:Lzj/m;
iput p8, p0, Lokhttp3/internal/http2/Http2Connection$pushDataLater$$inlined$execute$1;->$byteCount$inlined:I
iput-boolean p9, p0, Lokhttp3/internal/http2/Http2Connection$pushDataLater$$inlined$execute$1;->$inFinished$inlined:Z
.line 1
invoke-direct {p0, p3, p4}, Lokhttp3/internal/concurrent/Task;-><init>(Ljava/lang/String;Z)V
return-void
.end method
# virtual methods
.method public runOnce()J
.locals 5
.line 1
:try_start_0
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$pushDataLater$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
invoke-static {v0}, Lokhttp3/internal/http2/Http2Connection;->access$getPushObserver$p(Lokhttp3/internal/http2/Http2Connection;)Lokhttp3/internal/http2/PushObserver;
move-result-object v0
iget v1, p0, Lokhttp3/internal/http2/Http2Connection$pushDataLater$$inlined$execute$1;->$streamId$inlined:I
iget-object v2, p0, Lokhttp3/internal/http2/Http2Connection$pushDataLater$$inlined$execute$1;->$buffer$inlined:Lzj/m;
iget v3, p0, Lokhttp3/internal/http2/Http2Connection$pushDataLater$$inlined$execute$1;->$byteCount$inlined:I
iget-boolean v4, p0, Lokhttp3/internal/http2/Http2Connection$pushDataLater$$inlined$execute$1;->$inFinished$inlined:Z
invoke-interface {v0, v1, v2, v3, v4}, Lokhttp3/internal/http2/PushObserver;->onData(ILzj/o;IZ)Z
move-result v0
if-eqz v0, :cond_0
.line 2
iget-object v1, p0, Lokhttp3/internal/http2/Http2Connection$pushDataLater$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
invoke-virtual {v1}, Lokhttp3/internal/http2/Http2Connection;->getWriter()Lokhttp3/internal/http2/Http2Writer;
move-result-object v1
iget v2, p0, Lokhttp3/internal/http2/Http2Connection$pushDataLater$$inlined$execute$1;->$streamId$inlined:I
sget-object v3, Lokhttp3/internal/http2/ErrorCode;->CANCEL:Lokhttp3/internal/http2/ErrorCode;
invoke-virtual {v1, v2, v3}, Lokhttp3/internal/http2/Http2Writer;->rstStream(ILokhttp3/internal/http2/ErrorCode;)V
:cond_0
if-nez v0, :cond_1
.line 3
iget-boolean v0, p0, Lokhttp3/internal/http2/Http2Connection$pushDataLater$$inlined$execute$1;->$inFinished$inlined:Z
if-eqz v0, :cond_2
.line 4
:cond_1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$pushDataLater$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
monitor-enter v0
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
.line 5
:try_start_1
iget-object v1, p0, Lokhttp3/internal/http2/Http2Connection$pushDataLater$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
invoke-static {v1}, Lokhttp3/internal/http2/Http2Connection;->access$getCurrentPushRequests$p(Lokhttp3/internal/http2/Http2Connection;)Ljava/util/Set;
move-result-object v1
iget v2, p0, Lokhttp3/internal/http2/Http2Connection$pushDataLater$$inlined$execute$1;->$streamId$inlined:I
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
invoke-interface {v1, v2}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
.line 6
:try_start_2
monitor-exit v0
goto :goto_0
:catchall_0
move-exception v1
monitor-exit v0
throw v1
:try_end_2
.catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0
:catch_0
:cond_2
:goto_0
const-wide/16 v0, -0x1
return-wide v0
.end method
@@ -0,0 +1,174 @@
.class public final Lokhttp3/internal/http2/Http2Connection$pushHeadersLater$$inlined$execute$1;
.super Lokhttp3/internal/concurrent/Task;
.source "TaskQueue.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lokhttp3/internal/http2/Http2Connection;->pushHeadersLater$okhttp(ILjava/util/List;Z)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nTaskQueue.kt\nKotlin\n*S Kotlin\n*F\n+ 1 TaskQueue.kt\nokhttp3/internal/concurrent/TaskQueue$execute$1\n+ 2 Http2Connection.kt\nokhttp3/internal/http2/Http2Connection\n+ 3 Util.kt\nokhttp3/internal/Util\n*L\n1#1,218:1\n912#2,2:219\n914#2,7:223\n921#2:233\n402#3,2:221\n404#3,3:230\n*E\n*S KotlinDebug\n*F\n+ 1 Http2Connection.kt\nokhttp3/internal/http2/Http2Connection\n*L\n913#1,2:221\n913#1,3:230\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0011\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0000*\u0001\u0000\u0008\n\u0018\u00002\u00020\u0001J\u0008\u0010\u0002\u001a\u00020\u0003H\u0016\u00a8\u0006\u0004\u00b8\u0006\u0000"
}
d2 = {
"okhttp3/internal/concurrent/TaskQueue$execute$1",
"Lokhttp3/internal/concurrent/Task;",
"runOnce",
"",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field public final synthetic $cancelable:Z
.field public final synthetic $inFinished$inlined:Z
.field public final synthetic $name:Ljava/lang/String;
.field public final synthetic $requestHeaders$inlined:Ljava/util/List;
.field public final synthetic $streamId$inlined:I
.field public final synthetic this$0:Lokhttp3/internal/http2/Http2Connection;
# direct methods
.method public constructor <init>(Ljava/lang/String;ZLjava/lang/String;ZLokhttp3/internal/http2/Http2Connection;ILjava/util/List;Z)V
.locals 0
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$pushHeadersLater$$inlined$execute$1;->$name:Ljava/lang/String;
iput-boolean p2, p0, Lokhttp3/internal/http2/Http2Connection$pushHeadersLater$$inlined$execute$1;->$cancelable:Z
iput-object p5, p0, Lokhttp3/internal/http2/Http2Connection$pushHeadersLater$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
iput p6, p0, Lokhttp3/internal/http2/Http2Connection$pushHeadersLater$$inlined$execute$1;->$streamId$inlined:I
iput-object p7, p0, Lokhttp3/internal/http2/Http2Connection$pushHeadersLater$$inlined$execute$1;->$requestHeaders$inlined:Ljava/util/List;
iput-boolean p8, p0, Lokhttp3/internal/http2/Http2Connection$pushHeadersLater$$inlined$execute$1;->$inFinished$inlined:Z
.line 1
invoke-direct {p0, p3, p4}, Lokhttp3/internal/concurrent/Task;-><init>(Ljava/lang/String;Z)V
return-void
.end method
# virtual methods
.method public runOnce()J
.locals 4
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$pushHeadersLater$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
invoke-static {v0}, Lokhttp3/internal/http2/Http2Connection;->access$getPushObserver$p(Lokhttp3/internal/http2/Http2Connection;)Lokhttp3/internal/http2/PushObserver;
move-result-object v0
iget v1, p0, Lokhttp3/internal/http2/Http2Connection$pushHeadersLater$$inlined$execute$1;->$streamId$inlined:I
iget-object v2, p0, Lokhttp3/internal/http2/Http2Connection$pushHeadersLater$$inlined$execute$1;->$requestHeaders$inlined:Ljava/util/List;
iget-boolean v3, p0, Lokhttp3/internal/http2/Http2Connection$pushHeadersLater$$inlined$execute$1;->$inFinished$inlined:Z
invoke-interface {v0, v1, v2, v3}, Lokhttp3/internal/http2/PushObserver;->onHeaders(ILjava/util/List;Z)Z
move-result v0
if-eqz v0, :cond_0
.line 2
:try_start_0
iget-object v1, p0, Lokhttp3/internal/http2/Http2Connection$pushHeadersLater$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
invoke-virtual {v1}, Lokhttp3/internal/http2/Http2Connection;->getWriter()Lokhttp3/internal/http2/Http2Writer;
move-result-object v1
iget v2, p0, Lokhttp3/internal/http2/Http2Connection$pushHeadersLater$$inlined$execute$1;->$streamId$inlined:I
sget-object v3, Lokhttp3/internal/http2/ErrorCode;->CANCEL:Lokhttp3/internal/http2/ErrorCode;
invoke-virtual {v1, v2, v3}, Lokhttp3/internal/http2/Http2Writer;->rstStream(ILokhttp3/internal/http2/ErrorCode;)V
:cond_0
if-nez v0, :cond_1
.line 3
iget-boolean v0, p0, Lokhttp3/internal/http2/Http2Connection$pushHeadersLater$$inlined$execute$1;->$inFinished$inlined:Z
if-eqz v0, :cond_2
.line 4
:cond_1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$pushHeadersLater$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
monitor-enter v0
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
.line 5
:try_start_1
iget-object v1, p0, Lokhttp3/internal/http2/Http2Connection$pushHeadersLater$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
invoke-static {v1}, Lokhttp3/internal/http2/Http2Connection;->access$getCurrentPushRequests$p(Lokhttp3/internal/http2/Http2Connection;)Ljava/util/Set;
move-result-object v1
iget v2, p0, Lokhttp3/internal/http2/Http2Connection$pushHeadersLater$$inlined$execute$1;->$streamId$inlined:I
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
invoke-interface {v1, v2}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
.line 6
:try_start_2
monitor-exit v0
goto :goto_0
:catchall_0
move-exception v1
monitor-exit v0
throw v1
:try_end_2
.catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0
:catch_0
:cond_2
:goto_0
const-wide/16 v0, -0x1
return-wide v0
.end method
@@ -0,0 +1,159 @@
.class public final Lokhttp3/internal/http2/Http2Connection$pushRequestLater$$inlined$execute$1;
.super Lokhttp3/internal/concurrent/Task;
.source "TaskQueue.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lokhttp3/internal/http2/Http2Connection;->pushRequestLater$okhttp(ILjava/util/List;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nTaskQueue.kt\nKotlin\n*S Kotlin\n*F\n+ 1 TaskQueue.kt\nokhttp3/internal/concurrent/TaskQueue$execute$1\n+ 2 Http2Connection.kt\nokhttp3/internal/http2/Http2Connection\n+ 3 Util.kt\nokhttp3/internal/Util\n*L\n1#1,218:1\n894#2,2:219\n896#2,7:223\n903#2:233\n402#3,2:221\n404#3,3:230\n*E\n*S KotlinDebug\n*F\n+ 1 Http2Connection.kt\nokhttp3/internal/http2/Http2Connection\n*L\n895#1,2:221\n895#1,3:230\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0011\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0000*\u0001\u0000\u0008\n\u0018\u00002\u00020\u0001J\u0008\u0010\u0002\u001a\u00020\u0003H\u0016\u00a8\u0006\u0004\u00b8\u0006\u0000"
}
d2 = {
"okhttp3/internal/concurrent/TaskQueue$execute$1",
"Lokhttp3/internal/concurrent/Task;",
"runOnce",
"",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field public final synthetic $cancelable:Z
.field public final synthetic $name:Ljava/lang/String;
.field public final synthetic $requestHeaders$inlined:Ljava/util/List;
.field public final synthetic $streamId$inlined:I
.field public final synthetic this$0:Lokhttp3/internal/http2/Http2Connection;
# direct methods
.method public constructor <init>(Ljava/lang/String;ZLjava/lang/String;ZLokhttp3/internal/http2/Http2Connection;ILjava/util/List;)V
.locals 0
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$pushRequestLater$$inlined$execute$1;->$name:Ljava/lang/String;
iput-boolean p2, p0, Lokhttp3/internal/http2/Http2Connection$pushRequestLater$$inlined$execute$1;->$cancelable:Z
iput-object p5, p0, Lokhttp3/internal/http2/Http2Connection$pushRequestLater$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
iput p6, p0, Lokhttp3/internal/http2/Http2Connection$pushRequestLater$$inlined$execute$1;->$streamId$inlined:I
iput-object p7, p0, Lokhttp3/internal/http2/Http2Connection$pushRequestLater$$inlined$execute$1;->$requestHeaders$inlined:Ljava/util/List;
.line 1
invoke-direct {p0, p3, p4}, Lokhttp3/internal/concurrent/Task;-><init>(Ljava/lang/String;Z)V
return-void
.end method
# virtual methods
.method public runOnce()J
.locals 3
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$pushRequestLater$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
invoke-static {v0}, Lokhttp3/internal/http2/Http2Connection;->access$getPushObserver$p(Lokhttp3/internal/http2/Http2Connection;)Lokhttp3/internal/http2/PushObserver;
move-result-object v0
iget v1, p0, Lokhttp3/internal/http2/Http2Connection$pushRequestLater$$inlined$execute$1;->$streamId$inlined:I
iget-object v2, p0, Lokhttp3/internal/http2/Http2Connection$pushRequestLater$$inlined$execute$1;->$requestHeaders$inlined:Ljava/util/List;
invoke-interface {v0, v1, v2}, Lokhttp3/internal/http2/PushObserver;->onRequest(ILjava/util/List;)Z
move-result v0
if-eqz v0, :cond_0
.line 2
:try_start_0
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$pushRequestLater$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
invoke-virtual {v0}, Lokhttp3/internal/http2/Http2Connection;->getWriter()Lokhttp3/internal/http2/Http2Writer;
move-result-object v0
iget v1, p0, Lokhttp3/internal/http2/Http2Connection$pushRequestLater$$inlined$execute$1;->$streamId$inlined:I
sget-object v2, Lokhttp3/internal/http2/ErrorCode;->CANCEL:Lokhttp3/internal/http2/ErrorCode;
invoke-virtual {v0, v1, v2}, Lokhttp3/internal/http2/Http2Writer;->rstStream(ILokhttp3/internal/http2/ErrorCode;)V
.line 3
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$pushRequestLater$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
monitor-enter v0
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
.line 4
:try_start_1
iget-object v1, p0, Lokhttp3/internal/http2/Http2Connection$pushRequestLater$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
invoke-static {v1}, Lokhttp3/internal/http2/Http2Connection;->access$getCurrentPushRequests$p(Lokhttp3/internal/http2/Http2Connection;)Ljava/util/Set;
move-result-object v1
iget v2, p0, Lokhttp3/internal/http2/Http2Connection$pushRequestLater$$inlined$execute$1;->$streamId$inlined:I
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
invoke-interface {v1, v2}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
.line 5
:try_start_2
monitor-exit v0
goto :goto_0
:catchall_0
move-exception v1
monitor-exit v0
throw v1
:try_end_2
.catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0
:catch_0
:cond_0
:goto_0
const-wide/16 v0, -0x1
return-wide v0
.end method
@@ -0,0 +1,134 @@
.class public final Lokhttp3/internal/http2/Http2Connection$pushResetLater$$inlined$execute$1;
.super Lokhttp3/internal/concurrent/Task;
.source "TaskQueue.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lokhttp3/internal/http2/Http2Connection;->pushResetLater$okhttp(ILokhttp3/internal/http2/ErrorCode;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nTaskQueue.kt\nKotlin\n*S Kotlin\n*F\n+ 1 TaskQueue.kt\nokhttp3/internal/concurrent/TaskQueue$execute$1\n+ 2 Http2Connection.kt\nokhttp3/internal/http2/Http2Connection\n*L\n1#1,218:1\n953#2,5:219\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0011\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0000*\u0001\u0000\u0008\n\u0018\u00002\u00020\u0001J\u0008\u0010\u0002\u001a\u00020\u0003H\u0016\u00a8\u0006\u0004\u00b8\u0006\u0000"
}
d2 = {
"okhttp3/internal/concurrent/TaskQueue$execute$1",
"Lokhttp3/internal/concurrent/Task;",
"runOnce",
"",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field public final synthetic $cancelable:Z
.field public final synthetic $errorCode$inlined:Lokhttp3/internal/http2/ErrorCode;
.field public final synthetic $name:Ljava/lang/String;
.field public final synthetic $streamId$inlined:I
.field public final synthetic this$0:Lokhttp3/internal/http2/Http2Connection;
# direct methods
.method public constructor <init>(Ljava/lang/String;ZLjava/lang/String;ZLokhttp3/internal/http2/Http2Connection;ILokhttp3/internal/http2/ErrorCode;)V
.locals 0
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$pushResetLater$$inlined$execute$1;->$name:Ljava/lang/String;
iput-boolean p2, p0, Lokhttp3/internal/http2/Http2Connection$pushResetLater$$inlined$execute$1;->$cancelable:Z
iput-object p5, p0, Lokhttp3/internal/http2/Http2Connection$pushResetLater$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
iput p6, p0, Lokhttp3/internal/http2/Http2Connection$pushResetLater$$inlined$execute$1;->$streamId$inlined:I
iput-object p7, p0, Lokhttp3/internal/http2/Http2Connection$pushResetLater$$inlined$execute$1;->$errorCode$inlined:Lokhttp3/internal/http2/ErrorCode;
.line 1
invoke-direct {p0, p3, p4}, Lokhttp3/internal/concurrent/Task;-><init>(Ljava/lang/String;Z)V
return-void
.end method
# virtual methods
.method public runOnce()J
.locals 3
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$pushResetLater$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
invoke-static {v0}, Lokhttp3/internal/http2/Http2Connection;->access$getPushObserver$p(Lokhttp3/internal/http2/Http2Connection;)Lokhttp3/internal/http2/PushObserver;
move-result-object v0
iget v1, p0, Lokhttp3/internal/http2/Http2Connection$pushResetLater$$inlined$execute$1;->$streamId$inlined:I
iget-object v2, p0, Lokhttp3/internal/http2/Http2Connection$pushResetLater$$inlined$execute$1;->$errorCode$inlined:Lokhttp3/internal/http2/ErrorCode;
invoke-interface {v0, v1, v2}, Lokhttp3/internal/http2/PushObserver;->onReset(ILokhttp3/internal/http2/ErrorCode;)V
.line 2
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$pushResetLater$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
monitor-enter v0
.line 3
:try_start_0
iget-object v1, p0, Lokhttp3/internal/http2/Http2Connection$pushResetLater$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
invoke-static {v1}, Lokhttp3/internal/http2/Http2Connection;->access$getCurrentPushRequests$p(Lokhttp3/internal/http2/Http2Connection;)Ljava/util/Set;
move-result-object v1
iget v2, p0, Lokhttp3/internal/http2/Http2Connection$pushResetLater$$inlined$execute$1;->$streamId$inlined:I
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
invoke-interface {v1, v2}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z
.line 4
sget-object v1, Lkotlin/d1;->a:Lkotlin/d1;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 5
monitor-exit v0
const-wide/16 v0, -0x1
return-wide v0
:catchall_0
move-exception v1
monitor-exit v0
throw v1
.end method
@@ -0,0 +1,86 @@
.class public final Lokhttp3/internal/http2/Http2Connection$sendDegradedPingLater$$inlined$execute$1;
.super Lokhttp3/internal/concurrent/Task;
.source "TaskQueue.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lokhttp3/internal/http2/Http2Connection;->sendDegradedPingLater$okhttp()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nTaskQueue.kt\nKotlin\n*S Kotlin\n*F\n+ 1 TaskQueue.kt\nokhttp3/internal/concurrent/TaskQueue$execute$1\n+ 2 Http2Connection.kt\nokhttp3/internal/http2/Http2Connection\n*L\n1#1,218:1\n555#2,2:219\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0011\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0000*\u0001\u0000\u0008\n\u0018\u00002\u00020\u0001J\u0008\u0010\u0002\u001a\u00020\u0003H\u0016\u00a8\u0006\u0004\u00b8\u0006\u0000"
}
d2 = {
"okhttp3/internal/concurrent/TaskQueue$execute$1",
"Lokhttp3/internal/concurrent/Task;",
"runOnce",
"",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field public final synthetic $cancelable:Z
.field public final synthetic $name:Ljava/lang/String;
.field public final synthetic this$0:Lokhttp3/internal/http2/Http2Connection;
# direct methods
.method public constructor <init>(Ljava/lang/String;ZLjava/lang/String;ZLokhttp3/internal/http2/Http2Connection;)V
.locals 0
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$sendDegradedPingLater$$inlined$execute$1;->$name:Ljava/lang/String;
iput-boolean p2, p0, Lokhttp3/internal/http2/Http2Connection$sendDegradedPingLater$$inlined$execute$1;->$cancelable:Z
iput-object p5, p0, Lokhttp3/internal/http2/Http2Connection$sendDegradedPingLater$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
.line 1
invoke-direct {p0, p3, p4}, Lokhttp3/internal/concurrent/Task;-><init>(Ljava/lang/String;Z)V
return-void
.end method
# virtual methods
.method public runOnce()J
.locals 3
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$sendDegradedPingLater$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
const/4 v1, 0x0
const/4 v2, 0x2
invoke-virtual {v0, v1, v2, v1}, Lokhttp3/internal/http2/Http2Connection;->writePing(ZII)V
const-wide/16 v0, -0x1
return-wide v0
.end method
@@ -0,0 +1,108 @@
.class public final Lokhttp3/internal/http2/Http2Connection$writeSynResetLater$$inlined$execute$1;
.super Lokhttp3/internal/concurrent/Task;
.source "TaskQueue.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lokhttp3/internal/http2/Http2Connection;->writeSynResetLater$okhttp(ILokhttp3/internal/http2/ErrorCode;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nTaskQueue.kt\nKotlin\n*S Kotlin\n*F\n+ 1 TaskQueue.kt\nokhttp3/internal/concurrent/TaskQueue$execute$1\n+ 2 Http2Connection.kt\nokhttp3/internal/http2/Http2Connection\n*L\n1#1,218:1\n341#2,6:219\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0011\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0000*\u0001\u0000\u0008\n\u0018\u00002\u00020\u0001J\u0008\u0010\u0002\u001a\u00020\u0003H\u0016\u00a8\u0006\u0004\u00b8\u0006\u0000"
}
d2 = {
"okhttp3/internal/concurrent/TaskQueue$execute$1",
"Lokhttp3/internal/concurrent/Task;",
"runOnce",
"",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field public final synthetic $cancelable:Z
.field public final synthetic $errorCode$inlined:Lokhttp3/internal/http2/ErrorCode;
.field public final synthetic $name:Ljava/lang/String;
.field public final synthetic $streamId$inlined:I
.field public final synthetic this$0:Lokhttp3/internal/http2/Http2Connection;
# direct methods
.method public constructor <init>(Ljava/lang/String;ZLjava/lang/String;ZLokhttp3/internal/http2/Http2Connection;ILokhttp3/internal/http2/ErrorCode;)V
.locals 0
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$writeSynResetLater$$inlined$execute$1;->$name:Ljava/lang/String;
iput-boolean p2, p0, Lokhttp3/internal/http2/Http2Connection$writeSynResetLater$$inlined$execute$1;->$cancelable:Z
iput-object p5, p0, Lokhttp3/internal/http2/Http2Connection$writeSynResetLater$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
iput p6, p0, Lokhttp3/internal/http2/Http2Connection$writeSynResetLater$$inlined$execute$1;->$streamId$inlined:I
iput-object p7, p0, Lokhttp3/internal/http2/Http2Connection$writeSynResetLater$$inlined$execute$1;->$errorCode$inlined:Lokhttp3/internal/http2/ErrorCode;
.line 1
invoke-direct {p0, p3, p4}, Lokhttp3/internal/concurrent/Task;-><init>(Ljava/lang/String;Z)V
return-void
.end method
# virtual methods
.method public runOnce()J
.locals 3
.line 1
:try_start_0
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$writeSynResetLater$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
iget v1, p0, Lokhttp3/internal/http2/Http2Connection$writeSynResetLater$$inlined$execute$1;->$streamId$inlined:I
iget-object v2, p0, Lokhttp3/internal/http2/Http2Connection$writeSynResetLater$$inlined$execute$1;->$errorCode$inlined:Lokhttp3/internal/http2/ErrorCode;
invoke-virtual {v0, v1, v2}, Lokhttp3/internal/http2/Http2Connection;->writeSynReset$okhttp(ILokhttp3/internal/http2/ErrorCode;)V
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
.line 2
iget-object v1, p0, Lokhttp3/internal/http2/Http2Connection$writeSynResetLater$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
invoke-static {v1, v0}, Lokhttp3/internal/http2/Http2Connection;->access$failConnection(Lokhttp3/internal/http2/Http2Connection;Ljava/io/IOException;)V
:goto_0
const-wide/16 v0, -0x1
return-wide v0
.end method
@@ -0,0 +1,112 @@
.class public final Lokhttp3/internal/http2/Http2Connection$writeWindowUpdateLater$$inlined$execute$1;
.super Lokhttp3/internal/concurrent/Task;
.source "TaskQueue.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lokhttp3/internal/http2/Http2Connection;->writeWindowUpdateLater$okhttp(IJ)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nTaskQueue.kt\nKotlin\n*S Kotlin\n*F\n+ 1 TaskQueue.kt\nokhttp3/internal/concurrent/TaskQueue$execute$1\n+ 2 Http2Connection.kt\nokhttp3/internal/http2/Http2Connection\n*L\n1#1,218:1\n362#2,6:219\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0011\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0000*\u0001\u0000\u0008\n\u0018\u00002\u00020\u0001J\u0008\u0010\u0002\u001a\u00020\u0003H\u0016\u00a8\u0006\u0004\u00b8\u0006\u0000"
}
d2 = {
"okhttp3/internal/concurrent/TaskQueue$execute$1",
"Lokhttp3/internal/concurrent/Task;",
"runOnce",
"",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field public final synthetic $cancelable:Z
.field public final synthetic $name:Ljava/lang/String;
.field public final synthetic $streamId$inlined:I
.field public final synthetic $unacknowledgedBytesRead$inlined:J
.field public final synthetic this$0:Lokhttp3/internal/http2/Http2Connection;
# direct methods
.method public constructor <init>(Ljava/lang/String;ZLjava/lang/String;ZLokhttp3/internal/http2/Http2Connection;IJ)V
.locals 0
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$writeWindowUpdateLater$$inlined$execute$1;->$name:Ljava/lang/String;
iput-boolean p2, p0, Lokhttp3/internal/http2/Http2Connection$writeWindowUpdateLater$$inlined$execute$1;->$cancelable:Z
iput-object p5, p0, Lokhttp3/internal/http2/Http2Connection$writeWindowUpdateLater$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
iput p6, p0, Lokhttp3/internal/http2/Http2Connection$writeWindowUpdateLater$$inlined$execute$1;->$streamId$inlined:I
iput-wide p7, p0, Lokhttp3/internal/http2/Http2Connection$writeWindowUpdateLater$$inlined$execute$1;->$unacknowledgedBytesRead$inlined:J
.line 1
invoke-direct {p0, p3, p4}, Lokhttp3/internal/concurrent/Task;-><init>(Ljava/lang/String;Z)V
return-void
.end method
# virtual methods
.method public runOnce()J
.locals 4
.line 1
:try_start_0
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$writeWindowUpdateLater$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
invoke-virtual {v0}, Lokhttp3/internal/http2/Http2Connection;->getWriter()Lokhttp3/internal/http2/Http2Writer;
move-result-object v0
iget v1, p0, Lokhttp3/internal/http2/Http2Connection$writeWindowUpdateLater$$inlined$execute$1;->$streamId$inlined:I
iget-wide v2, p0, Lokhttp3/internal/http2/Http2Connection$writeWindowUpdateLater$$inlined$execute$1;->$unacknowledgedBytesRead$inlined:J
invoke-virtual {v0, v1, v2, v3}, Lokhttp3/internal/http2/Http2Writer;->windowUpdate(IJ)V
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
.line 2
iget-object v1, p0, Lokhttp3/internal/http2/Http2Connection$writeWindowUpdateLater$$inlined$execute$1;->this$0:Lokhttp3/internal/http2/Http2Connection;
invoke-static {v1, v0}, Lokhttp3/internal/http2/Http2Connection;->access$failConnection(Lokhttp3/internal/http2/Http2Connection;Ljava/io/IOException;)V
:goto_0
const-wide/16 v0, -0x1
return-wide v0
.end method
File diff suppressed because one or more lines are too long
@@ -0,0 +1,425 @@
.class public final Lokhttp3/internal/http2/Http2ExchangeCodec$Companion;
.super Ljava/lang/Object;
.source "Http2ExchangeCodec.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/internal/http2/Http2ExchangeCodec;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Companion"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000:\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0010\u000e\n\u0002\u0008\u0003\n\u0002\u0010 \n\u0002\u0008\u0007\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\u0008\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002J\u0014\u0010\u000f\u001a\u0008\u0012\u0004\u0012\u00020\u00100\u00082\u0006\u0010\u0011\u001a\u00020\u0012J\u0016\u0010\u0013\u001a\u00020\u00142\u0006\u0010\u0015\u001a\u00020\u00162\u0006\u0010\u0017\u001a\u00020\u0018R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0006\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u0007\u001a\u0008\u0012\u0004\u0012\u00020\u00040\u0008X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0014\u0010\t\u001a\u0008\u0012\u0004\u0012\u00020\u00040\u0008X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\n\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u000b\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u000c\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\r\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u000e\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0019"
}
d2 = {
"Lokhttp3/internal/http2/Http2ExchangeCodec$Companion;",
"",
"()V",
"CONNECTION",
"",
"ENCODING",
"HOST",
"HTTP_2_SKIPPED_REQUEST_HEADERS",
"",
"HTTP_2_SKIPPED_RESPONSE_HEADERS",
"KEEP_ALIVE",
"PROXY_CONNECTION",
"TE",
"TRANSFER_ENCODING",
"UPGRADE",
"http2HeadersList",
"Lokhttp3/internal/http2/Header;",
"request",
"Lokhttp3/Request;",
"readHttp2HeadersList",
"Lokhttp3/Response$Builder;",
"headerBlock",
"Lokhttp3/Headers;",
"protocol",
"Lokhttp3/Protocol;",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/u;)V
.locals 0
.line 2
invoke-direct {p0}, Lokhttp3/internal/http2/Http2ExchangeCodec$Companion;-><init>()V
return-void
.end method
# virtual methods
.method public final http2HeadersList(Lokhttp3/Request;)Ljava/util/List;
.locals 6
.param p1 # Lokhttp3/Request;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lokhttp3/Request;",
")",
"Ljava/util/List<",
"Lokhttp3/internal/http2/Header;",
">;"
}
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
const-string v0, "request"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
invoke-virtual {p1}, Lokhttp3/Request;->headers()Lokhttp3/Headers;
move-result-object v0
.line 2
new-instance v1, Ljava/util/ArrayList;
invoke-virtual {v0}, Lokhttp3/Headers;->size()I
move-result v2
add-int/lit8 v2, v2, 0x4
invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(I)V
.line 3
new-instance v2, Lokhttp3/internal/http2/Header;
sget-object v3, Lokhttp3/internal/http2/Header;->TARGET_METHOD:Lokio/ByteString;
invoke-virtual {p1}, Lokhttp3/Request;->method()Ljava/lang/String;
move-result-object v4
invoke-direct {v2, v3, v4}, Lokhttp3/internal/http2/Header;-><init>(Lokio/ByteString;Ljava/lang/String;)V
invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
.line 4
new-instance v2, Lokhttp3/internal/http2/Header;
sget-object v3, Lokhttp3/internal/http2/Header;->TARGET_PATH:Lokio/ByteString;
sget-object v4, Lokhttp3/internal/http/RequestLine;->INSTANCE:Lokhttp3/internal/http/RequestLine;
invoke-virtual {p1}, Lokhttp3/Request;->url()Lokhttp3/HttpUrl;
move-result-object v5
invoke-virtual {v4, v5}, Lokhttp3/internal/http/RequestLine;->requestPath(Lokhttp3/HttpUrl;)Ljava/lang/String;
move-result-object v4
invoke-direct {v2, v3, v4}, Lokhttp3/internal/http2/Header;-><init>(Lokio/ByteString;Ljava/lang/String;)V
invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
const-string v2, "Host"
.line 5
invoke-virtual {p1, v2}, Lokhttp3/Request;->header(Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
if-eqz v2, :cond_0
.line 6
new-instance v3, Lokhttp3/internal/http2/Header;
sget-object v4, Lokhttp3/internal/http2/Header;->TARGET_AUTHORITY:Lokio/ByteString;
invoke-direct {v3, v4, v2}, Lokhttp3/internal/http2/Header;-><init>(Lokio/ByteString;Ljava/lang/String;)V
invoke-virtual {v1, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
.line 7
:cond_0
new-instance v2, Lokhttp3/internal/http2/Header;
sget-object v3, Lokhttp3/internal/http2/Header;->TARGET_SCHEME:Lokio/ByteString;
invoke-virtual {p1}, Lokhttp3/Request;->url()Lokhttp3/HttpUrl;
move-result-object p1
invoke-virtual {p1}, Lokhttp3/HttpUrl;->scheme()Ljava/lang/String;
move-result-object p1
invoke-direct {v2, v3, p1}, Lokhttp3/internal/http2/Header;-><init>(Lokio/ByteString;Ljava/lang/String;)V
invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
const/4 p1, 0x0
.line 8
invoke-virtual {v0}, Lokhttp3/Headers;->size()I
move-result v2
:goto_0
if-ge p1, v2, :cond_3
.line 9
invoke-virtual {v0, p1}, Lokhttp3/Headers;->name(I)Ljava/lang/String;
move-result-object v3
sget-object v4, Ljava/util/Locale;->US:Ljava/util/Locale;
const-string v5, "Locale.US"
invoke-static {v4, v5}, Lkotlin/jvm/internal/f0;->o(Ljava/lang/Object;Ljava/lang/String;)V
const-string v5, "null cannot be cast to non-null type java.lang.String"
invoke-static {v3, v5}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
invoke-virtual {v3, v4}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;
move-result-object v3
const-string v4, "(this as java.lang.String).toLowerCase(locale)"
invoke-static {v3, v4}, Lkotlin/jvm/internal/f0;->o(Ljava/lang/Object;Ljava/lang/String;)V
.line 10
invoke-static {}, Lokhttp3/internal/http2/Http2ExchangeCodec;->access$getHTTP_2_SKIPPED_REQUEST_HEADERS$cp()Ljava/util/List;
move-result-object v4
invoke-interface {v4, v3}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
move-result v4
if-eqz v4, :cond_1
const-string v4, "te"
invoke-static {v3, v4}, Lkotlin/jvm/internal/f0;->g(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v4
if-eqz v4, :cond_2
.line 11
invoke-virtual {v0, p1}, Lokhttp3/Headers;->value(I)Ljava/lang/String;
move-result-object v4
const-string v5, "trailers"
invoke-static {v4, v5}, Lkotlin/jvm/internal/f0;->g(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v4
if-eqz v4, :cond_2
.line 12
:cond_1
new-instance v4, Lokhttp3/internal/http2/Header;
invoke-virtual {v0, p1}, Lokhttp3/Headers;->value(I)Ljava/lang/String;
move-result-object v5
invoke-direct {v4, v3, v5}, Lokhttp3/internal/http2/Header;-><init>(Ljava/lang/String;Ljava/lang/String;)V
invoke-virtual {v1, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
:cond_2
add-int/lit8 p1, p1, 0x1
goto :goto_0
:cond_3
return-object v1
.end method
.method public final readHttp2HeadersList(Lokhttp3/Headers;Lokhttp3/Protocol;)Lokhttp3/Response$Builder;
.locals 7
.param p1 # Lokhttp3/Headers;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p2 # Lokhttp3/Protocol;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
const-string v0, "headerBlock"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "protocol"
invoke-static {p2, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
new-instance v0, Lokhttp3/Headers$Builder;
invoke-direct {v0}, Lokhttp3/Headers$Builder;-><init>()V
.line 2
invoke-virtual {p1}, Lokhttp3/Headers;->size()I
move-result v1
const/4 v2, 0x0
const/4 v3, 0x0
:goto_0
if-ge v3, v1, :cond_2
.line 3
invoke-virtual {p1, v3}, Lokhttp3/Headers;->name(I)Ljava/lang/String;
move-result-object v4
.line 4
invoke-virtual {p1, v3}, Lokhttp3/Headers;->value(I)Ljava/lang/String;
move-result-object v5
const-string v6, ":status"
.line 5
invoke-static {v4, v6}, Lkotlin/jvm/internal/f0;->g(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v6
if-eqz v6, :cond_0
.line 6
sget-object v2, Lokhttp3/internal/http/StatusLine;->Companion:Lokhttp3/internal/http/StatusLine$Companion;
new-instance v4, Ljava/lang/StringBuilder;
invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
const-string v6, "HTTP/1.1 "
invoke-virtual {v4, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v4
invoke-virtual {v2, v4}, Lokhttp3/internal/http/StatusLine$Companion;->parse(Ljava/lang/String;)Lokhttp3/internal/http/StatusLine;
move-result-object v2
goto :goto_1
.line 7
:cond_0
invoke-static {}, Lokhttp3/internal/http2/Http2ExchangeCodec;->access$getHTTP_2_SKIPPED_RESPONSE_HEADERS$cp()Ljava/util/List;
move-result-object v6
invoke-interface {v6, v4}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
move-result v6
if-nez v6, :cond_1
.line 8
invoke-virtual {v0, v4, v5}, Lokhttp3/Headers$Builder;->addLenient$okhttp(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Headers$Builder;
:cond_1
:goto_1
add-int/lit8 v3, v3, 0x1
goto :goto_0
:cond_2
if-eqz v2, :cond_3
.line 9
new-instance p1, Lokhttp3/Response$Builder;
invoke-direct {p1}, Lokhttp3/Response$Builder;-><init>()V
.line 10
invoke-virtual {p1, p2}, Lokhttp3/Response$Builder;->protocol(Lokhttp3/Protocol;)Lokhttp3/Response$Builder;
move-result-object p1
.line 11
iget p2, v2, Lokhttp3/internal/http/StatusLine;->code:I
invoke-virtual {p1, p2}, Lokhttp3/Response$Builder;->code(I)Lokhttp3/Response$Builder;
move-result-object p1
.line 12
iget-object p2, v2, Lokhttp3/internal/http/StatusLine;->message:Ljava/lang/String;
invoke-virtual {p1, p2}, Lokhttp3/Response$Builder;->message(Ljava/lang/String;)Lokhttp3/Response$Builder;
move-result-object p1
.line 13
invoke-virtual {v0}, Lokhttp3/Headers$Builder;->build()Lokhttp3/Headers;
move-result-object p2
invoke-virtual {p1, p2}, Lokhttp3/Response$Builder;->headers(Lokhttp3/Headers;)Lokhttp3/Response$Builder;
move-result-object p1
return-object p1
.line 14
:cond_3
new-instance p1, Ljava/net/ProtocolException;
const-string p2, "Expected \':status\' header not present"
invoke-direct {p1, p2}, Ljava/net/ProtocolException;-><init>(Ljava/lang/String;)V
throw p1
.end method
@@ -0,0 +1,621 @@
.class public final Lokhttp3/internal/http2/Http2ExchangeCodec;
.super Ljava/lang/Object;
.source "Http2ExchangeCodec.kt"
# interfaces
.implements Lokhttp3/internal/http/ExchangeCodec;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lokhttp3/internal/http2/Http2ExchangeCodec$Companion;
}
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {}
d1 = {
"\u0000t\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0005\u0018\u0000 /2\u00020\u0001:\u0001/B\'\u0012\u0006\u0010,\u001a\u00020+\u0012\u0006\u0010!\u001a\u00020 \u0012\u0006\u0010&\u001a\u00020%\u0012\u0006\u0010)\u001a\u00020(\u00a2\u0006\u0004\u0008-\u0010.J\u0018\u0010\u0007\u001a\u00020\u00062\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u0004H\u0016J\u0010\u0010\t\u001a\u00020\u00082\u0006\u0010\u0003\u001a\u00020\u0002H\u0016J\u0008\u0010\n\u001a\u00020\u0008H\u0016J\u0008\u0010\u000b\u001a\u00020\u0008H\u0016J\u0012\u0010\u000f\u001a\u0004\u0018\u00010\u000e2\u0006\u0010\r\u001a\u00020\u000cH\u0016J\u0010\u0010\u0012\u001a\u00020\u00042\u0006\u0010\u0011\u001a\u00020\u0010H\u0016J\u0010\u0010\u0014\u001a\u00020\u00132\u0006\u0010\u0011\u001a\u00020\u0010H\u0016J\u0008\u0010\u0016\u001a\u00020\u0015H\u0016J\u0008\u0010\u0017\u001a\u00020\u0008H\u0016R\u0018\u0010\u0019\u001a\u0004\u0018\u00010\u00188\u0002@\u0002X\u0082\u000e\u00a2\u0006\u0006\n\u0004\u0008\u0019\u0010\u001aR\u0014\u0010\u001c\u001a\u00020\u001b8\u0002X\u0082\u0004\u00a2\u0006\u0006\n\u0004\u0008\u001c\u0010\u001dR\u0016\u0010\u001e\u001a\u00020\u000c8\u0002@\u0002X\u0082\u000e\u00a2\u0006\u0006\n\u0004\u0008\u001e\u0010\u001fR\u001a\u0010!\u001a\u00020 8\u0016X\u0096\u0004\u00a2\u0006\u000c\n\u0004\u0008!\u0010\"\u001a\u0004\u0008#\u0010$R\u0014\u0010&\u001a\u00020%8\u0002X\u0082\u0004\u00a2\u0006\u0006\n\u0004\u0008&\u0010\'R\u0014\u0010)\u001a\u00020(8\u0002X\u0082\u0004\u00a2\u0006\u0006\n\u0004\u0008)\u0010*\u00a8\u00060"
}
d2 = {
"Lokhttp3/internal/http2/Http2ExchangeCodec;",
"Lokhttp3/internal/http/ExchangeCodec;",
"Lokhttp3/Request;",
"request",
"",
"contentLength",
"Lzj/k0;",
"createRequestBody",
"Lkotlin/d1;",
"writeRequestHeaders",
"flushRequest",
"finishRequest",
"",
"expectContinue",
"Lokhttp3/Response$Builder;",
"readResponseHeaders",
"Lokhttp3/Response;",
"response",
"reportedContentLength",
"Lzj/m0;",
"openResponseBodySource",
"Lokhttp3/Headers;",
"trailers",
"cancel",
"Lokhttp3/internal/http2/Http2Stream;",
"stream",
"Lokhttp3/internal/http2/Http2Stream;",
"Lokhttp3/Protocol;",
"protocol",
"Lokhttp3/Protocol;",
"canceled",
"Z",
"Lokhttp3/internal/connection/RealConnection;",
"connection",
"Lokhttp3/internal/connection/RealConnection;",
"getConnection",
"()Lokhttp3/internal/connection/RealConnection;",
"Lokhttp3/internal/http/RealInterceptorChain;",
"chain",
"Lokhttp3/internal/http/RealInterceptorChain;",
"Lokhttp3/internal/http2/Http2Connection;",
"http2Connection",
"Lokhttp3/internal/http2/Http2Connection;",
"Lokhttp3/OkHttpClient;",
"client",
"<init>",
"(Lokhttp3/OkHttpClient;Lokhttp3/internal/connection/RealConnection;Lokhttp3/internal/http/RealInterceptorChain;Lokhttp3/internal/http2/Http2Connection;)V",
"Companion",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# static fields
.field private static final CONNECTION:Ljava/lang/String; = "connection"
.field public static final Companion:Lokhttp3/internal/http2/Http2ExchangeCodec$Companion;
.field private static final ENCODING:Ljava/lang/String; = "encoding"
.field private static final HOST:Ljava/lang/String; = "host"
.field private static final HTTP_2_SKIPPED_REQUEST_HEADERS:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field private static final HTTP_2_SKIPPED_RESPONSE_HEADERS:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field private static final KEEP_ALIVE:Ljava/lang/String; = "keep-alive"
.field private static final PROXY_CONNECTION:Ljava/lang/String; = "proxy-connection"
.field private static final TE:Ljava/lang/String; = "te"
.field private static final TRANSFER_ENCODING:Ljava/lang/String; = "transfer-encoding"
.field private static final UPGRADE:Ljava/lang/String; = "upgrade"
# instance fields
.field private volatile canceled:Z
.field private final chain:Lokhttp3/internal/http/RealInterceptorChain;
.field private final connection:Lokhttp3/internal/connection/RealConnection;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field private final http2Connection:Lokhttp3/internal/http2/Http2Connection;
.field private final protocol:Lokhttp3/Protocol;
.field private volatile stream:Lokhttp3/internal/http2/Http2Stream;
# direct methods
.method public static constructor <clinit>()V
.locals 14
new-instance v0, Lokhttp3/internal/http2/Http2ExchangeCodec$Companion;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lokhttp3/internal/http2/Http2ExchangeCodec$Companion;-><init>(Lkotlin/jvm/internal/u;)V
sput-object v0, Lokhttp3/internal/http2/Http2ExchangeCodec;->Companion:Lokhttp3/internal/http2/Http2ExchangeCodec$Companion;
const-string v2, "connection"
const-string v3, "host"
const-string v4, "keep-alive"
const-string v5, "proxy-connection"
const-string v6, "te"
const-string v7, "transfer-encoding"
const-string v8, "encoding"
const-string v9, "upgrade"
const-string v10, ":method"
const-string v11, ":path"
const-string v12, ":scheme"
const-string v13, ":authority"
.line 1
filled-new-array/range {v2 .. v13}, [Ljava/lang/String;
move-result-object v0
.line 2
invoke-static {v0}, Lokhttp3/internal/Util;->immutableListOf([Ljava/lang/Object;)Ljava/util/List;
move-result-object v0
sput-object v0, Lokhttp3/internal/http2/Http2ExchangeCodec;->HTTP_2_SKIPPED_REQUEST_HEADERS:Ljava/util/List;
const-string v1, "connection"
const-string v2, "host"
const-string v3, "keep-alive"
const-string v4, "proxy-connection"
const-string v5, "te"
const-string v6, "transfer-encoding"
const-string v7, "encoding"
const-string v8, "upgrade"
.line 3
filled-new-array/range {v1 .. v8}, [Ljava/lang/String;
move-result-object v0
.line 4
invoke-static {v0}, Lokhttp3/internal/Util;->immutableListOf([Ljava/lang/Object;)Ljava/util/List;
move-result-object v0
sput-object v0, Lokhttp3/internal/http2/Http2ExchangeCodec;->HTTP_2_SKIPPED_RESPONSE_HEADERS:Ljava/util/List;
return-void
.end method
.method public constructor <init>(Lokhttp3/OkHttpClient;Lokhttp3/internal/connection/RealConnection;Lokhttp3/internal/http/RealInterceptorChain;Lokhttp3/internal/http2/Http2Connection;)V
.locals 1
.param p1 # Lokhttp3/OkHttpClient;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p2 # Lokhttp3/internal/connection/RealConnection;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p3 # Lokhttp3/internal/http/RealInterceptorChain;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p4 # Lokhttp3/internal/http2/Http2Connection;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
const-string v0, "client"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "connection"
invoke-static {p2, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "chain"
invoke-static {p3, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "http2Connection"
invoke-static {p4, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p2, p0, Lokhttp3/internal/http2/Http2ExchangeCodec;->connection:Lokhttp3/internal/connection/RealConnection;
iput-object p3, p0, Lokhttp3/internal/http2/Http2ExchangeCodec;->chain:Lokhttp3/internal/http/RealInterceptorChain;
iput-object p4, p0, Lokhttp3/internal/http2/Http2ExchangeCodec;->http2Connection:Lokhttp3/internal/http2/Http2Connection;
.line 2
invoke-virtual {p1}, Lokhttp3/OkHttpClient;->protocols()Ljava/util/List;
move-result-object p1
sget-object p2, Lokhttp3/Protocol;->H2_PRIOR_KNOWLEDGE:Lokhttp3/Protocol;
invoke-interface {p1, p2}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_0
goto :goto_0
.line 3
:cond_0
sget-object p2, Lokhttp3/Protocol;->HTTP_2:Lokhttp3/Protocol;
.line 4
:goto_0
iput-object p2, p0, Lokhttp3/internal/http2/Http2ExchangeCodec;->protocol:Lokhttp3/Protocol;
return-void
.end method
.method public static final synthetic access$getHTTP_2_SKIPPED_REQUEST_HEADERS$cp()Ljava/util/List;
.locals 1
.line 1
sget-object v0, Lokhttp3/internal/http2/Http2ExchangeCodec;->HTTP_2_SKIPPED_REQUEST_HEADERS:Ljava/util/List;
return-object v0
.end method
.method public static final synthetic access$getHTTP_2_SKIPPED_RESPONSE_HEADERS$cp()Ljava/util/List;
.locals 1
.line 1
sget-object v0, Lokhttp3/internal/http2/Http2ExchangeCodec;->HTTP_2_SKIPPED_RESPONSE_HEADERS:Ljava/util/List;
return-object v0
.end method
# virtual methods
.method public cancel()V
.locals 2
const/4 v0, 0x1
.line 1
iput-boolean v0, p0, Lokhttp3/internal/http2/Http2ExchangeCodec;->canceled:Z
.line 2
iget-object v0, p0, Lokhttp3/internal/http2/Http2ExchangeCodec;->stream:Lokhttp3/internal/http2/Http2Stream;
if-eqz v0, :cond_0
sget-object v1, Lokhttp3/internal/http2/ErrorCode;->CANCEL:Lokhttp3/internal/http2/ErrorCode;
invoke-virtual {v0, v1}, Lokhttp3/internal/http2/Http2Stream;->closeLater(Lokhttp3/internal/http2/ErrorCode;)V
:cond_0
return-void
.end method
.method public createRequestBody(Lokhttp3/Request;J)Lzj/k0;
.locals 0
.param p1 # Lokhttp3/Request;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
const-string p2, "request"
invoke-static {p1, p2}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
iget-object p1, p0, Lokhttp3/internal/http2/Http2ExchangeCodec;->stream:Lokhttp3/internal/http2/Http2Stream;
invoke-static {p1}, Lkotlin/jvm/internal/f0;->m(Ljava/lang/Object;)V
invoke-virtual {p1}, Lokhttp3/internal/http2/Http2Stream;->getSink()Lzj/k0;
move-result-object p1
return-object p1
.end method
.method public finishRequest()V
.locals 1
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2ExchangeCodec;->stream:Lokhttp3/internal/http2/Http2Stream;
invoke-static {v0}, Lkotlin/jvm/internal/f0;->m(Ljava/lang/Object;)V
invoke-virtual {v0}, Lokhttp3/internal/http2/Http2Stream;->getSink()Lzj/k0;
move-result-object v0
invoke-interface {v0}, Lzj/k0;->close()V
return-void
.end method
.method public flushRequest()V
.locals 1
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2ExchangeCodec;->http2Connection:Lokhttp3/internal/http2/Http2Connection;
invoke-virtual {v0}, Lokhttp3/internal/http2/Http2Connection;->flush()V
return-void
.end method
.method public getConnection()Lokhttp3/internal/connection/RealConnection;
.locals 1
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2ExchangeCodec;->connection:Lokhttp3/internal/connection/RealConnection;
return-object v0
.end method
.method public openResponseBodySource(Lokhttp3/Response;)Lzj/m0;
.locals 1
.param p1 # Lokhttp3/Response;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
const-string v0, "response"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
iget-object p1, p0, Lokhttp3/internal/http2/Http2ExchangeCodec;->stream:Lokhttp3/internal/http2/Http2Stream;
invoke-static {p1}, Lkotlin/jvm/internal/f0;->m(Ljava/lang/Object;)V
invoke-virtual {p1}, Lokhttp3/internal/http2/Http2Stream;->getSource$okhttp()Lokhttp3/internal/http2/Http2Stream$FramingSource;
move-result-object p1
return-object p1
.end method
.method public readResponseHeaders(Z)Lokhttp3/Response$Builder;
.locals 3
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2ExchangeCodec;->stream:Lokhttp3/internal/http2/Http2Stream;
invoke-static {v0}, Lkotlin/jvm/internal/f0;->m(Ljava/lang/Object;)V
invoke-virtual {v0}, Lokhttp3/internal/http2/Http2Stream;->takeHeaders()Lokhttp3/Headers;
move-result-object v0
.line 2
sget-object v1, Lokhttp3/internal/http2/Http2ExchangeCodec;->Companion:Lokhttp3/internal/http2/Http2ExchangeCodec$Companion;
iget-object v2, p0, Lokhttp3/internal/http2/Http2ExchangeCodec;->protocol:Lokhttp3/Protocol;
invoke-virtual {v1, v0, v2}, Lokhttp3/internal/http2/Http2ExchangeCodec$Companion;->readHttp2HeadersList(Lokhttp3/Headers;Lokhttp3/Protocol;)Lokhttp3/Response$Builder;
move-result-object v0
if-eqz p1, :cond_0
.line 3
invoke-virtual {v0}, Lokhttp3/Response$Builder;->getCode$okhttp()I
move-result p1
const/16 v1, 0x64
if-ne p1, v1, :cond_0
const/4 v0, 0x0
:cond_0
return-object v0
.end method
.method public reportedContentLength(Lokhttp3/Response;)J
.locals 2
.param p1 # Lokhttp3/Response;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
const-string v0, "response"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
invoke-static {p1}, Lokhttp3/internal/http/HttpHeaders;->promisesBody(Lokhttp3/Response;)Z
move-result v0
if-nez v0, :cond_0
const-wide/16 v0, 0x0
goto :goto_0
.line 2
:cond_0
invoke-static {p1}, Lokhttp3/internal/Util;->headersContentLength(Lokhttp3/Response;)J
move-result-wide v0
:goto_0
return-wide v0
.end method
.method public trailers()Lokhttp3/Headers;
.locals 1
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2ExchangeCodec;->stream:Lokhttp3/internal/http2/Http2Stream;
invoke-static {v0}, Lkotlin/jvm/internal/f0;->m(Ljava/lang/Object;)V
invoke-virtual {v0}, Lokhttp3/internal/http2/Http2Stream;->trailers()Lokhttp3/Headers;
move-result-object v0
return-object v0
.end method
.method public writeRequestHeaders(Lokhttp3/Request;)V
.locals 3
.param p1 # Lokhttp3/Request;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
const-string v0, "request"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2ExchangeCodec;->stream:Lokhttp3/internal/http2/Http2Stream;
if-eqz v0, :cond_0
return-void
.line 2
:cond_0
invoke-virtual {p1}, Lokhttp3/Request;->body()Lokhttp3/RequestBody;
move-result-object v0
if-eqz v0, :cond_1
const/4 v0, 0x1
goto :goto_0
:cond_1
const/4 v0, 0x0
.line 3
:goto_0
sget-object v1, Lokhttp3/internal/http2/Http2ExchangeCodec;->Companion:Lokhttp3/internal/http2/Http2ExchangeCodec$Companion;
invoke-virtual {v1, p1}, Lokhttp3/internal/http2/Http2ExchangeCodec$Companion;->http2HeadersList(Lokhttp3/Request;)Ljava/util/List;
move-result-object p1
.line 4
iget-object v1, p0, Lokhttp3/internal/http2/Http2ExchangeCodec;->http2Connection:Lokhttp3/internal/http2/Http2Connection;
invoke-virtual {v1, p1, v0}, Lokhttp3/internal/http2/Http2Connection;->newStream(Ljava/util/List;Z)Lokhttp3/internal/http2/Http2Stream;
move-result-object p1
iput-object p1, p0, Lokhttp3/internal/http2/Http2ExchangeCodec;->stream:Lokhttp3/internal/http2/Http2Stream;
.line 5
iget-boolean p1, p0, Lokhttp3/internal/http2/Http2ExchangeCodec;->canceled:Z
if-nez p1, :cond_2
.line 6
iget-object p1, p0, Lokhttp3/internal/http2/Http2ExchangeCodec;->stream:Lokhttp3/internal/http2/Http2Stream;
invoke-static {p1}, Lkotlin/jvm/internal/f0;->m(Ljava/lang/Object;)V
invoke-virtual {p1}, Lokhttp3/internal/http2/Http2Stream;->readTimeout()Lzj/o0;
move-result-object p1
iget-object v0, p0, Lokhttp3/internal/http2/Http2ExchangeCodec;->chain:Lokhttp3/internal/http/RealInterceptorChain;
invoke-virtual {v0}, Lokhttp3/internal/http/RealInterceptorChain;->getReadTimeoutMillis$okhttp()I
move-result v0
int-to-long v0, v0
sget-object v2, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invoke-virtual {p1, v0, v1, v2}, Lzj/o0;->timeout(JLjava/util/concurrent/TimeUnit;)Lzj/o0;
.line 7
iget-object p1, p0, Lokhttp3/internal/http2/Http2ExchangeCodec;->stream:Lokhttp3/internal/http2/Http2Stream;
invoke-static {p1}, Lkotlin/jvm/internal/f0;->m(Ljava/lang/Object;)V
invoke-virtual {p1}, Lokhttp3/internal/http2/Http2Stream;->writeTimeout()Lzj/o0;
move-result-object p1
iget-object v0, p0, Lokhttp3/internal/http2/Http2ExchangeCodec;->chain:Lokhttp3/internal/http/RealInterceptorChain;
invoke-virtual {v0}, Lokhttp3/internal/http/RealInterceptorChain;->getWriteTimeoutMillis$okhttp()I
move-result v0
int-to-long v0, v0
invoke-virtual {p1, v0, v1, v2}, Lzj/o0;->timeout(JLjava/util/concurrent/TimeUnit;)Lzj/o0;
return-void
.line 8
:cond_2
iget-object p1, p0, Lokhttp3/internal/http2/Http2ExchangeCodec;->stream:Lokhttp3/internal/http2/Http2Stream;
invoke-static {p1}, Lkotlin/jvm/internal/f0;->m(Ljava/lang/Object;)V
sget-object v0, Lokhttp3/internal/http2/ErrorCode;->CANCEL:Lokhttp3/internal/http2/ErrorCode;
invoke-virtual {p1, v0}, Lokhttp3/internal/http2/Http2Stream;->closeLater(Lokhttp3/internal/http2/ErrorCode;)V
.line 9
new-instance p1, Ljava/io/IOException;
const-string v0, "Canceled"
invoke-direct {p1, v0}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw p1
.end method
@@ -0,0 +1,119 @@
.class public final Lokhttp3/internal/http2/Http2Reader$Companion;
.super Ljava/lang/Object;
.source "Http2Reader.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/internal/http2/Http2Reader;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Companion"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010\u0008\n\u0002\u0008\u0004\u0008\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002J\u001e\u0010\u0007\u001a\u00020\u00082\u0006\u0010\t\u001a\u00020\u00082\u0006\u0010\n\u001a\u00020\u00082\u0006\u0010\u000b\u001a\u00020\u0008R\u0011\u0010\u0003\u001a\u00020\u0004\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0005\u0010\u0006\u00a8\u0006\u000c"
}
d2 = {
"Lokhttp3/internal/http2/Http2Reader$Companion;",
"",
"()V",
"logger",
"Ljava/util/logging/Logger;",
"getLogger",
"()Ljava/util/logging/Logger;",
"lengthWithoutPadding",
"",
"length",
"flags",
"padding",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/u;)V
.locals 0
.line 2
invoke-direct {p0}, Lokhttp3/internal/http2/Http2Reader$Companion;-><init>()V
return-void
.end method
# virtual methods
.method public final getLogger()Ljava/util/logging/Logger;
.locals 1
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
invoke-static {}, Lokhttp3/internal/http2/Http2Reader;->access$getLogger$cp()Ljava/util/logging/Logger;
move-result-object v0
return-object v0
.end method
.method public final lengthWithoutPadding(III)I
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
and-int/lit8 p2, p2, 0x8
if-eqz p2, :cond_0
add-int/lit8 p1, p1, -0x1
:cond_0
if-gt p3, p1, :cond_1
sub-int/2addr p1, p3
return p1
.line 1
:cond_1
new-instance p2, Ljava/io/IOException;
const-string v0, "PROTOCOL_ERROR padding "
const-string v1, " > remaining length "
invoke-static {v0, p3, v1, p1}, Lc3/d;->a(Ljava/lang/String;ILjava/lang/String;I)Ljava/lang/String;
move-result-object p1
invoke-direct {p2, p1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw p2
.end method
@@ -0,0 +1,448 @@
.class public final Lokhttp3/internal/http2/Http2Reader$ContinuationSource;
.super Ljava/lang/Object;
.source "Http2Reader.kt"
# interfaces
.implements Lzj/m0;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/internal/http2/Http2Reader;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "ContinuationSource"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {}
d1 = {
"\u00004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0012\n\u0002\u0018\u0002\n\u0002\u0008\u0004\u0008\u0000\u0018\u00002\u00020\u0001B\u000f\u0012\u0006\u0010 \u001a\u00020\u001f\u00a2\u0006\u0004\u0008!\u0010\"J\u0008\u0010\u0003\u001a\u00020\u0002H\u0002J\u0018\u0010\u0008\u001a\u00020\u00062\u0006\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0007\u001a\u00020\u0006H\u0016J\u0008\u0010\n\u001a\u00020\tH\u0016J\u0008\u0010\u000b\u001a\u00020\u0002H\u0016R\"\u0010\r\u001a\u00020\u000c8\u0006@\u0006X\u0086\u000e\u00a2\u0006\u0012\n\u0004\u0008\r\u0010\u000e\u001a\u0004\u0008\u000f\u0010\u0010\"\u0004\u0008\u0011\u0010\u0012R\"\u0010\u0013\u001a\u00020\u000c8\u0006@\u0006X\u0086\u000e\u00a2\u0006\u0012\n\u0004\u0008\u0013\u0010\u000e\u001a\u0004\u0008\u0014\u0010\u0010\"\u0004\u0008\u0015\u0010\u0012R\"\u0010\u0016\u001a\u00020\u000c8\u0006@\u0006X\u0086\u000e\u00a2\u0006\u0012\n\u0004\u0008\u0016\u0010\u000e\u001a\u0004\u0008\u0017\u0010\u0010\"\u0004\u0008\u0018\u0010\u0012R\"\u0010\u0019\u001a\u00020\u000c8\u0006@\u0006X\u0086\u000e\u00a2\u0006\u0012\n\u0004\u0008\u0019\u0010\u000e\u001a\u0004\u0008\u001a\u0010\u0010\"\u0004\u0008\u001b\u0010\u0012R\"\u0010\u001c\u001a\u00020\u000c8\u0006@\u0006X\u0086\u000e\u00a2\u0006\u0012\n\u0004\u0008\u001c\u0010\u000e\u001a\u0004\u0008\u001d\u0010\u0010\"\u0004\u0008\u001e\u0010\u0012\u00a8\u0006#"
}
d2 = {
"Lokhttp3/internal/http2/Http2Reader$ContinuationSource;",
"Lzj/m0;",
"Lkotlin/d1;",
"readContinuationHeader",
"Lzj/m;",
"sink",
"",
"byteCount",
"read",
"Lzj/o0;",
"timeout",
"close",
"",
"length",
"I",
"getLength",
"()I",
"setLength",
"(I)V",
"flags",
"getFlags",
"setFlags",
"streamId",
"getStreamId",
"setStreamId",
"left",
"getLeft",
"setLeft",
"padding",
"getPadding",
"setPadding",
"Lzj/o;",
"source",
"<init>",
"(Lzj/o;)V",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field private flags:I
.field private left:I
.field private length:I
.field private padding:I
.field private final source:Lzj/o;
.field private streamId:I
# direct methods
.method public constructor <init>(Lzj/o;)V
.locals 1
.param p1 # Lzj/o;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
const-string v0, "source"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->source:Lzj/o;
return-void
.end method
.method private final readContinuationHeader()V
.locals 9
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 1
iget v0, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->streamId:I
.line 2
iget-object v1, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->source:Lzj/o;
invoke-static {v1}, Lokhttp3/internal/Util;->readMedium(Lzj/o;)I
move-result v1
iput v1, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->left:I
.line 3
iput v1, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->length:I
.line 4
iget-object v1, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->source:Lzj/o;
invoke-interface {v1}, Lzj/o;->readByte()B
move-result v1
const/16 v2, 0xff
invoke-static {v1, v2}, Lokhttp3/internal/Util;->and(BI)I
move-result v1
.line 5
iget-object v3, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->source:Lzj/o;
invoke-interface {v3}, Lzj/o;->readByte()B
move-result v3
invoke-static {v3, v2}, Lokhttp3/internal/Util;->and(BI)I
move-result v2
iput v2, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->flags:I
.line 6
sget-object v2, Lokhttp3/internal/http2/Http2Reader;->Companion:Lokhttp3/internal/http2/Http2Reader$Companion;
invoke-virtual {v2}, Lokhttp3/internal/http2/Http2Reader$Companion;->getLogger()Ljava/util/logging/Logger;
move-result-object v3
sget-object v4, Ljava/util/logging/Level;->FINE:Ljava/util/logging/Level;
invoke-virtual {v3, v4}, Ljava/util/logging/Logger;->isLoggable(Ljava/util/logging/Level;)Z
move-result v3
if-eqz v3, :cond_0
invoke-virtual {v2}, Lokhttp3/internal/http2/Http2Reader$Companion;->getLogger()Ljava/util/logging/Logger;
move-result-object v2
sget-object v3, Lokhttp3/internal/http2/Http2;->INSTANCE:Lokhttp3/internal/http2/Http2;
const/4 v4, 0x1
iget v5, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->streamId:I
iget v6, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->length:I
iget v8, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->flags:I
move v7, v1
invoke-virtual/range {v3 .. v8}, Lokhttp3/internal/http2/Http2;->frameLog(ZIIII)Ljava/lang/String;
move-result-object v3
invoke-virtual {v2, v3}, Ljava/util/logging/Logger;->fine(Ljava/lang/String;)V
.line 7
:cond_0
iget-object v2, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->source:Lzj/o;
invoke-interface {v2}, Lzj/o;->readInt()I
move-result v2
const v3, 0x7fffffff
and-int/2addr v2, v3
iput v2, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->streamId:I
const/16 v3, 0x9
if-ne v1, v3, :cond_2
if-ne v2, v0, :cond_1
return-void
.line 8
:cond_1
new-instance v0, Ljava/io/IOException;
const-string v1, "TYPE_CONTINUATION streamId changed"
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw v0
.line 9
:cond_2
new-instance v0, Ljava/io/IOException;
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v1, " != TYPE_CONTINUATION"
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw v0
.end method
# virtual methods
.method public close()V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
return-void
.end method
.method public final getFlags()I
.locals 1
.line 1
iget v0, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->flags:I
return v0
.end method
.method public final getLeft()I
.locals 1
.line 1
iget v0, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->left:I
return v0
.end method
.method public final getLength()I
.locals 1
.line 1
iget v0, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->length:I
return v0
.end method
.method public final getPadding()I
.locals 1
.line 1
iget v0, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->padding:I
return v0
.end method
.method public final getStreamId()I
.locals 1
.line 1
iget v0, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->streamId:I
return v0
.end method
.method public read(Lzj/m;J)J
.locals 6
.param p1 # Lzj/m;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const-string v0, "sink"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
:goto_0
iget v0, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->left:I
const-wide/16 v1, -0x1
if-nez v0, :cond_1
.line 2
iget-object v0, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->source:Lzj/o;
iget v3, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->padding:I
int-to-long v3, v3
invoke-interface {v0, v3, v4}, Lzj/o;->skip(J)V
const/4 v0, 0x0
.line 3
iput v0, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->padding:I
.line 4
iget v0, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->flags:I
and-int/lit8 v0, v0, 0x4
if-eqz v0, :cond_0
return-wide v1
.line 5
:cond_0
invoke-direct {p0}, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->readContinuationHeader()V
goto :goto_0
.line 6
:cond_1
iget-object v3, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->source:Lzj/o;
int-to-long v4, v0
invoke-static {p2, p3, v4, v5}, Ljava/lang/Math;->min(JJ)J
move-result-wide p2
invoke-interface {v3, p1, p2, p3}, Lzj/m0;->read(Lzj/m;J)J
move-result-wide p1
cmp-long p3, p1, v1
if-nez p3, :cond_2
return-wide v1
.line 7
:cond_2
iget p3, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->left:I
long-to-int v0, p1
sub-int/2addr p3, v0
iput p3, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->left:I
return-wide p1
.end method
.method public final setFlags(I)V
.locals 0
.line 1
iput p1, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->flags:I
return-void
.end method
.method public final setLeft(I)V
.locals 0
.line 1
iput p1, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->left:I
return-void
.end method
.method public final setLength(I)V
.locals 0
.line 1
iput p1, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->length:I
return-void
.end method
.method public final setPadding(I)V
.locals 0
.line 1
iput p1, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->padding:I
return-void
.end method
.method public final setStreamId(I)V
.locals 0
.line 1
iput p1, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->streamId:I
return-void
.end method
.method public timeout()Lzj/o0;
.locals 1
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Reader$ContinuationSource;->source:Lzj/o;
invoke-interface {v0}, Lzj/m0;->timeout()Lzj/o0;
move-result-object v0
return-object v0
.end method
@@ -0,0 +1,180 @@
.class public interface abstract Lokhttp3/internal/http2/Http2Reader$Handler;
.super Ljava/lang/Object;
.source "Http2Reader.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/internal/http2/Http2Reader;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x609
name = "Handler"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {}
d1 = {
"\u0000X\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0008\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0007\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\t\n\u0002\u0008\t\n\u0002\u0010\u000e\n\u0002\u0008\u0007\u0008f\u0018\u00002\u00020\u0001J(\u0010\n\u001a\u00020\t2\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0007\u001a\u00020\u00062\u0006\u0010\u0008\u001a\u00020\u0004H&J.\u0010\u000f\u001a\u00020\t2\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u000b\u001a\u00020\u00042\u000c\u0010\u000e\u001a\u0008\u0012\u0004\u0012\u00020\r0\u000cH&J\u0018\u0010\u0012\u001a\u00020\t2\u0006\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0011\u001a\u00020\u0010H&J\u0018\u0010\u0015\u001a\u00020\t2\u0006\u0010\u0013\u001a\u00020\u00022\u0006\u0010\u0015\u001a\u00020\u0014H&J\u0008\u0010\u0016\u001a\u00020\tH&J \u0010\u001a\u001a\u00020\t2\u0006\u0010\u0017\u001a\u00020\u00022\u0006\u0010\u0018\u001a\u00020\u00042\u0006\u0010\u0019\u001a\u00020\u0004H&J \u0010\u001e\u001a\u00020\t2\u0006\u0010\u001b\u001a\u00020\u00042\u0006\u0010\u0011\u001a\u00020\u00102\u0006\u0010\u001d\u001a\u00020\u001cH&J\u0018\u0010!\u001a\u00020\t2\u0006\u0010\u0005\u001a\u00020\u00042\u0006\u0010 \u001a\u00020\u001fH&J(\u0010%\u001a\u00020\t2\u0006\u0010\u0005\u001a\u00020\u00042\u0006\u0010\"\u001a\u00020\u00042\u0006\u0010#\u001a\u00020\u00042\u0006\u0010$\u001a\u00020\u0002H&J&\u0010(\u001a\u00020\t2\u0006\u0010\u0005\u001a\u00020\u00042\u0006\u0010&\u001a\u00020\u00042\u000c\u0010\'\u001a\u0008\u0012\u0004\u0012\u00020\r0\u000cH&J8\u0010/\u001a\u00020\t2\u0006\u0010\u0005\u001a\u00020\u00042\u0006\u0010*\u001a\u00020)2\u0006\u0010+\u001a\u00020\u001c2\u0006\u0010,\u001a\u00020)2\u0006\u0010-\u001a\u00020\u00042\u0006\u0010.\u001a\u00020\u001fH&\u00a8\u00060"
}
d2 = {
"Lokhttp3/internal/http2/Http2Reader$Handler;",
"",
"",
"inFinished",
"",
"streamId",
"Lzj/o;",
"source",
"length",
"Lkotlin/d1;",
"data",
"associatedStreamId",
"",
"Lokhttp3/internal/http2/Header;",
"headerBlock",
"headers",
"Lokhttp3/internal/http2/ErrorCode;",
"errorCode",
"rstStream",
"clearPrevious",
"Lokhttp3/internal/http2/Settings;",
"settings",
"ackSettings",
"ack",
"payload1",
"payload2",
"ping",
"lastGoodStreamId",
"Lokio/ByteString;",
"debugData",
"goAway",
"",
"windowSizeIncrement",
"windowUpdate",
"streamDependency",
"weight",
"exclusive",
"priority",
"promisedStreamId",
"requestHeaders",
"pushPromise",
"",
"origin",
"protocol",
"host",
"port",
"maxAge",
"alternateService",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# virtual methods
.method public abstract ackSettings()V
.end method
.method public abstract alternateService(ILjava/lang/String;Lokio/ByteString;Ljava/lang/String;IJ)V
.param p2 # Ljava/lang/String;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p3 # Lokio/ByteString;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p4 # Ljava/lang/String;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.end method
.method public abstract data(ZILzj/o;I)V
.param p3 # Lzj/o;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract goAway(ILokhttp3/internal/http2/ErrorCode;Lokio/ByteString;)V
.param p2 # Lokhttp3/internal/http2/ErrorCode;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p3 # Lokio/ByteString;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.end method
.method public abstract headers(ZIILjava/util/List;)V
.param p4 # Ljava/util/List;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(ZII",
"Ljava/util/List<",
"Lokhttp3/internal/http2/Header;",
">;)V"
}
.end annotation
.end method
.method public abstract ping(ZII)V
.end method
.method public abstract priority(IIIZ)V
.end method
.method public abstract pushPromise(IILjava/util/List;)V
.param p3 # Ljava/util/List;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(II",
"Ljava/util/List<",
"Lokhttp3/internal/http2/Header;",
">;)V"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract rstStream(ILokhttp3/internal/http2/ErrorCode;)V
.param p2 # Lokhttp3/internal/http2/ErrorCode;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.end method
.method public abstract settings(ZLokhttp3/internal/http2/Settings;)V
.param p2 # Lokhttp3/internal/http2/Settings;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.end method
.method public abstract windowUpdate(IJ)V
.end method
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,59 @@
.class public final Lokhttp3/internal/http2/Http2Stream$Companion;
.super Ljava/lang/Object;
.source "Http2Stream.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/internal/http2/Http2Stream;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Companion"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0010\t\n\u0000\u0008\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002R\u000e\u0010\u0003\u001a\u00020\u0004X\u0080T\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0005"
}
d2 = {
"Lokhttp3/internal/http2/Http2Stream$Companion;",
"",
"()V",
"EMIT_BUFFER_SIZE",
"",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/u;)V
.locals 0
.line 2
invoke-direct {p0}, Lokhttp3/internal/http2/Http2Stream$Companion;-><init>()V
return-void
.end method
@@ -0,0 +1,969 @@
.class public final Lokhttp3/internal/http2/Http2Stream$FramingSink;
.super Ljava/lang/Object;
.source "Http2Stream.kt"
# interfaces
.implements Lzj/k0;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/internal/http2/Http2Stream;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x11
name = "FramingSink"
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nHttp2Stream.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Http2Stream.kt\nokhttp3/internal/http2/Http2Stream$FramingSink\n+ 2 Util.kt\nokhttp3/internal/Util\n*L\n1#1,690:1\n615#2,4:691\n615#2,4:695\n615#2,4:699\n*E\n*S KotlinDebug\n*F\n+ 1 Http2Stream.kt\nokhttp3/internal/http2/Http2Stream$FramingSink\n*L\n531#1,4:691\n576#1,4:695\n591#1,4:699\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {}
d1 = {
"\u00002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0012\u0008\u0080\u0004\u0018\u00002\u00020\u0001B\u0011\u0012\u0008\u0008\u0002\u0010\u001c\u001a\u00020\u0002\u00a2\u0006\u0004\u0008\u001f\u0010 J\u0010\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0003\u001a\u00020\u0002H\u0002J\u0018\u0010\n\u001a\u00020\u00042\u0006\u0010\u0007\u001a\u00020\u00062\u0006\u0010\t\u001a\u00020\u0008H\u0016J\u0008\u0010\u000b\u001a\u00020\u0004H\u0016J\u0008\u0010\r\u001a\u00020\u000cH\u0016J\u0008\u0010\u000e\u001a\u00020\u0004H\u0016R$\u0010\u0010\u001a\u0004\u0018\u00010\u000f8\u0006@\u0006X\u0086\u000e\u00a2\u0006\u0012\n\u0004\u0008\u0010\u0010\u0011\u001a\u0004\u0008\u0012\u0010\u0013\"\u0004\u0008\u0014\u0010\u0015R\"\u0010\u0016\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e\u00a2\u0006\u0012\n\u0004\u0008\u0016\u0010\u0017\u001a\u0004\u0008\u0018\u0010\u0019\"\u0004\u0008\u001a\u0010\u001bR\"\u0010\u001c\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e\u00a2\u0006\u0012\n\u0004\u0008\u001c\u0010\u0017\u001a\u0004\u0008\u001d\u0010\u0019\"\u0004\u0008\u001e\u0010\u001b\u00a8\u0006!"
}
d2 = {
"Lokhttp3/internal/http2/Http2Stream$FramingSink;",
"Lzj/k0;",
"",
"outFinishedOnLastFrame",
"Lkotlin/d1;",
"emitFrame",
"Lzj/m;",
"source",
"",
"byteCount",
"write",
"flush",
"Lzj/o0;",
"timeout",
"close",
"Lokhttp3/Headers;",
"trailers",
"Lokhttp3/Headers;",
"getTrailers",
"()Lokhttp3/Headers;",
"setTrailers",
"(Lokhttp3/Headers;)V",
"closed",
"Z",
"getClosed",
"()Z",
"setClosed",
"(Z)V",
"finished",
"getFinished",
"setFinished",
"<init>",
"(Lokhttp3/internal/http2/Http2Stream;Z)V",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field private closed:Z
.field private finished:Z
.field private final sendBuffer:Lzj/m;
.field public final synthetic this$0:Lokhttp3/internal/http2/Http2Stream;
.field private trailers:Lokhttp3/Headers;
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.end field
# direct methods
.method public constructor <init>(Lokhttp3/internal/http2/Http2Stream;Z)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(Z)V"
}
.end annotation
.line 1
iput-object p1, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-boolean p2, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->finished:Z
.line 2
new-instance p1, Lzj/m;
invoke-direct {p1}, Lzj/m;-><init>()V
iput-object p1, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->sendBuffer:Lzj/m;
return-void
.end method
.method public synthetic constructor <init>(Lokhttp3/internal/http2/Http2Stream;ZILkotlin/jvm/internal/u;)V
.locals 0
and-int/lit8 p3, p3, 0x1
if-eqz p3, :cond_0
const/4 p2, 0x0
.line 3
:cond_0
invoke-direct {p0, p1, p2}, Lokhttp3/internal/http2/Http2Stream$FramingSink;-><init>(Lokhttp3/internal/http2/Http2Stream;Z)V
return-void
.end method
.method private final emitFrame(Z)V
.locals 11
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
monitor-enter v0
.line 2
:try_start_0
iget-object v1, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {v1}, Lokhttp3/internal/http2/Http2Stream;->getWriteTimeout$okhttp()Lokhttp3/internal/http2/Http2Stream$StreamTimeout;
move-result-object v1
invoke-virtual {v1}, Lzj/k;->enter()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_2
.line 3
:goto_0
:try_start_1
iget-object v1, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {v1}, Lokhttp3/internal/http2/Http2Stream;->getWriteBytesTotal()J
move-result-wide v1
iget-object v3, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {v3}, Lokhttp3/internal/http2/Http2Stream;->getWriteBytesMaximum()J
move-result-wide v3
cmp-long v1, v1, v3
if-ltz v1, :cond_0
iget-boolean v1, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->finished:Z
if-nez v1, :cond_0
iget-boolean v1, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->closed:Z
if-nez v1, :cond_0
iget-object v1, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {v1}, Lokhttp3/internal/http2/Http2Stream;->getErrorCode$okhttp()Lokhttp3/internal/http2/ErrorCode;
move-result-object v1
if-nez v1, :cond_0
.line 4
iget-object v1, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {v1}, Lokhttp3/internal/http2/Http2Stream;->waitForIo$okhttp()V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_1
goto :goto_0
.line 5
:cond_0
:try_start_2
iget-object v1, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {v1}, Lokhttp3/internal/http2/Http2Stream;->getWriteTimeout$okhttp()Lokhttp3/internal/http2/Http2Stream$StreamTimeout;
move-result-object v1
invoke-virtual {v1}, Lokhttp3/internal/http2/Http2Stream$StreamTimeout;->exitAndThrowIfTimedOut()V
.line 6
iget-object v1, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {v1}, Lokhttp3/internal/http2/Http2Stream;->checkOutNotClosed$okhttp()V
.line 7
iget-object v1, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {v1}, Lokhttp3/internal/http2/Http2Stream;->getWriteBytesMaximum()J
move-result-wide v1
iget-object v3, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {v3}, Lokhttp3/internal/http2/Http2Stream;->getWriteBytesTotal()J
move-result-wide v3
sub-long/2addr v1, v3
iget-object v3, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->sendBuffer:Lzj/m;
invoke-virtual {v3}, Lzj/m;->size()J
move-result-wide v3
invoke-static {v1, v2, v3, v4}, Ljava/lang/Math;->min(JJ)J
move-result-wide v9
.line 8
iget-object v1, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {v1}, Lokhttp3/internal/http2/Http2Stream;->getWriteBytesTotal()J
move-result-wide v2
add-long/2addr v2, v9
invoke-virtual {v1, v2, v3}, Lokhttp3/internal/http2/Http2Stream;->setWriteBytesTotal$okhttp(J)V
if-eqz p1, :cond_1
.line 9
iget-object p1, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->sendBuffer:Lzj/m;
invoke-virtual {p1}, Lzj/m;->size()J
move-result-wide v1
cmp-long p1, v9, v1
if-nez p1, :cond_1
iget-object p1, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {p1}, Lokhttp3/internal/http2/Http2Stream;->getErrorCode$okhttp()Lokhttp3/internal/http2/ErrorCode;
move-result-object p1
if-nez p1, :cond_1
const/4 p1, 0x1
goto :goto_1
:cond_1
const/4 p1, 0x0
:goto_1
move v7, p1
.line 10
sget-object p1, Lkotlin/d1;->a:Lkotlin/d1;
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_2
.line 11
monitor-exit v0
.line 12
iget-object p1, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {p1}, Lokhttp3/internal/http2/Http2Stream;->getWriteTimeout$okhttp()Lokhttp3/internal/http2/Http2Stream$StreamTimeout;
move-result-object p1
invoke-virtual {p1}, Lzj/k;->enter()V
.line 13
:try_start_3
iget-object p1, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {p1}, Lokhttp3/internal/http2/Http2Stream;->getConnection()Lokhttp3/internal/http2/Http2Connection;
move-result-object v5
iget-object p1, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {p1}, Lokhttp3/internal/http2/Http2Stream;->getId()I
move-result v6
iget-object v8, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->sendBuffer:Lzj/m;
invoke-virtual/range {v5 .. v10}, Lokhttp3/internal/http2/Http2Connection;->writeData(IZLzj/m;J)V
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_0
.line 14
iget-object p1, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {p1}, Lokhttp3/internal/http2/Http2Stream;->getWriteTimeout$okhttp()Lokhttp3/internal/http2/Http2Stream$StreamTimeout;
move-result-object p1
invoke-virtual {p1}, Lokhttp3/internal/http2/Http2Stream$StreamTimeout;->exitAndThrowIfTimedOut()V
return-void
:catchall_0
move-exception p1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {v0}, Lokhttp3/internal/http2/Http2Stream;->getWriteTimeout$okhttp()Lokhttp3/internal/http2/Http2Stream$StreamTimeout;
move-result-object v0
invoke-virtual {v0}, Lokhttp3/internal/http2/Http2Stream$StreamTimeout;->exitAndThrowIfTimedOut()V
throw p1
:catchall_1
move-exception p1
.line 15
:try_start_4
iget-object v1, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {v1}, Lokhttp3/internal/http2/Http2Stream;->getWriteTimeout$okhttp()Lokhttp3/internal/http2/Http2Stream$StreamTimeout;
move-result-object v1
invoke-virtual {v1}, Lokhttp3/internal/http2/Http2Stream$StreamTimeout;->exitAndThrowIfTimedOut()V
throw p1
:try_end_4
.catchall {:try_start_4 .. :try_end_4} :catchall_2
:catchall_2
move-exception p1
.line 16
monitor-exit v0
throw p1
.end method
# virtual methods
.method public close()V
.locals 10
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
.line 2
sget-boolean v1, Lokhttp3/internal/Util;->assertionsEnabled:Z
if-eqz v1, :cond_1
invoke-static {v0}, Ljava/lang/Thread;->holdsLock(Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_0
goto :goto_0
.line 3
:cond_0
new-instance v1, Ljava/lang/AssertionError;
const-string v2, "Thread "
invoke-static {v2}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v2
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
move-result-object v3
const-string v4, "Thread.currentThread()"
invoke-static {v3, v4}, Lkotlin/jvm/internal/f0;->o(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v3}, Ljava/lang/Thread;->getName()Ljava/lang/String;
move-result-object v3
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v3, " MUST NOT hold lock on "
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {v1, v0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
throw v1
.line 4
:cond_1
:goto_0
iget-object v0, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
monitor-enter v0
.line 5
:try_start_0
iget-boolean v1, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->closed:Z
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
if-eqz v1, :cond_2
monitor-exit v0
return-void
.line 6
:cond_2
:try_start_1
iget-object v1, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {v1}, Lokhttp3/internal/http2/Http2Stream;->getErrorCode$okhttp()Lokhttp3/internal/http2/ErrorCode;
move-result-object v1
const/4 v2, 0x0
const/4 v3, 0x1
if-nez v1, :cond_3
move v1, v3
goto :goto_1
:cond_3
move v1, v2
.line 7
:goto_1
sget-object v4, Lkotlin/d1;->a:Lkotlin/d1;
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_1
.line 8
monitor-exit v0
.line 9
iget-object v0, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {v0}, Lokhttp3/internal/http2/Http2Stream;->getSink$okhttp()Lokhttp3/internal/http2/Http2Stream$FramingSink;
move-result-object v0
iget-boolean v0, v0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->finished:Z
if-nez v0, :cond_9
.line 10
iget-object v0, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->sendBuffer:Lzj/m;
invoke-virtual {v0}, Lzj/m;->size()J
move-result-wide v4
const-wide/16 v6, 0x0
cmp-long v0, v4, v6
if-lez v0, :cond_4
move v0, v3
goto :goto_2
:cond_4
move v0, v2
.line 11
:goto_2
iget-object v4, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->trailers:Lokhttp3/Headers;
if-eqz v4, :cond_5
move v4, v3
goto :goto_3
:cond_5
move v4, v2
:goto_3
if-eqz v4, :cond_7
.line 12
:goto_4
iget-object v0, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->sendBuffer:Lzj/m;
invoke-virtual {v0}, Lzj/m;->size()J
move-result-wide v4
cmp-long v0, v4, v6
if-lez v0, :cond_6
.line 13
invoke-direct {p0, v2}, Lokhttp3/internal/http2/Http2Stream$FramingSink;->emitFrame(Z)V
goto :goto_4
.line 14
:cond_6
iget-object v0, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {v0}, Lokhttp3/internal/http2/Http2Stream;->getConnection()Lokhttp3/internal/http2/Http2Connection;
move-result-object v0
iget-object v2, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {v2}, Lokhttp3/internal/http2/Http2Stream;->getId()I
move-result v2
iget-object v4, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->trailers:Lokhttp3/Headers;
invoke-static {v4}, Lkotlin/jvm/internal/f0;->m(Ljava/lang/Object;)V
invoke-static {v4}, Lokhttp3/internal/Util;->toHeaderList(Lokhttp3/Headers;)Ljava/util/List;
move-result-object v4
invoke-virtual {v0, v2, v1, v4}, Lokhttp3/internal/http2/Http2Connection;->writeHeaders$okhttp(IZLjava/util/List;)V
goto :goto_6
:cond_7
if-eqz v0, :cond_8
.line 15
:goto_5
iget-object v0, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->sendBuffer:Lzj/m;
invoke-virtual {v0}, Lzj/m;->size()J
move-result-wide v0
cmp-long v0, v0, v6
if-lez v0, :cond_9
.line 16
invoke-direct {p0, v3}, Lokhttp3/internal/http2/Http2Stream$FramingSink;->emitFrame(Z)V
goto :goto_5
:cond_8
if-eqz v1, :cond_9
.line 17
iget-object v0, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {v0}, Lokhttp3/internal/http2/Http2Stream;->getConnection()Lokhttp3/internal/http2/Http2Connection;
move-result-object v4
iget-object v0, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {v0}, Lokhttp3/internal/http2/Http2Stream;->getId()I
move-result v5
const/4 v6, 0x1
const/4 v7, 0x0
const-wide/16 v8, 0x0
invoke-virtual/range {v4 .. v9}, Lokhttp3/internal/http2/Http2Connection;->writeData(IZLzj/m;J)V
.line 18
:cond_9
:goto_6
iget-object v0, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
monitor-enter v0
.line 19
:try_start_2
iput-boolean v3, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->closed:Z
.line 20
sget-object v1, Lkotlin/d1;->a:Lkotlin/d1;
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
.line 21
monitor-exit v0
.line 22
iget-object v0, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {v0}, Lokhttp3/internal/http2/Http2Stream;->getConnection()Lokhttp3/internal/http2/Http2Connection;
move-result-object v0
invoke-virtual {v0}, Lokhttp3/internal/http2/Http2Connection;->flush()V
.line 23
iget-object v0, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {v0}, Lokhttp3/internal/http2/Http2Stream;->cancelStreamIfNecessary$okhttp()V
return-void
:catchall_0
move-exception v1
.line 24
monitor-exit v0
throw v1
:catchall_1
move-exception v1
.line 25
monitor-exit v0
throw v1
.end method
.method public flush()V
.locals 5
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
.line 2
sget-boolean v1, Lokhttp3/internal/Util;->assertionsEnabled:Z
if-eqz v1, :cond_1
invoke-static {v0}, Ljava/lang/Thread;->holdsLock(Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_0
goto :goto_0
.line 3
:cond_0
new-instance v1, Ljava/lang/AssertionError;
const-string v2, "Thread "
invoke-static {v2}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v2
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
move-result-object v3
const-string v4, "Thread.currentThread()"
invoke-static {v3, v4}, Lkotlin/jvm/internal/f0;->o(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v3}, Ljava/lang/Thread;->getName()Ljava/lang/String;
move-result-object v3
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v3, " MUST NOT hold lock on "
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {v1, v0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
throw v1
.line 4
:cond_1
:goto_0
iget-object v0, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
monitor-enter v0
.line 5
:try_start_0
iget-object v1, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {v1}, Lokhttp3/internal/http2/Http2Stream;->checkOutNotClosed$okhttp()V
.line 6
sget-object v1, Lkotlin/d1;->a:Lkotlin/d1;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 7
monitor-exit v0
.line 8
:goto_1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->sendBuffer:Lzj/m;
invoke-virtual {v0}, Lzj/m;->size()J
move-result-wide v0
const-wide/16 v2, 0x0
cmp-long v0, v0, v2
if-lez v0, :cond_2
const/4 v0, 0x0
.line 9
invoke-direct {p0, v0}, Lokhttp3/internal/http2/Http2Stream$FramingSink;->emitFrame(Z)V
.line 10
iget-object v0, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {v0}, Lokhttp3/internal/http2/Http2Stream;->getConnection()Lokhttp3/internal/http2/Http2Connection;
move-result-object v0
invoke-virtual {v0}, Lokhttp3/internal/http2/Http2Connection;->flush()V
goto :goto_1
:cond_2
return-void
:catchall_0
move-exception v1
.line 11
monitor-exit v0
throw v1
.end method
.method public final getClosed()Z
.locals 1
.line 1
iget-boolean v0, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->closed:Z
return v0
.end method
.method public final getFinished()Z
.locals 1
.line 1
iget-boolean v0, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->finished:Z
return v0
.end method
.method public final getTrailers()Lokhttp3/Headers;
.locals 1
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->trailers:Lokhttp3/Headers;
return-object v0
.end method
.method public final setClosed(Z)V
.locals 0
.line 1
iput-boolean p1, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->closed:Z
return-void
.end method
.method public final setFinished(Z)V
.locals 0
.line 1
iput-boolean p1, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->finished:Z
return-void
.end method
.method public final setTrailers(Lokhttp3/Headers;)V
.locals 0
.param p1 # Lokhttp3/Headers;
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.end param
.line 1
iput-object p1, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->trailers:Lokhttp3/Headers;
return-void
.end method
.method public timeout()Lzj/o0;
.locals 1
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {v0}, Lokhttp3/internal/http2/Http2Stream;->getWriteTimeout$okhttp()Lokhttp3/internal/http2/Http2Stream$StreamTimeout;
move-result-object v0
return-object v0
.end method
.method public write(Lzj/m;J)V
.locals 2
.param p1 # Lzj/m;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const-string v0, "source"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->this$0:Lokhttp3/internal/http2/Http2Stream;
.line 2
sget-boolean v1, Lokhttp3/internal/Util;->assertionsEnabled:Z
if-eqz v1, :cond_1
invoke-static {v0}, Ljava/lang/Thread;->holdsLock(Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_0
goto :goto_0
.line 3
:cond_0
new-instance p1, Ljava/lang/AssertionError;
const-string p2, "Thread "
invoke-static {p2}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object p2
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
move-result-object p3
const-string v1, "Thread.currentThread()"
invoke-static {p3, v1}, Lkotlin/jvm/internal/f0;->o(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p3}, Ljava/lang/Thread;->getName()Ljava/lang/String;
move-result-object p3
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p3, " MUST NOT hold lock on "
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {p1, p2}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
throw p1
.line 4
:cond_1
:goto_0
iget-object v0, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->sendBuffer:Lzj/m;
invoke-virtual {v0, p1, p2, p3}, Lzj/m;->write(Lzj/m;J)V
.line 5
:goto_1
iget-object p1, p0, Lokhttp3/internal/http2/Http2Stream$FramingSink;->sendBuffer:Lzj/m;
invoke-virtual {p1}, Lzj/m;->size()J
move-result-wide p1
const-wide/16 v0, 0x4000
cmp-long p1, p1, v0
if-ltz p1, :cond_2
const/4 p1, 0x0
.line 6
invoke-direct {p0, p1}, Lokhttp3/internal/http2/Http2Stream$FramingSink;->emitFrame(Z)V
goto :goto_1
:cond_2
return-void
.end method
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,138 @@
.class public final Lokhttp3/internal/http2/Http2Stream$StreamTimeout;
.super Lzj/k;
.source "Http2Stream.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/internal/http2/Http2Stream;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x11
name = "StreamTimeout"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {}
d1 = {
"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0006\u0008\u0080\u0004\u0018\u00002\u00020\u0001B\u0007\u00a2\u0006\u0004\u0008\u0008\u0010\tJ\u0008\u0010\u0003\u001a\u00020\u0002H\u0014J\u0012\u0010\u0006\u001a\u00020\u00042\u0008\u0010\u0005\u001a\u0004\u0018\u00010\u0004H\u0014J\u0006\u0010\u0007\u001a\u00020\u0002\u00a8\u0006\n"
}
d2 = {
"Lokhttp3/internal/http2/Http2Stream$StreamTimeout;",
"Lzj/k;",
"Lkotlin/d1;",
"timedOut",
"Ljava/io/IOException;",
"cause",
"newTimeoutException",
"exitAndThrowIfTimedOut",
"<init>",
"(Lokhttp3/internal/http2/Http2Stream;)V",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field public final synthetic this$0:Lokhttp3/internal/http2/Http2Stream;
# direct methods
.method public constructor <init>(Lokhttp3/internal/http2/Http2Stream;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
.line 1
iput-object p1, p0, Lokhttp3/internal/http2/Http2Stream$StreamTimeout;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-direct {p0}, Lzj/k;-><init>()V
return-void
.end method
# virtual methods
.method public final exitAndThrowIfTimedOut()V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 1
invoke-virtual {p0}, Lzj/k;->exit()Z
move-result v0
if-nez v0, :cond_0
return-void
:cond_0
const/4 v0, 0x0
invoke-virtual {p0, v0}, Lokhttp3/internal/http2/Http2Stream$StreamTimeout;->newTimeoutException(Ljava/io/IOException;)Ljava/io/IOException;
move-result-object v0
throw v0
.end method
.method public newTimeoutException(Ljava/io/IOException;)Ljava/io/IOException;
.locals 2
.param p1 # Ljava/io/IOException;
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.end param
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
new-instance v0, Ljava/net/SocketTimeoutException;
const-string v1, "timeout"
invoke-direct {v0, v1}, Ljava/net/SocketTimeoutException;-><init>(Ljava/lang/String;)V
if-eqz p1, :cond_0
.line 2
invoke-virtual {v0, p1}, Ljava/net/SocketTimeoutException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
:cond_0
return-object v0
.end method
.method public timedOut()V
.locals 2
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Stream$StreamTimeout;->this$0:Lokhttp3/internal/http2/Http2Stream;
sget-object v1, Lokhttp3/internal/http2/ErrorCode;->CANCEL:Lokhttp3/internal/http2/ErrorCode;
invoke-virtual {v0, v1}, Lokhttp3/internal/http2/Http2Stream;->closeLater(Lokhttp3/internal/http2/ErrorCode;)V
.line 2
iget-object v0, p0, Lokhttp3/internal/http2/Http2Stream$StreamTimeout;->this$0:Lokhttp3/internal/http2/Http2Stream;
invoke-virtual {v0}, Lokhttp3/internal/http2/Http2Stream;->getConnection()Lokhttp3/internal/http2/Http2Connection;
move-result-object v0
invoke-virtual {v0}, Lokhttp3/internal/http2/Http2Connection;->sendDegradedPingLater$okhttp()V
return-void
.end method
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,60 @@
.class public final Lokhttp3/internal/http2/Http2Writer$Companion;
.super Ljava/lang/Object;
.source "Http2Writer.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/internal/http2/Http2Writer;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Companion"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\u0008\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002R\u0016\u0010\u0003\u001a\n \u0005*\u0004\u0018\u00010\u00040\u0004X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0006"
}
d2 = {
"Lokhttp3/internal/http2/Http2Writer$Companion;",
"",
"()V",
"logger",
"Ljava/util/logging/Logger;",
"kotlin.jvm.PlatformType",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/u;)V
.locals 0
.line 2
invoke-direct {p0}, Lokhttp3/internal/http2/Http2Writer$Companion;-><init>()V
return-void
.end method
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,143 @@
.class final Lokhttp3/internal/http2/Huffman$Node;
.super Ljava/lang/Object;
.source "Huffman.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/internal/http2/Huffman;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Node"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0003\n\u0002\u0010\u0011\n\u0002\u0008\u0008\u0008\u0002\u0018\u00002\u00020\u0001B\u0007\u0008\u0016\u00a2\u0006\u0002\u0010\u0002B\u0017\u0008\u0016\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u0012\u0006\u0010\u0005\u001a\u00020\u0004\u00a2\u0006\u0002\u0010\u0006R\u001d\u0010\u0007\u001a\u000c\u0012\u0006\u0012\u0004\u0018\u00010\u0000\u0018\u00010\u0008\u00a2\u0006\n\n\u0002\u0010\u000b\u001a\u0004\u0008\t\u0010\nR\u0011\u0010\u0003\u001a\u00020\u0004\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u000c\u0010\rR\u0011\u0010\u000e\u001a\u00020\u0004\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u000f\u0010\r\u00a8\u0006\u0010"
}
d2 = {
"Lokhttp3/internal/http2/Huffman$Node;",
"",
"()V",
"symbol",
"",
"bits",
"(II)V",
"children",
"",
"getChildren",
"()[Lokhttp3/internal/http2/Huffman$Node;",
"[Lokhttp3/internal/http2/Huffman$Node;",
"getSymbol",
"()I",
"terminalBitCount",
"getTerminalBitCount",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field private final children:[Lokhttp3/internal/http2/Huffman$Node;
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.end field
.field private final symbol:I
.field private final terminalBitCount:I
# direct methods
.method public constructor <init>()V
.locals 1
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/16 v0, 0x100
new-array v0, v0, [Lokhttp3/internal/http2/Huffman$Node;
iput-object v0, p0, Lokhttp3/internal/http2/Huffman$Node;->children:[Lokhttp3/internal/http2/Huffman$Node;
const/4 v0, 0x0
.line 2
iput v0, p0, Lokhttp3/internal/http2/Huffman$Node;->symbol:I
.line 3
iput v0, p0, Lokhttp3/internal/http2/Huffman$Node;->terminalBitCount:I
return-void
.end method
.method public constructor <init>(II)V
.locals 1
.line 4
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
iput-object v0, p0, Lokhttp3/internal/http2/Huffman$Node;->children:[Lokhttp3/internal/http2/Huffman$Node;
.line 5
iput p1, p0, Lokhttp3/internal/http2/Huffman$Node;->symbol:I
and-int/lit8 p1, p2, 0x7
if-nez p1, :cond_0
const/16 p1, 0x8
.line 6
:cond_0
iput p1, p0, Lokhttp3/internal/http2/Huffman$Node;->terminalBitCount:I
return-void
.end method
# virtual methods
.method public final getChildren()[Lokhttp3/internal/http2/Huffman$Node;
.locals 1
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Huffman$Node;->children:[Lokhttp3/internal/http2/Huffman$Node;
return-object v0
.end method
.method public final getSymbol()I
.locals 1
.line 1
iget v0, p0, Lokhttp3/internal/http2/Huffman$Node;->symbol:I
return v0
.end method
.method public final getTerminalBitCount()I
.locals 1
.line 1
iget v0, p0, Lokhttp3/internal/http2/Huffman$Node;->terminalBitCount:I
return v0
.end method
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,156 @@
.class final Lokhttp3/internal/http2/PushObserver$Companion$PushObserverCancel;
.super Ljava/lang/Object;
.source "PushObserver.kt"
# interfaces
.implements Lokhttp3/internal/http2/PushObserver;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/internal/http2/PushObserver$Companion;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "PushObserverCancel"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {}
d1 = {
"\u00006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0008\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0004\u0008\u0002\u0018\u00002\u00020\u0001B\u0007\u00a2\u0006\u0004\u0008\u0014\u0010\u0015J\u001e\u0010\u0008\u001a\u00020\u00072\u0006\u0010\u0003\u001a\u00020\u00022\u000c\u0010\u0006\u001a\u0008\u0012\u0004\u0012\u00020\u00050\u0004H\u0016J&\u0010\u000b\u001a\u00020\u00072\u0006\u0010\u0003\u001a\u00020\u00022\u000c\u0010\t\u001a\u0008\u0012\u0004\u0012\u00020\u00050\u00042\u0006\u0010\n\u001a\u00020\u0007H\u0016J(\u0010\u000f\u001a\u00020\u00072\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\r\u001a\u00020\u000c2\u0006\u0010\u000e\u001a\u00020\u00022\u0006\u0010\n\u001a\u00020\u0007H\u0016J\u0018\u0010\u0013\u001a\u00020\u00122\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0011\u001a\u00020\u0010H\u0016\u00a8\u0006\u0016"
}
d2 = {
"Lokhttp3/internal/http2/PushObserver$Companion$PushObserverCancel;",
"Lokhttp3/internal/http2/PushObserver;",
"",
"streamId",
"",
"Lokhttp3/internal/http2/Header;",
"requestHeaders",
"",
"onRequest",
"responseHeaders",
"last",
"onHeaders",
"Lzj/o;",
"source",
"byteCount",
"onData",
"Lokhttp3/internal/http2/ErrorCode;",
"errorCode",
"Lkotlin/d1;",
"onReset",
"<init>",
"()V",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onData(ILzj/o;IZ)Z
.locals 0
.param p2 # Lzj/o;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const-string p1, "source"
invoke-static {p2, p1}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
int-to-long p3, p3
.line 1
invoke-interface {p2, p3, p4}, Lzj/o;->skip(J)V
const/4 p1, 0x1
return p1
.end method
.method public onHeaders(ILjava/util/List;Z)Z
.locals 0
.param p2 # Ljava/util/List;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Ljava/util/List<",
"Lokhttp3/internal/http2/Header;",
">;Z)Z"
}
.end annotation
const-string p1, "responseHeaders"
invoke-static {p2, p1}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
const/4 p1, 0x1
return p1
.end method
.method public onRequest(ILjava/util/List;)Z
.locals 0
.param p2 # Ljava/util/List;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Ljava/util/List<",
"Lokhttp3/internal/http2/Header;",
">;)Z"
}
.end annotation
const-string p1, "requestHeaders"
invoke-static {p2, p1}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
const/4 p1, 0x1
return p1
.end method
.method public onReset(ILokhttp3/internal/http2/ErrorCode;)V
.locals 0
.param p2 # Lokhttp3/internal/http2/ErrorCode;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
const-string p1, "errorCode"
invoke-static {p2, p1}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
return-void
.end method
@@ -0,0 +1,70 @@
.class public final Lokhttp3/internal/http2/PushObserver$Companion;
.super Ljava/lang/Object;
.source "PushObserver.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/internal/http2/PushObserver;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Companion"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lokhttp3/internal/http2/PushObserver$Companion$PushObserverCancel;
}
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\u0008\u0086\u0003\u0018\u00002\u00020\u0001:\u0001\u0005B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002R\u0016\u0010\u0003\u001a\u00020\u00048\u0006X\u0087\u0004\u00f8\u0001\u0000\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0001\u0082\u0002\u0007\n\u0005\u0008\u0091F0\u0001\u00a8\u0006\u0006"
}
d2 = {
"Lokhttp3/internal/http2/PushObserver$Companion;",
"",
"()V",
"CANCEL",
"Lokhttp3/internal/http2/PushObserver;",
"PushObserverCancel",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# static fields
.field public static final synthetic $$INSTANCE:Lokhttp3/internal/http2/PushObserver$Companion;
# direct methods
.method private constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/u;)V
.locals 0
.line 2
invoke-direct {p0}, Lokhttp3/internal/http2/PushObserver$Companion;-><init>()V
return-void
.end method
@@ -0,0 +1,134 @@
.class public interface abstract Lokhttp3/internal/http2/PushObserver;
.super Ljava/lang/Object;
.source "PushObserver.kt"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lokhttp3/internal/http2/PushObserver$Companion;
}
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {}
d1 = {
"\u00006\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u0008\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0003\u0008f\u0018\u0000 \u00142\u00020\u0001:\u0001\u0014J\u001e\u0010\u0008\u001a\u00020\u00072\u0006\u0010\u0003\u001a\u00020\u00022\u000c\u0010\u0006\u001a\u0008\u0012\u0004\u0012\u00020\u00050\u0004H&J&\u0010\u000b\u001a\u00020\u00072\u0006\u0010\u0003\u001a\u00020\u00022\u000c\u0010\t\u001a\u0008\u0012\u0004\u0012\u00020\u00050\u00042\u0006\u0010\n\u001a\u00020\u0007H&J(\u0010\u000f\u001a\u00020\u00072\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\r\u001a\u00020\u000c2\u0006\u0010\u000e\u001a\u00020\u00022\u0006\u0010\n\u001a\u00020\u0007H&J\u0018\u0010\u0013\u001a\u00020\u00122\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0011\u001a\u00020\u0010H&\u00a8\u0006\u0015"
}
d2 = {
"Lokhttp3/internal/http2/PushObserver;",
"",
"",
"streamId",
"",
"Lokhttp3/internal/http2/Header;",
"requestHeaders",
"",
"onRequest",
"responseHeaders",
"last",
"onHeaders",
"Lzj/o;",
"source",
"byteCount",
"onData",
"Lokhttp3/internal/http2/ErrorCode;",
"errorCode",
"Lkotlin/d1;",
"onReset",
"Companion",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# static fields
.field public static final CANCEL:Lokhttp3/internal/http2/PushObserver;
.annotation build Lkotlin/jvm/JvmField;
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field public static final Companion:Lokhttp3/internal/http2/PushObserver$Companion;
# direct methods
.method public static constructor <clinit>()V
.locals 2
new-instance v0, Lokhttp3/internal/http2/PushObserver$Companion;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lokhttp3/internal/http2/PushObserver$Companion;-><init>(Lkotlin/jvm/internal/u;)V
sput-object v0, Lokhttp3/internal/http2/PushObserver;->Companion:Lokhttp3/internal/http2/PushObserver$Companion;
.line 1
new-instance v0, Lokhttp3/internal/http2/PushObserver$Companion$PushObserverCancel;
invoke-direct {v0}, Lokhttp3/internal/http2/PushObserver$Companion$PushObserverCancel;-><init>()V
sput-object v0, Lokhttp3/internal/http2/PushObserver;->CANCEL:Lokhttp3/internal/http2/PushObserver;
return-void
.end method
# virtual methods
.method public abstract onData(ILzj/o;IZ)Z
.param p2 # Lzj/o;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract onHeaders(ILjava/util/List;Z)Z
.param p2 # Ljava/util/List;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Ljava/util/List<",
"Lokhttp3/internal/http2/Header;",
">;Z)Z"
}
.end annotation
.end method
.method public abstract onRequest(ILjava/util/List;)Z
.param p2 # Ljava/util/List;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Ljava/util/List<",
"Lokhttp3/internal/http2/Header;",
">;)Z"
}
.end annotation
.end method
.method public abstract onReset(ILokhttp3/internal/http2/ErrorCode;)V
.param p2 # Lokhttp3/internal/http2/ErrorCode;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.end method
@@ -0,0 +1,66 @@
.class public final Lokhttp3/internal/http2/Settings$Companion;
.super Ljava/lang/Object;
.source "Settings.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/internal/http2/Settings;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Companion"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0008\u0008\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002R\u000e\u0010\u0003\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0006\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0007\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0008\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\t\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\n\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u000b\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u000c"
}
d2 = {
"Lokhttp3/internal/http2/Settings$Companion;",
"",
"()V",
"COUNT",
"",
"DEFAULT_INITIAL_WINDOW_SIZE",
"ENABLE_PUSH",
"HEADER_TABLE_SIZE",
"INITIAL_WINDOW_SIZE",
"MAX_CONCURRENT_STREAMS",
"MAX_FRAME_SIZE",
"MAX_HEADER_LIST_SIZE",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/u;)V
.locals 0
.line 2
invoke-direct {p0}, Lokhttp3/internal/http2/Settings$Companion;-><init>()V
return-void
.end method
@@ -0,0 +1,418 @@
.class public final Lokhttp3/internal/http2/Settings;
.super Ljava/lang/Object;
.source "Settings.kt"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lokhttp3/internal/http2/Settings$Companion;
}
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {}
d1 = {
"\u0000&\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u0003\n\u0002\u0010\u000b\n\u0002\u0008\u000b\n\u0002\u0010\u0015\n\u0002\u0008\u000b\u0018\u0000 \u001e2\u00020\u0001:\u0001\u001eB\u0007\u00a2\u0006\u0004\u0008\u001c\u0010\u001dJ\u0006\u0010\u0003\u001a\u00020\u0002J\u0019\u0010\u0007\u001a\u00020\u00002\u0006\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0006\u001a\u00020\u0004H\u0086\u0002J\u000e\u0010\t\u001a\u00020\u00082\u0006\u0010\u0005\u001a\u00020\u0004J\u0011\u0010\n\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u0004H\u0086\u0002J\u0006\u0010\u000b\u001a\u00020\u0004J\u000e\u0010\r\u001a\u00020\u00082\u0006\u0010\u000c\u001a\u00020\u0008J\u0006\u0010\u000e\u001a\u00020\u0004J\u000e\u0010\u000f\u001a\u00020\u00042\u0006\u0010\u000c\u001a\u00020\u0004J\u000e\u0010\u0010\u001a\u00020\u00042\u0006\u0010\u000c\u001a\u00020\u0004J\u000e\u0010\u0012\u001a\u00020\u00022\u0006\u0010\u0011\u001a\u00020\u0000R\u0016\u0010\u0007\u001a\u00020\u00048\u0002@\u0002X\u0082\u000e\u00a2\u0006\u0006\n\u0004\u0008\u0007\u0010\u0013R\u0014\u0010\u0015\u001a\u00020\u00148\u0002X\u0082\u0004\u00a2\u0006\u0006\n\u0004\u0008\u0015\u0010\u0016R\u0011\u0010\u0019\u001a\u00020\u00048F\u00a2\u0006\u0006\u001a\u0004\u0008\u0017\u0010\u0018R\u0011\u0010\u001b\u001a\u00020\u00048F\u00a2\u0006\u0006\u001a\u0004\u0008\u001a\u0010\u0018\u00a8\u0006\u001f"
}
d2 = {
"Lokhttp3/internal/http2/Settings;",
"",
"Lkotlin/d1;",
"clear",
"",
"id",
"value",
"set",
"",
"isSet",
"get",
"size",
"defaultValue",
"getEnablePush",
"getMaxConcurrentStreams",
"getMaxFrameSize",
"getMaxHeaderListSize",
"other",
"merge",
"I",
"",
"values",
"[I",
"getHeaderTableSize",
"()I",
"headerTableSize",
"getInitialWindowSize",
"initialWindowSize",
"<init>",
"()V",
"Companion",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# static fields
.field public static final COUNT:I = 0xa
.field public static final Companion:Lokhttp3/internal/http2/Settings$Companion;
.field public static final DEFAULT_INITIAL_WINDOW_SIZE:I = 0xffff
.field public static final ENABLE_PUSH:I = 0x2
.field public static final HEADER_TABLE_SIZE:I = 0x1
.field public static final INITIAL_WINDOW_SIZE:I = 0x7
.field public static final MAX_CONCURRENT_STREAMS:I = 0x4
.field public static final MAX_FRAME_SIZE:I = 0x5
.field public static final MAX_HEADER_LIST_SIZE:I = 0x6
# instance fields
.field private set:I
.field private final values:[I
# direct methods
.method public static constructor <clinit>()V
.locals 2
new-instance v0, Lokhttp3/internal/http2/Settings$Companion;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lokhttp3/internal/http2/Settings$Companion;-><init>(Lkotlin/jvm/internal/u;)V
sput-object v0, Lokhttp3/internal/http2/Settings;->Companion:Lokhttp3/internal/http2/Settings$Companion;
return-void
.end method
.method public constructor <init>()V
.locals 1
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/16 v0, 0xa
new-array v0, v0, [I
.line 2
iput-object v0, p0, Lokhttp3/internal/http2/Settings;->values:[I
return-void
.end method
# virtual methods
.method public final clear()V
.locals 7
const/4 v0, 0x0
.line 1
iput v0, p0, Lokhttp3/internal/http2/Settings;->set:I
.line 2
iget-object v1, p0, Lokhttp3/internal/http2/Settings;->values:[I
const/4 v2, 0x0
const/4 v3, 0x0
const/4 v4, 0x0
const/4 v5, 0x6
const/4 v6, 0x0
invoke-static/range {v1 .. v6}, Lkotlin/collections/n;->u2([IIIIILjava/lang/Object;)V
return-void
.end method
.method public final get(I)I
.locals 1
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Settings;->values:[I
aget p1, v0, p1
return p1
.end method
.method public final getEnablePush(Z)Z
.locals 2
.line 1
iget v0, p0, Lokhttp3/internal/http2/Settings;->set:I
and-int/lit8 v0, v0, 0x4
const/4 v1, 0x1
if-eqz v0, :cond_1
iget-object p1, p0, Lokhttp3/internal/http2/Settings;->values:[I
const/4 v0, 0x2
aget p1, p1, v0
if-ne p1, v1, :cond_0
move p1, v1
goto :goto_0
:cond_0
const/4 p1, 0x0
:cond_1
:goto_0
return p1
.end method
.method public final getHeaderTableSize()I
.locals 2
.line 1
iget v0, p0, Lokhttp3/internal/http2/Settings;->set:I
and-int/lit8 v0, v0, 0x2
if-eqz v0, :cond_0
iget-object v0, p0, Lokhttp3/internal/http2/Settings;->values:[I
const/4 v1, 0x1
aget v0, v0, v1
goto :goto_0
:cond_0
const/4 v0, -0x1
:goto_0
return v0
.end method
.method public final getInitialWindowSize()I
.locals 2
.line 1
iget v0, p0, Lokhttp3/internal/http2/Settings;->set:I
and-int/lit16 v0, v0, 0x80
if-eqz v0, :cond_0
iget-object v0, p0, Lokhttp3/internal/http2/Settings;->values:[I
const/4 v1, 0x7
aget v0, v0, v1
goto :goto_0
:cond_0
const v0, 0xffff
:goto_0
return v0
.end method
.method public final getMaxConcurrentStreams()I
.locals 2
.line 1
iget v0, p0, Lokhttp3/internal/http2/Settings;->set:I
and-int/lit8 v0, v0, 0x10
if-eqz v0, :cond_0
iget-object v0, p0, Lokhttp3/internal/http2/Settings;->values:[I
const/4 v1, 0x4
aget v0, v0, v1
goto :goto_0
:cond_0
const v0, 0x7fffffff
:goto_0
return v0
.end method
.method public final getMaxFrameSize(I)I
.locals 1
.line 1
iget v0, p0, Lokhttp3/internal/http2/Settings;->set:I
and-int/lit8 v0, v0, 0x20
if-eqz v0, :cond_0
iget-object p1, p0, Lokhttp3/internal/http2/Settings;->values:[I
const/4 v0, 0x5
aget p1, p1, v0
:cond_0
return p1
.end method
.method public final getMaxHeaderListSize(I)I
.locals 1
.line 1
iget v0, p0, Lokhttp3/internal/http2/Settings;->set:I
and-int/lit8 v0, v0, 0x40
if-eqz v0, :cond_0
iget-object p1, p0, Lokhttp3/internal/http2/Settings;->values:[I
const/4 v0, 0x6
aget p1, p1, v0
:cond_0
return p1
.end method
.method public final isSet(I)Z
.locals 2
const/4 v0, 0x1
shl-int p1, v0, p1
.line 1
iget v1, p0, Lokhttp3/internal/http2/Settings;->set:I
and-int/2addr p1, v1
if-eqz p1, :cond_0
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public final merge(Lokhttp3/internal/http2/Settings;)V
.locals 2
.param p1 # Lokhttp3/internal/http2/Settings;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
const-string v0, "other"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v0, 0x0
:goto_0
const/16 v1, 0xa
if-ge v0, v1, :cond_1
.line 1
invoke-virtual {p1, v0}, Lokhttp3/internal/http2/Settings;->isSet(I)Z
move-result v1
if-nez v1, :cond_0
goto :goto_1
.line 2
:cond_0
invoke-virtual {p1, v0}, Lokhttp3/internal/http2/Settings;->get(I)I
move-result v1
invoke-virtual {p0, v0, v1}, Lokhttp3/internal/http2/Settings;->set(II)Lokhttp3/internal/http2/Settings;
:goto_1
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_1
return-void
.end method
.method public final set(II)Lokhttp3/internal/http2/Settings;
.locals 3
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
if-ltz p1, :cond_1
.line 1
iget-object v0, p0, Lokhttp3/internal/http2/Settings;->values:[I
array-length v1, v0
if-lt p1, v1, :cond_0
goto :goto_0
:cond_0
const/4 v1, 0x1
shl-int/2addr v1, p1
.line 2
iget v2, p0, Lokhttp3/internal/http2/Settings;->set:I
or-int/2addr v1, v2
iput v1, p0, Lokhttp3/internal/http2/Settings;->set:I
.line 3
aput p2, v0, p1
:cond_1
:goto_0
return-object p0
.end method
.method public final size()I
.locals 1
.line 1
iget v0, p0, Lokhttp3/internal/http2/Settings;->set:I
invoke-static {v0}, Ljava/lang/Integer;->bitCount(I)I
move-result v0
return v0
.end method
@@ -0,0 +1,75 @@
.class public final Lokhttp3/internal/http2/StreamResetException;
.super Ljava/io/IOException;
.source "StreamResetException.kt"
# annotations
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0004R\u0010\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0005"
}
d2 = {
"Lokhttp3/internal/http2/StreamResetException;",
"Ljava/io/IOException;",
"errorCode",
"Lokhttp3/internal/http2/ErrorCode;",
"(Lokhttp3/internal/http2/ErrorCode;)V",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field public final errorCode:Lokhttp3/internal/http2/ErrorCode;
.annotation build Lkotlin/jvm/JvmField;
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
# direct methods
.method public constructor <init>(Lokhttp3/internal/http2/ErrorCode;)V
.locals 2
.param p1 # Lokhttp3/internal/http2/ErrorCode;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
const-string v0, "errorCode"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "stream was reset: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p0, v0}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
iput-object p1, p0, Lokhttp3/internal/http2/StreamResetException;->errorCode:Lokhttp3/internal/http2/ErrorCode;
return-void
.end method