Rabbit-R1/android (non root)/smali/smali_classes3/okhttp3/internal/http2/Http2Connection.smali
2024-05-21 17:08:36 -04:00

2979 lines
84 KiB
Smali

.class public final Lokhttp3/internal/http2/Http2Connection;
.super Ljava/lang/Object;
.source "Http2Connection.kt"
# interfaces
.implements Ljava/io/Closeable;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lokhttp3/internal/http2/Http2Connection$Builder;,
Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;,
Lokhttp3/internal/http2/Http2Connection$Listener;,
Lokhttp3/internal/http2/Http2Connection$Companion;
}
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nHttp2Connection.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Http2Connection.kt\nokhttp3/internal/http2/Http2Connection\n+ 2 Util.kt\nokhttp3/internal/Util\n+ 3 fake.kt\nkotlin/jvm/internal/FakeKt\n+ 4 TaskQueue.kt\nokhttp3/internal/concurrent/TaskQueue\n+ 5 ArraysJVM.kt\nkotlin/collections/ArraysKt__ArraysJVMKt\n+ 6 _Arrays.kt\nkotlin/collections/ArraysKt___ArraysKt\n*L\n1#1,1006:1\n556#2:1007\n550#2:1009\n550#2:1032\n608#2,4:1033\n395#2,5:1037\n395#2,5:1045\n395#2,5:1051\n395#2,5:1056\n1#3:1008\n92#4,11:1010\n92#4,11:1021\n92#4,11:1061\n92#4,11:1072\n92#4,11:1083\n92#4,11:1094\n92#4,11:1105\n92#4,11:1116\n84#4,4:1127\n37#5,2:1042\n13416#6:1044\n13417#6:1050\n*E\n*S KotlinDebug\n*F\n+ 1 Http2Connection.kt\nokhttp3/internal/http2/Http2Connection\n*L\n183#1:1007\n319#1:1009\n402#1:1032\n446#1,4:1033\n448#1,5:1037\n461#1,5:1045\n467#1,5:1051\n472#1,5:1056\n340#1,11:1010\n361#1,11:1021\n506#1,11:1061\n554#1,11:1072\n893#1,11:1083\n911#1,11:1094\n938#1,11:1105\n952#1,11:1116\n152#1,4:1127\n455#1,2:1042\n460#1:1044\n460#1:1050\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u00b4\u0001\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\t\n\u0002\u0008\u0002\n\u0002\u0010\u000b\n\u0002\u0008\u0003\n\u0002\u0010\u000e\n\u0002\u0008\u0003\n\u0002\u0010#\n\u0002\u0010\u0008\n\u0002\u0008\u000c\n\u0002\u0018\u0002\n\u0002\u0008\u0006\n\u0002\u0018\u0002\n\u0002\u0008\u0007\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0007\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010%\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0010\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u000b\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0018\u0002\n\u0002\u0008\u001d\n\u0002\u0018\u0002\n\u0002\u0008\u0014\u0018\u0000 \u0099\u00012\u00020\u0001:\u0008\u0098\u0001\u0099\u0001\u009a\u0001\u009b\u0001B\u000f\u0008\u0000\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0004J\u0006\u0010P\u001a\u00020QJ\u0008\u0010R\u001a\u00020QH\u0016J\'\u0010R\u001a\u00020Q2\u0006\u0010S\u001a\u00020T2\u0006\u0010U\u001a\u00020T2\u0008\u0010V\u001a\u0004\u0018\u00010WH\u0000\u00a2\u0006\u0002\u0008XJ\u0012\u0010Y\u001a\u00020Q2\u0008\u0010Z\u001a\u0004\u0018\u00010WH\u0002J\u0006\u0010[\u001a\u00020QJ\u0010\u0010\\\u001a\u0004\u0018\u00010B2\u0006\u0010]\u001a\u00020\u0012J\u000e\u0010^\u001a\u00020\t2\u0006\u0010_\u001a\u00020\u0006J&\u0010`\u001a\u00020B2\u0006\u0010a\u001a\u00020\u00122\u000c\u0010b\u001a\u0008\u0012\u0004\u0012\u00020d0c2\u0006\u0010e\u001a\u00020\tH\u0002J\u001c\u0010`\u001a\u00020B2\u000c\u0010b\u001a\u0008\u0012\u0004\u0012\u00020d0c2\u0006\u0010e\u001a\u00020\tJ\u0006\u0010f\u001a\u00020\u0012J-\u0010g\u001a\u00020Q2\u0006\u0010h\u001a\u00020\u00122\u0006\u0010i\u001a\u00020j2\u0006\u0010k\u001a\u00020\u00122\u0006\u0010l\u001a\u00020\tH\u0000\u00a2\u0006\u0002\u0008mJ+\u0010n\u001a\u00020Q2\u0006\u0010h\u001a\u00020\u00122\u000c\u0010b\u001a\u0008\u0012\u0004\u0012\u00020d0c2\u0006\u0010l\u001a\u00020\tH\u0000\u00a2\u0006\u0002\u0008oJ#\u0010p\u001a\u00020Q2\u0006\u0010h\u001a\u00020\u00122\u000c\u0010b\u001a\u0008\u0012\u0004\u0012\u00020d0cH\u0000\u00a2\u0006\u0002\u0008qJ\u001d\u0010r\u001a\u00020Q2\u0006\u0010h\u001a\u00020\u00122\u0006\u0010s\u001a\u00020TH\u0000\u00a2\u0006\u0002\u0008tJ$\u0010u\u001a\u00020B2\u0006\u0010a\u001a\u00020\u00122\u000c\u0010b\u001a\u0008\u0012\u0004\u0012\u00020d0c2\u0006\u0010e\u001a\u00020\tJ\u0015\u0010v\u001a\u00020\t2\u0006\u0010h\u001a\u00020\u0012H\u0000\u00a2\u0006\u0002\u0008wJ\u0017\u0010x\u001a\u0004\u0018\u00010B2\u0006\u0010h\u001a\u00020\u0012H\u0000\u00a2\u0006\u0002\u0008yJ\r\u0010z\u001a\u00020QH\u0000\u00a2\u0006\u0002\u0008{J\u000e\u0010|\u001a\u00020Q2\u0006\u0010}\u001a\u00020&J\u000e\u0010~\u001a\u00020Q2\u0006\u0010\u007f\u001a\u00020TJ\u001e\u0010\u0080\u0001\u001a\u00020Q2\t\u0008\u0002\u0010\u0081\u0001\u001a\u00020\t2\u0008\u0008\u0002\u0010E\u001a\u00020FH\u0007J\u0018\u0010\u0082\u0001\u001a\u00020Q2\u0007\u0010\u0083\u0001\u001a\u00020\u0006H\u0000\u00a2\u0006\u0003\u0008\u0084\u0001J,\u0010\u0085\u0001\u001a\u00020Q2\u0006\u0010h\u001a\u00020\u00122\u0007\u0010\u0086\u0001\u001a\u00020\t2\n\u0010\u0087\u0001\u001a\u0005\u0018\u00010\u0088\u00012\u0006\u0010k\u001a\u00020\u0006J/\u0010\u0089\u0001\u001a\u00020Q2\u0006\u0010h\u001a\u00020\u00122\u0007\u0010\u0086\u0001\u001a\u00020\t2\r\u0010\u008a\u0001\u001a\u0008\u0012\u0004\u0012\u00020d0cH\u0000\u00a2\u0006\u0003\u0008\u008b\u0001J\u0007\u0010\u008c\u0001\u001a\u00020QJ\"\u0010\u008c\u0001\u001a\u00020Q2\u0007\u0010\u008d\u0001\u001a\u00020\t2\u0007\u0010\u008e\u0001\u001a\u00020\u00122\u0007\u0010\u008f\u0001\u001a\u00020\u0012J\u0007\u0010\u0090\u0001\u001a\u00020QJ\u001f\u0010\u0091\u0001\u001a\u00020Q2\u0006\u0010h\u001a\u00020\u00122\u0006\u0010\u007f\u001a\u00020TH\u0000\u00a2\u0006\u0003\u0008\u0092\u0001J\u001f\u0010\u0093\u0001\u001a\u00020Q2\u0006\u0010h\u001a\u00020\u00122\u0006\u0010s\u001a\u00020TH\u0000\u00a2\u0006\u0003\u0008\u0094\u0001J \u0010\u0095\u0001\u001a\u00020Q2\u0006\u0010h\u001a\u00020\u00122\u0007\u0010\u0096\u0001\u001a\u00020\u0006H\u0000\u00a2\u0006\u0003\u0008\u0097\u0001R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0007\u001a\u00020\u0006X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u0008\u001a\u00020\tX\u0080\u0004\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\n\u0010\u000bR\u0014\u0010\u000c\u001a\u00020\rX\u0080\u0004\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u000e\u0010\u000fR\u0014\u0010\u0010\u001a\u0008\u0012\u0004\u0012\u00020\u00120\u0011X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0013\u001a\u00020\u0006X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0014\u001a\u00020\u0006X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0015\u001a\u00020\u0006X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0016\u001a\u00020\u0006X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0017\u001a\u00020\u0006X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0018\u001a\u00020\tX\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u001a\u0010\u0019\u001a\u00020\u0012X\u0080\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008\u001a\u0010\u001b\"\u0004\u0008\u001c\u0010\u001dR\u0014\u0010\u001e\u001a\u00020\u001fX\u0080\u0004\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008 \u0010!R\u001a\u0010\"\u001a\u00020\u0012X\u0080\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008#\u0010\u001b\"\u0004\u0008$\u0010\u001dR\u0011\u0010%\u001a\u00020&\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\'\u0010(R\u001a\u0010)\u001a\u00020&X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008*\u0010(\"\u0004\u0008+\u0010,R\u000e\u0010-\u001a\u00020.X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010/\u001a\u000200X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u001e\u00102\u001a\u00020\u00062\u0006\u00101\u001a\u00020\u0006@BX\u0086\u000e\u00a2\u0006\u0008\n\u0000\u001a\u0004\u00083\u00104R\u001e\u00105\u001a\u00020\u00062\u0006\u00101\u001a\u00020\u0006@BX\u0086\u000e\u00a2\u0006\u0008\n\u0000\u001a\u0004\u00086\u00104R\u0015\u00107\u001a\u000608R\u00020\u0000\u00a2\u0006\u0008\n\u0000\u001a\u0004\u00089\u0010:R\u000e\u0010;\u001a\u000200X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0014\u0010<\u001a\u00020=X\u0080\u0004\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008>\u0010?R \u0010@\u001a\u000e\u0012\u0004\u0012\u00020\u0012\u0012\u0004\u0012\u00020B0AX\u0080\u0004\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008C\u0010DR\u000e\u0010E\u001a\u00020FX\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u001e\u0010G\u001a\u00020\u00062\u0006\u00101\u001a\u00020\u0006@BX\u0086\u000e\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008H\u00104R\u001e\u0010I\u001a\u00020\u00062\u0006\u00101\u001a\u00020\u0006@BX\u0086\u000e\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008J\u00104R\u0011\u0010K\u001a\u00020L\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008M\u0010NR\u000e\u0010O\u001a\u000200X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u009c\u0001"
}
d2 = {
"Lokhttp3/internal/http2/Http2Connection;",
"Ljava/io/Closeable;",
"builder",
"Lokhttp3/internal/http2/Http2Connection$Builder;",
"(Lokhttp3/internal/http2/Http2Connection$Builder;)V",
"awaitPingsSent",
"",
"awaitPongsReceived",
"client",
"",
"getClient$okhttp",
"()Z",
"connectionName",
"",
"getConnectionName$okhttp",
"()Ljava/lang/String;",
"currentPushRequests",
"",
"",
"degradedPingsSent",
"degradedPongDeadlineNs",
"degradedPongsReceived",
"intervalPingsSent",
"intervalPongsReceived",
"isShutdown",
"lastGoodStreamId",
"getLastGoodStreamId$okhttp",
"()I",
"setLastGoodStreamId$okhttp",
"(I)V",
"listener",
"Lokhttp3/internal/http2/Http2Connection$Listener;",
"getListener$okhttp",
"()Lokhttp3/internal/http2/Http2Connection$Listener;",
"nextStreamId",
"getNextStreamId$okhttp",
"setNextStreamId$okhttp",
"okHttpSettings",
"Lokhttp3/internal/http2/Settings;",
"getOkHttpSettings",
"()Lokhttp3/internal/http2/Settings;",
"peerSettings",
"getPeerSettings",
"setPeerSettings",
"(Lokhttp3/internal/http2/Settings;)V",
"pushObserver",
"Lokhttp3/internal/http2/PushObserver;",
"pushQueue",
"Lokhttp3/internal/concurrent/TaskQueue;",
"<set-?>",
"readBytesAcknowledged",
"getReadBytesAcknowledged",
"()J",
"readBytesTotal",
"getReadBytesTotal",
"readerRunnable",
"Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;",
"getReaderRunnable",
"()Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;",
"settingsListenerQueue",
"socket",
"Ljava/net/Socket;",
"getSocket$okhttp",
"()Ljava/net/Socket;",
"streams",
"",
"Lokhttp3/internal/http2/Http2Stream;",
"getStreams$okhttp",
"()Ljava/util/Map;",
"taskRunner",
"Lokhttp3/internal/concurrent/TaskRunner;",
"writeBytesMaximum",
"getWriteBytesMaximum",
"writeBytesTotal",
"getWriteBytesTotal",
"writer",
"Lokhttp3/internal/http2/Http2Writer;",
"getWriter",
"()Lokhttp3/internal/http2/Http2Writer;",
"writerQueue",
"awaitPong",
"",
"close",
"connectionCode",
"Lokhttp3/internal/http2/ErrorCode;",
"streamCode",
"cause",
"Ljava/io/IOException;",
"close$okhttp",
"failConnection",
"e",
"flush",
"getStream",
"id",
"isHealthy",
"nowNs",
"newStream",
"associatedStreamId",
"requestHeaders",
"",
"Lokhttp3/internal/http2/Header;",
"out",
"openStreamCount",
"pushDataLater",
"streamId",
"source",
"Lokio/BufferedSource;",
"byteCount",
"inFinished",
"pushDataLater$okhttp",
"pushHeadersLater",
"pushHeadersLater$okhttp",
"pushRequestLater",
"pushRequestLater$okhttp",
"pushResetLater",
"errorCode",
"pushResetLater$okhttp",
"pushStream",
"pushedStream",
"pushedStream$okhttp",
"removeStream",
"removeStream$okhttp",
"sendDegradedPingLater",
"sendDegradedPingLater$okhttp",
"setSettings",
"settings",
"shutdown",
"statusCode",
"start",
"sendConnectionPreface",
"updateConnectionFlowControl",
"read",
"updateConnectionFlowControl$okhttp",
"writeData",
"outFinished",
"buffer",
"Lokio/Buffer;",
"writeHeaders",
"alternating",
"writeHeaders$okhttp",
"writePing",
"reply",
"payload1",
"payload2",
"writePingAndAwaitPong",
"writeSynReset",
"writeSynReset$okhttp",
"writeSynResetLater",
"writeSynResetLater$okhttp",
"writeWindowUpdateLater",
"unacknowledgedBytesRead",
"writeWindowUpdateLater$okhttp",
"Builder",
"Companion",
"Listener",
"ReaderRunnable",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# static fields
.field public static final AWAIT_PING:I = 0x3
.field public static final Companion:Lokhttp3/internal/http2/Http2Connection$Companion;
.field private static final DEFAULT_SETTINGS:Lokhttp3/internal/http2/Settings;
.field public static final DEGRADED_PING:I = 0x2
.field public static final DEGRADED_PONG_TIMEOUT_NS:I = 0x3b9aca00
.field public static final INTERVAL_PING:I = 0x1
.field public static final OKHTTP_CLIENT_WINDOW_SIZE:I = 0x1000000
# instance fields
.field private awaitPingsSent:J
.field private awaitPongsReceived:J
.field private final client:Z
.field private final connectionName:Ljava/lang/String;
.field private final currentPushRequests:Ljava/util/Set;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Set<",
"Ljava/lang/Integer;",
">;"
}
.end annotation
.end field
.field private degradedPingsSent:J
.field private degradedPongDeadlineNs:J
.field private degradedPongsReceived:J
.field private intervalPingsSent:J
.field private intervalPongsReceived:J
.field private isShutdown:Z
.field private lastGoodStreamId:I
.field private final listener:Lokhttp3/internal/http2/Http2Connection$Listener;
.field private nextStreamId:I
.field private final okHttpSettings:Lokhttp3/internal/http2/Settings;
.field private peerSettings:Lokhttp3/internal/http2/Settings;
.field private final pushObserver:Lokhttp3/internal/http2/PushObserver;
.field private final pushQueue:Lokhttp3/internal/concurrent/TaskQueue;
.field private readBytesAcknowledged:J
.field private readBytesTotal:J
.field private final readerRunnable:Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;
.field private final settingsListenerQueue:Lokhttp3/internal/concurrent/TaskQueue;
.field private final socket:Ljava/net/Socket;
.field private final streams:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/Integer;",
"Lokhttp3/internal/http2/Http2Stream;",
">;"
}
.end annotation
.end field
.field private final taskRunner:Lokhttp3/internal/concurrent/TaskRunner;
.field private writeBytesMaximum:J
.field private writeBytesTotal:J
.field private final writer:Lokhttp3/internal/http2/Http2Writer;
.field private final writerQueue:Lokhttp3/internal/concurrent/TaskQueue;
# direct methods
.method static constructor <clinit>()V
.locals 3
new-instance v0, Lokhttp3/internal/http2/Http2Connection$Companion;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lokhttp3/internal/http2/Http2Connection$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lokhttp3/internal/http2/Http2Connection;->Companion:Lokhttp3/internal/http2/Http2Connection$Companion;
.line 995
new-instance v0, Lokhttp3/internal/http2/Settings;
invoke-direct {v0}, Lokhttp3/internal/http2/Settings;-><init>()V
const/4 v1, 0x7
const v2, 0xffff
.line 996
invoke-virtual {v0, v1, v2}, Lokhttp3/internal/http2/Settings;->set(II)Lokhttp3/internal/http2/Settings;
const/4 v1, 0x5
const/16 v2, 0x4000
.line 997
invoke-virtual {v0, v1, v2}, Lokhttp3/internal/http2/Settings;->set(II)Lokhttp3/internal/http2/Settings;
sput-object v0, Lokhttp3/internal/http2/Http2Connection;->DEFAULT_SETTINGS:Lokhttp3/internal/http2/Settings;
return-void
.end method
.method public constructor <init>(Lokhttp3/internal/http2/Http2Connection$Builder;)V
.locals 12
const-string v0, "builder"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 55
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 69
invoke-virtual {p1}, Lokhttp3/internal/http2/Http2Connection$Builder;->getClient$okhttp()Z
move-result v0
iput-boolean v0, p0, Lokhttp3/internal/http2/Http2Connection;->client:Z
.line 72
invoke-virtual {p1}, Lokhttp3/internal/http2/Http2Connection$Builder;->getListener$okhttp()Lokhttp3/internal/http2/Http2Connection$Listener;
move-result-object v1
iput-object v1, p0, Lokhttp3/internal/http2/Http2Connection;->listener:Lokhttp3/internal/http2/Http2Connection$Listener;
.line 73
new-instance v1, Ljava/util/LinkedHashMap;
invoke-direct {v1}, Ljava/util/LinkedHashMap;-><init>()V
check-cast v1, Ljava/util/Map;
iput-object v1, p0, Lokhttp3/internal/http2/Http2Connection;->streams:Ljava/util/Map;
.line 74
invoke-virtual {p1}, Lokhttp3/internal/http2/Http2Connection$Builder;->getConnectionName$okhttp()Ljava/lang/String;
move-result-object v1
iput-object v1, p0, Lokhttp3/internal/http2/Http2Connection;->connectionName:Ljava/lang/String;
.line 78
invoke-virtual {p1}, Lokhttp3/internal/http2/Http2Connection$Builder;->getClient$okhttp()Z
move-result v2
if-eqz v2, :cond_0
const/4 v2, 0x3
goto :goto_0
:cond_0
const/4 v2, 0x2
:goto_0
iput v2, p0, Lokhttp3/internal/http2/Http2Connection;->nextStreamId:I
.line 83
invoke-virtual {p1}, Lokhttp3/internal/http2/Http2Connection$Builder;->getTaskRunner$okhttp()Lokhttp3/internal/concurrent/TaskRunner;
move-result-object v2
iput-object v2, p0, Lokhttp3/internal/http2/Http2Connection;->taskRunner:Lokhttp3/internal/concurrent/TaskRunner;
.line 86
invoke-virtual {v2}, Lokhttp3/internal/concurrent/TaskRunner;->newQueue()Lokhttp3/internal/concurrent/TaskQueue;
move-result-object v3
iput-object v3, p0, Lokhttp3/internal/http2/Http2Connection;->writerQueue:Lokhttp3/internal/concurrent/TaskQueue;
.line 89
invoke-virtual {v2}, Lokhttp3/internal/concurrent/TaskRunner;->newQueue()Lokhttp3/internal/concurrent/TaskQueue;
move-result-object v4
iput-object v4, p0, Lokhttp3/internal/http2/Http2Connection;->pushQueue:Lokhttp3/internal/concurrent/TaskQueue;
.line 92
invoke-virtual {v2}, Lokhttp3/internal/concurrent/TaskRunner;->newQueue()Lokhttp3/internal/concurrent/TaskQueue;
move-result-object v2
iput-object v2, p0, Lokhttp3/internal/http2/Http2Connection;->settingsListenerQueue:Lokhttp3/internal/concurrent/TaskQueue;
.line 95
invoke-virtual {p1}, Lokhttp3/internal/http2/Http2Connection$Builder;->getPushObserver$okhttp()Lokhttp3/internal/http2/PushObserver;
move-result-object v2
iput-object v2, p0, Lokhttp3/internal/http2/Http2Connection;->pushObserver:Lokhttp3/internal/http2/PushObserver;
.line 109
new-instance v2, Lokhttp3/internal/http2/Settings;
invoke-direct {v2}, Lokhttp3/internal/http2/Settings;-><init>()V
.line 113
invoke-virtual {p1}, Lokhttp3/internal/http2/Http2Connection$Builder;->getClient$okhttp()Z
move-result v4
if-eqz v4, :cond_1
const/4 v4, 0x7
const/high16 v5, 0x1000000
.line 114
invoke-virtual {v2, v4, v5}, Lokhttp3/internal/http2/Settings;->set(II)Lokhttp3/internal/http2/Settings;
.line 116
:cond_1
sget-object v4, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
iput-object v2, p0, Lokhttp3/internal/http2/Http2Connection;->okHttpSettings:Lokhttp3/internal/http2/Settings;
sget-object v2, Lokhttp3/internal/http2/Http2Connection;->DEFAULT_SETTINGS:Lokhttp3/internal/http2/Settings;
iput-object v2, p0, Lokhttp3/internal/http2/Http2Connection;->peerSettings:Lokhttp3/internal/http2/Settings;
.line 137
invoke-virtual {v2}, Lokhttp3/internal/http2/Settings;->getInitialWindowSize()I
move-result v2
int-to-long v4, v2
iput-wide v4, p0, Lokhttp3/internal/http2/Http2Connection;->writeBytesMaximum:J
.line 140
invoke-virtual {p1}, Lokhttp3/internal/http2/Http2Connection$Builder;->getSocket$okhttp()Ljava/net/Socket;
move-result-object v2
iput-object v2, p0, Lokhttp3/internal/http2/Http2Connection;->socket:Ljava/net/Socket;
.line 141
new-instance v2, Lokhttp3/internal/http2/Http2Writer;
invoke-virtual {p1}, Lokhttp3/internal/http2/Http2Connection$Builder;->getSink$okhttp()Lokio/BufferedSink;
move-result-object v4
invoke-direct {v2, v4, v0}, Lokhttp3/internal/http2/Http2Writer;-><init>(Lokio/BufferedSink;Z)V
iput-object v2, p0, Lokhttp3/internal/http2/Http2Connection;->writer:Lokhttp3/internal/http2/Http2Writer;
.line 144
new-instance v2, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;
new-instance v4, Lokhttp3/internal/http2/Http2Reader;
invoke-virtual {p1}, Lokhttp3/internal/http2/Http2Connection$Builder;->getSource$okhttp()Lokio/BufferedSource;
move-result-object v5
invoke-direct {v4, v5, v0}, Lokhttp3/internal/http2/Http2Reader;-><init>(Lokio/BufferedSource;Z)V
invoke-direct {v2, p0, v4}, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;-><init>(Lokhttp3/internal/http2/Http2Connection;Lokhttp3/internal/http2/Http2Reader;)V
iput-object v2, p0, Lokhttp3/internal/http2/Http2Connection;->readerRunnable:Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;
.line 147
new-instance v0, Ljava/util/LinkedHashSet;
invoke-direct {v0}, Ljava/util/LinkedHashSet;-><init>()V
check-cast v0, Ljava/util/Set;
iput-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->currentPushRequests:Ljava/util/Set;
.line 150
invoke-virtual {p1}, Lokhttp3/internal/http2/Http2Connection$Builder;->getPingIntervalMillis$okhttp()I
move-result v0
if-eqz v0, :cond_2
.line 151
sget-object v0, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invoke-virtual {p1}, Lokhttp3/internal/http2/Http2Connection$Builder;->getPingIntervalMillis$okhttp()I
move-result p1
int-to-long v4, p1
invoke-virtual {v0, v4, v5}, Ljava/util/concurrent/TimeUnit;->toNanos(J)J
move-result-wide v4
.line 152
new-instance p1, Ljava/lang/StringBuilder;
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object p1
const-string v0, " ping"
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object p1
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v8
.line 1127
new-instance p1, Lokhttp3/internal/http2/Http2Connection$$special$$inlined$schedule$1;
move-object v6, p1
move-object v7, v8
move-object v9, p0
move-wide v10, v4
invoke-direct/range {v6 .. v11}, Lokhttp3/internal/http2/Http2Connection$$special$$inlined$schedule$1;-><init>(Ljava/lang/String;Ljava/lang/String;Lokhttp3/internal/http2/Http2Connection;J)V
check-cast p1, Lokhttp3/internal/concurrent/Task;
invoke-virtual {v3, p1, v4, v5}, Lokhttp3/internal/concurrent/TaskQueue;->schedule(Lokhttp3/internal/concurrent/Task;J)V
:cond_2
return-void
.end method
.method public static final synthetic access$failConnection(Lokhttp3/internal/http2/Http2Connection;Ljava/io/IOException;)V
.locals 0
.line 55
invoke-direct {p0, p1}, Lokhttp3/internal/http2/Http2Connection;->failConnection(Ljava/io/IOException;)V
return-void
.end method
.method public static final synthetic access$getAwaitPongsReceived$p(Lokhttp3/internal/http2/Http2Connection;)J
.locals 2
.line 55
iget-wide v0, p0, Lokhttp3/internal/http2/Http2Connection;->awaitPongsReceived:J
return-wide v0
.end method
.method public static final synthetic access$getCurrentPushRequests$p(Lokhttp3/internal/http2/Http2Connection;)Ljava/util/Set;
.locals 0
.line 55
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection;->currentPushRequests:Ljava/util/Set;
return-object p0
.end method
.method public static final synthetic access$getDEFAULT_SETTINGS$cp()Lokhttp3/internal/http2/Settings;
.locals 1
sget-object v0, Lokhttp3/internal/http2/Http2Connection;->DEFAULT_SETTINGS:Lokhttp3/internal/http2/Settings;
return-object v0
.end method
.method public static final synthetic access$getDegradedPongsReceived$p(Lokhttp3/internal/http2/Http2Connection;)J
.locals 2
.line 55
iget-wide v0, p0, Lokhttp3/internal/http2/Http2Connection;->degradedPongsReceived:J
return-wide v0
.end method
.method public static final synthetic access$getIntervalPingsSent$p(Lokhttp3/internal/http2/Http2Connection;)J
.locals 2
.line 55
iget-wide v0, p0, Lokhttp3/internal/http2/Http2Connection;->intervalPingsSent:J
return-wide v0
.end method
.method public static final synthetic access$getIntervalPongsReceived$p(Lokhttp3/internal/http2/Http2Connection;)J
.locals 2
.line 55
iget-wide v0, p0, Lokhttp3/internal/http2/Http2Connection;->intervalPongsReceived:J
return-wide v0
.end method
.method public static final synthetic access$getPushObserver$p(Lokhttp3/internal/http2/Http2Connection;)Lokhttp3/internal/http2/PushObserver;
.locals 0
.line 55
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection;->pushObserver:Lokhttp3/internal/http2/PushObserver;
return-object p0
.end method
.method public static final synthetic access$getSettingsListenerQueue$p(Lokhttp3/internal/http2/Http2Connection;)Lokhttp3/internal/concurrent/TaskQueue;
.locals 0
.line 55
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection;->settingsListenerQueue:Lokhttp3/internal/concurrent/TaskQueue;
return-object p0
.end method
.method public static final synthetic access$getTaskRunner$p(Lokhttp3/internal/http2/Http2Connection;)Lokhttp3/internal/concurrent/TaskRunner;
.locals 0
.line 55
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection;->taskRunner:Lokhttp3/internal/concurrent/TaskRunner;
return-object p0
.end method
.method public static final synthetic access$getWriteBytesMaximum$p(Lokhttp3/internal/http2/Http2Connection;)J
.locals 2
.line 55
iget-wide v0, p0, Lokhttp3/internal/http2/Http2Connection;->writeBytesMaximum:J
return-wide v0
.end method
.method public static final synthetic access$getWriterQueue$p(Lokhttp3/internal/http2/Http2Connection;)Lokhttp3/internal/concurrent/TaskQueue;
.locals 0
.line 55
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection;->writerQueue:Lokhttp3/internal/concurrent/TaskQueue;
return-object p0
.end method
.method public static final synthetic access$isShutdown$p(Lokhttp3/internal/http2/Http2Connection;)Z
.locals 0
.line 55
iget-boolean p0, p0, Lokhttp3/internal/http2/Http2Connection;->isShutdown:Z
return p0
.end method
.method public static final synthetic access$setAwaitPongsReceived$p(Lokhttp3/internal/http2/Http2Connection;J)V
.locals 0
.line 55
iput-wide p1, p0, Lokhttp3/internal/http2/Http2Connection;->awaitPongsReceived:J
return-void
.end method
.method public static final synthetic access$setDegradedPongsReceived$p(Lokhttp3/internal/http2/Http2Connection;J)V
.locals 0
.line 55
iput-wide p1, p0, Lokhttp3/internal/http2/Http2Connection;->degradedPongsReceived:J
return-void
.end method
.method public static final synthetic access$setIntervalPingsSent$p(Lokhttp3/internal/http2/Http2Connection;J)V
.locals 0
.line 55
iput-wide p1, p0, Lokhttp3/internal/http2/Http2Connection;->intervalPingsSent:J
return-void
.end method
.method public static final synthetic access$setIntervalPongsReceived$p(Lokhttp3/internal/http2/Http2Connection;J)V
.locals 0
.line 55
iput-wide p1, p0, Lokhttp3/internal/http2/Http2Connection;->intervalPongsReceived:J
return-void
.end method
.method public static final synthetic access$setShutdown$p(Lokhttp3/internal/http2/Http2Connection;Z)V
.locals 0
.line 55
iput-boolean p1, p0, Lokhttp3/internal/http2/Http2Connection;->isShutdown:Z
return-void
.end method
.method public static final synthetic access$setWriteBytesMaximum$p(Lokhttp3/internal/http2/Http2Connection;J)V
.locals 0
.line 55
iput-wide p1, p0, Lokhttp3/internal/http2/Http2Connection;->writeBytesMaximum:J
return-void
.end method
.method private final failConnection(Ljava/io/IOException;)V
.locals 2
.line 483
sget-object v0, Lokhttp3/internal/http2/ErrorCode;->PROTOCOL_ERROR:Lokhttp3/internal/http2/ErrorCode;
sget-object v1, Lokhttp3/internal/http2/ErrorCode;->PROTOCOL_ERROR:Lokhttp3/internal/http2/ErrorCode;
invoke-virtual {p0, v0, v1, p1}, Lokhttp3/internal/http2/Http2Connection;->close$okhttp(Lokhttp3/internal/http2/ErrorCode;Lokhttp3/internal/http2/ErrorCode;Ljava/io/IOException;)V
return-void
.end method
.method private final newStream(ILjava/util/List;Z)Lokhttp3/internal/http2/Http2Stream;
.locals 10
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Ljava/util/List<",
"Lokhttp3/internal/http2/Header;",
">;Z)",
"Lokhttp3/internal/http2/Http2Stream;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
xor-int/lit8 v6, p3, 0x1
const/4 v4, 0x0
iget-object v7, p0, Lokhttp3/internal/http2/Http2Connection;->writer:Lokhttp3/internal/http2/Http2Writer;
.line 240
monitor-enter v7
.line 241
:try_start_0
monitor-enter p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
:try_start_1
iget v0, p0, Lokhttp3/internal/http2/Http2Connection;->nextStreamId:I
const v1, 0x3fffffff # 1.9999999f
if-le v0, v1, :cond_0
.line 243
sget-object v0, Lokhttp3/internal/http2/ErrorCode;->REFUSED_STREAM:Lokhttp3/internal/http2/ErrorCode;
invoke-virtual {p0, v0}, Lokhttp3/internal/http2/Http2Connection;->shutdown(Lokhttp3/internal/http2/ErrorCode;)V
:cond_0
iget-boolean v0, p0, Lokhttp3/internal/http2/Http2Connection;->isShutdown:Z
if-nez v0, :cond_7
iget v8, p0, Lokhttp3/internal/http2/Http2Connection;->nextStreamId:I
add-int/lit8 v0, v8, 0x2
iput v0, p0, Lokhttp3/internal/http2/Http2Connection;->nextStreamId:I
.line 250
new-instance v9, Lokhttp3/internal/http2/Http2Stream;
const/4 v5, 0x0
move-object v0, v9
move v1, v8
move-object v2, p0
move v3, v6
invoke-direct/range {v0 .. v5}, Lokhttp3/internal/http2/Http2Stream;-><init>(ILokhttp3/internal/http2/Http2Connection;ZZLokhttp3/Headers;)V
const/4 v0, 0x1
if-eqz p3, :cond_2
iget-wide v1, p0, Lokhttp3/internal/http2/Http2Connection;->writeBytesTotal:J
iget-wide v3, p0, Lokhttp3/internal/http2/Http2Connection;->writeBytesMaximum:J
cmp-long p3, v1, v3
if-gez p3, :cond_2
.line 253
invoke-virtual {v9}, Lokhttp3/internal/http2/Http2Stream;->getWriteBytesTotal()J
move-result-wide v1
invoke-virtual {v9}, Lokhttp3/internal/http2/Http2Stream;->getWriteBytesMaximum()J
move-result-wide v3
cmp-long p3, v1, v3
if-ltz p3, :cond_1
goto :goto_0
:cond_1
const/4 p3, 0x0
goto :goto_1
:cond_2
:goto_0
move p3, v0
.line 254
:goto_1
invoke-virtual {v9}, Lokhttp3/internal/http2/Http2Stream;->isOpen()Z
move-result v1
if-eqz v1, :cond_3
iget-object v1, p0, Lokhttp3/internal/http2/Http2Connection;->streams:Ljava/util/Map;
.line 255
invoke-static {v8}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
invoke-interface {v1, v2, v9}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 257
:cond_3
sget-object v1, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
.line 241
:try_start_2
monitor-exit p0
if-nez p1, :cond_4
iget-object p1, p0, Lokhttp3/internal/http2/Http2Connection;->writer:Lokhttp3/internal/http2/Http2Writer;
.line 259
invoke-virtual {p1, v6, v8, p2}, Lokhttp3/internal/http2/Http2Writer;->headers(ZILjava/util/List;)V
goto :goto_2
:cond_4
iget-boolean v1, p0, Lokhttp3/internal/http2/Http2Connection;->client:Z
xor-int/2addr v0, v1
if-eqz v0, :cond_6
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->writer:Lokhttp3/internal/http2/Http2Writer;
.line 263
invoke-virtual {v0, p1, v8, p2}, Lokhttp3/internal/http2/Http2Writer;->pushPromise(IILjava/util/List;)V
.line 265
:goto_2
sget-object p1, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
.line 240
monitor-exit v7
if-eqz p3, :cond_5
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection;->writer:Lokhttp3/internal/http2/Http2Writer;
.line 268
invoke-virtual {p0}, Lokhttp3/internal/http2/Http2Writer;->flush()V
:cond_5
return-object v9
:cond_6
:try_start_3
const-string p0, "client streams shouldn\'t have associated stream IDs"
.line 261
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p0
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
check-cast p1, Ljava/lang/Throwable;
throw p1
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_1
.line 246
:cond_7
:try_start_4
new-instance p1, Lokhttp3/internal/http2/ConnectionShutdownException;
invoke-direct {p1}, Lokhttp3/internal/http2/ConnectionShutdownException;-><init>()V
check-cast p1, Ljava/lang/Throwable;
throw p1
:try_end_4
.catchall {:try_start_4 .. :try_end_4} :catchall_0
:catchall_0
move-exception p1
.line 241
:try_start_5
monitor-exit p0
throw p1
:try_end_5
.catchall {:try_start_5 .. :try_end_5} :catchall_1
:catchall_1
move-exception p0
.line 240
monitor-exit v7
throw p0
.end method
.method public static synthetic start$default(Lokhttp3/internal/http2/Http2Connection;ZLokhttp3/internal/concurrent/TaskRunner;ILjava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
and-int/lit8 p4, p3, 0x1
if-eqz p4, :cond_0
const/4 p1, 0x1
:cond_0
and-int/lit8 p3, p3, 0x2
if-eqz p3, :cond_1
.line 495
sget-object p2, Lokhttp3/internal/concurrent/TaskRunner;->INSTANCE:Lokhttp3/internal/concurrent/TaskRunner;
:cond_1
invoke-virtual {p0, p1, p2}, Lokhttp3/internal/http2/Http2Connection;->start(ZLokhttp3/internal/concurrent/TaskRunner;)V
return-void
.end method
# virtual methods
.method public final declared-synchronized awaitPong()V
.locals 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/InterruptedException;
}
.end annotation
monitor-enter p0
:goto_0
:try_start_0
iget-wide v0, p0, Lokhttp3/internal/http2/Http2Connection;->awaitPongsReceived:J
iget-wide v2, p0, Lokhttp3/internal/http2/Http2Connection;->awaitPingsSent:J
cmp-long v0, v0, v2
if-gez v0, :cond_0
.line 1032
move-object v0, p0
check-cast v0, Ljava/lang/Object;
invoke-virtual {v0}, Ljava/lang/Object;->wait()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
.line 404
:cond_0
monitor-exit p0
return-void
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
.method public close()V
.locals 3
.line 438
sget-object v0, Lokhttp3/internal/http2/ErrorCode;->NO_ERROR:Lokhttp3/internal/http2/ErrorCode;
sget-object v1, Lokhttp3/internal/http2/ErrorCode;->CANCEL:Lokhttp3/internal/http2/ErrorCode;
const/4 v2, 0x0
invoke-virtual {p0, v0, v1, v2}, Lokhttp3/internal/http2/Http2Connection;->close$okhttp(Lokhttp3/internal/http2/ErrorCode;Lokhttp3/internal/http2/ErrorCode;Ljava/io/IOException;)V
return-void
.end method
.method public final close$okhttp(Lokhttp3/internal/http2/ErrorCode;Lokhttp3/internal/http2/ErrorCode;Ljava/io/IOException;)V
.locals 3
const-string v0, "connectionCode"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "streamCode"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 1033
sget-boolean v0, Lokhttp3/internal/Util;->assertionsEnabled:Z
if-eqz v0, :cond_1
invoke-static {p0}, Ljava/lang/Thread;->holdsLock(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_0
goto :goto_0
.line 1034
:cond_0
new-instance p1, Ljava/lang/AssertionError;
new-instance p2, Ljava/lang/StringBuilder;
const-string p3, "Thread "
invoke-direct {p2, p3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
move-result-object p3
const-string v0, "Thread.currentThread()"
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(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;
move-result-object p2
const-string p3, " MUST NOT hold lock on "
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object p2
invoke-virtual {p2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
invoke-direct {p1, p0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
check-cast p1, Ljava/lang/Throwable;
throw p1
.line 449
:cond_1
:goto_0
:try_start_0
invoke-virtual {p0, p1}, Lokhttp3/internal/http2/Http2Connection;->shutdown(Lokhttp3/internal/http2/ErrorCode;)V
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
:catch_0
const/4 p1, 0x0
.line 452
move-object v0, p1
check-cast v0, [Lokhttp3/internal/http2/Http2Stream;
.line 453
monitor-enter p0
:try_start_1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->streams:Ljava/util/Map;
.line 454
invoke-interface {v0}, Ljava/util/Map;->isEmpty()Z
move-result v0
xor-int/lit8 v0, v0, 0x1
const/4 v1, 0x0
if-eqz v0, :cond_3
iget-object p1, p0, Lokhttp3/internal/http2/Http2Connection;->streams:Ljava/util/Map;
.line 455
invoke-interface {p1}, Ljava/util/Map;->values()Ljava/util/Collection;
move-result-object p1
new-array v0, v1, [Lokhttp3/internal/http2/Http2Stream;
.line 1043
invoke-interface {p1, v0}, Ljava/util/Collection;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object p1
if-eqz p1, :cond_2
check-cast p1, [Lokhttp3/internal/http2/Http2Stream;
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->streams:Ljava/util/Map;
.line 456
invoke-interface {v0}, Ljava/util/Map;->clear()V
goto :goto_1
.line 1043
:cond_2
new-instance p1, Ljava/lang/NullPointerException;
const-string p2, "null cannot be cast to non-null type kotlin.Array<T>"
invoke-direct {p1, p2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
throw p1
.line 458
:cond_3
:goto_1
sget-object v0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
.line 453
monitor-exit p0
if-eqz p1, :cond_4
.line 1044
array-length v0, p1
:goto_2
if-ge v1, v0, :cond_4
aget-object v2, p1, v1
.line 462
:try_start_2
invoke-virtual {v2, p2, p3}, Lokhttp3/internal/http2/Http2Stream;->close(Lokhttp3/internal/http2/ErrorCode;Ljava/io/IOException;)V
:try_end_2
.catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_1
:catch_1
add-int/lit8 v1, v1, 0x1
goto :goto_2
:cond_4
:try_start_3
iget-object p1, p0, Lokhttp3/internal/http2/Http2Connection;->writer:Lokhttp3/internal/http2/Http2Writer;
.line 468
invoke-virtual {p1}, Lokhttp3/internal/http2/Http2Writer;->close()V
:try_end_3
.catch Ljava/io/IOException; {:try_start_3 .. :try_end_3} :catch_2
:catch_2
:try_start_4
iget-object p1, p0, Lokhttp3/internal/http2/Http2Connection;->socket:Ljava/net/Socket;
.line 473
invoke-virtual {p1}, Ljava/net/Socket;->close()V
:try_end_4
.catch Ljava/io/IOException; {:try_start_4 .. :try_end_4} :catch_3
:catch_3
iget-object p1, p0, Lokhttp3/internal/http2/Http2Connection;->writerQueue:Lokhttp3/internal/concurrent/TaskQueue;
.line 477
invoke-virtual {p1}, Lokhttp3/internal/concurrent/TaskQueue;->shutdown()V
iget-object p1, p0, Lokhttp3/internal/http2/Http2Connection;->pushQueue:Lokhttp3/internal/concurrent/TaskQueue;
.line 478
invoke-virtual {p1}, Lokhttp3/internal/concurrent/TaskQueue;->shutdown()V
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection;->settingsListenerQueue:Lokhttp3/internal/concurrent/TaskQueue;
.line 479
invoke-virtual {p0}, Lokhttp3/internal/concurrent/TaskQueue;->shutdown()V
return-void
:catchall_0
move-exception p1
.line 453
monitor-exit p0
throw p1
.end method
.method public final flush()V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection;->writer:Lokhttp3/internal/http2/Http2Writer;
.line 408
invoke-virtual {p0}, Lokhttp3/internal/http2/Http2Writer;->flush()V
return-void
.end method
.method public final getClient$okhttp()Z
.locals 0
iget-boolean p0, p0, Lokhttp3/internal/http2/Http2Connection;->client:Z
return p0
.end method
.method public final getConnectionName$okhttp()Ljava/lang/String;
.locals 0
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection;->connectionName:Ljava/lang/String;
return-object p0
.end method
.method public final getLastGoodStreamId$okhttp()I
.locals 0
iget p0, p0, Lokhttp3/internal/http2/Http2Connection;->lastGoodStreamId:I
return p0
.end method
.method public final getListener$okhttp()Lokhttp3/internal/http2/Http2Connection$Listener;
.locals 0
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection;->listener:Lokhttp3/internal/http2/Http2Connection$Listener;
return-object p0
.end method
.method public final getNextStreamId$okhttp()I
.locals 0
iget p0, p0, Lokhttp3/internal/http2/Http2Connection;->nextStreamId:I
return p0
.end method
.method public final getOkHttpSettings()Lokhttp3/internal/http2/Settings;
.locals 0
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection;->okHttpSettings:Lokhttp3/internal/http2/Settings;
return-object p0
.end method
.method public final getPeerSettings()Lokhttp3/internal/http2/Settings;
.locals 0
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection;->peerSettings:Lokhttp3/internal/http2/Settings;
return-object p0
.end method
.method public final getReadBytesAcknowledged()J
.locals 2
iget-wide v0, p0, Lokhttp3/internal/http2/Http2Connection;->readBytesAcknowledged:J
return-wide v0
.end method
.method public final getReadBytesTotal()J
.locals 2
iget-wide v0, p0, Lokhttp3/internal/http2/Http2Connection;->readBytesTotal:J
return-wide v0
.end method
.method public final getReaderRunnable()Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;
.locals 0
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection;->readerRunnable:Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;
return-object p0
.end method
.method public final getSocket$okhttp()Ljava/net/Socket;
.locals 0
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection;->socket:Ljava/net/Socket;
return-object p0
.end method
.method public final declared-synchronized getStream(I)Lokhttp3/internal/http2/Http2Stream;
.locals 1
monitor-enter p0
:try_start_0
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->streams:Ljava/util/Map;
.line 177
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lokhttp3/internal/http2/Http2Stream;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return-object p1
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public final getStreams$okhttp()Ljava/util/Map;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/Integer;",
"Lokhttp3/internal/http2/Http2Stream;",
">;"
}
.end annotation
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection;->streams:Ljava/util/Map;
return-object p0
.end method
.method public final getWriteBytesMaximum()J
.locals 2
iget-wide v0, p0, Lokhttp3/internal/http2/Http2Connection;->writeBytesMaximum:J
return-wide v0
.end method
.method public final getWriteBytesTotal()J
.locals 2
iget-wide v0, p0, Lokhttp3/internal/http2/Http2Connection;->writeBytesTotal:J
return-wide v0
.end method
.method public final getWriter()Lokhttp3/internal/http2/Http2Writer;
.locals 0
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection;->writer:Lokhttp3/internal/http2/Http2Writer;
return-object p0
.end method
.method public final declared-synchronized isHealthy(J)Z
.locals 6
monitor-enter p0
:try_start_0
iget-boolean v0, p0, Lokhttp3/internal/http2/Http2Connection;->isShutdown:Z
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
const/4 v1, 0x0
if-eqz v0, :cond_0
.line 525
monitor-exit p0
return v1
:cond_0
:try_start_1
iget-wide v2, p0, Lokhttp3/internal/http2/Http2Connection;->degradedPongsReceived:J
iget-wide v4, p0, Lokhttp3/internal/http2/Http2Connection;->degradedPingsSent:J
cmp-long v0, v2, v4
if-gez v0, :cond_1
iget-wide v2, p0, Lokhttp3/internal/http2/Http2Connection;->degradedPongDeadlineNs:J
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
cmp-long p1, p1, v2
if-ltz p1, :cond_1
.line 528
monitor-exit p0
return v1
.line 530
:cond_1
monitor-exit p0
const/4 p0, 0x1
return p0
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public final newStream(Ljava/util/List;Z)Lokhttp3/internal/http2/Http2Stream;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Lokhttp3/internal/http2/Header;",
">;Z)",
"Lokhttp3/internal/http2/Http2Stream;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const-string v0, "requestHeaders"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v0, 0x0
.line 225
invoke-direct {p0, v0, p1, p2}, Lokhttp3/internal/http2/Http2Connection;->newStream(ILjava/util/List;Z)Lokhttp3/internal/http2/Http2Stream;
move-result-object p0
return-object p0
.end method
.method public final declared-synchronized openStreamCount()I
.locals 1
monitor-enter p0
:try_start_0
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->streams:Ljava/util/Map;
.line 175
invoke-interface {v0}, Ljava/util/Map;->size()I
move-result v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return v0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
.method public final pushDataLater$okhttp(ILokio/BufferedSource;IZ)V
.locals 11
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const-string v0, "source"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 935
new-instance v8, Lokio/Buffer;
invoke-direct {v8}, Lokio/Buffer;-><init>()V
int-to-long v0, p3
.line 936
invoke-interface {p2, v0, v1}, Lokio/BufferedSource;->require(J)V
.line 937
invoke-interface {p2, v8, v0, v1}, Lokio/BufferedSource;->read(Lokio/Buffer;J)J
iget-object p2, p0, Lokhttp3/internal/http2/Http2Connection;->pushQueue:Lokhttp3/internal/concurrent/TaskQueue;
.line 938
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
iget-object v1, p0, Lokhttp3/internal/http2/Http2Connection;->connectionName:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
const/16 v1, 0x5b
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v0
const-string v1, "] onData"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v4
const/4 v5, 0x1
.line 1109
new-instance v0, Lokhttp3/internal/http2/Http2Connection$pushDataLater$$inlined$execute$1;
move-object v1, v0
move-object v2, v4
move v3, v5
move-object v6, p0
move v7, p1
move v9, p3
move v10, p4
invoke-direct/range {v1 .. v10}, Lokhttp3/internal/http2/Http2Connection$pushDataLater$$inlined$execute$1;-><init>(Ljava/lang/String;ZLjava/lang/String;ZLokhttp3/internal/http2/Http2Connection;ILokio/Buffer;IZ)V
check-cast v0, Lokhttp3/internal/concurrent/Task;
const-wide/16 p0, 0x0
invoke-virtual {p2, v0, p0, p1}, Lokhttp3/internal/concurrent/TaskQueue;->schedule(Lokhttp3/internal/concurrent/Task;J)V
return-void
.end method
.method public final pushHeadersLater$okhttp(ILjava/util/List;Z)V
.locals 11
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Ljava/util/List<",
"Lokhttp3/internal/http2/Header;",
">;Z)V"
}
.end annotation
const-string v0, "requestHeaders"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->pushQueue:Lokhttp3/internal/concurrent/TaskQueue;
.line 911
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
iget-object v2, p0, Lokhttp3/internal/http2/Http2Connection;->connectionName:Ljava/lang/String;
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
const/16 v2, 0x5b
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v1
const-string v2, "] onHeaders"
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v5
const/4 v6, 0x1
.line 1098
new-instance v1, Lokhttp3/internal/http2/Http2Connection$pushHeadersLater$$inlined$execute$1;
move-object v2, v1
move-object v3, v5
move v4, v6
move-object v7, p0
move v8, p1
move-object v9, p2
move v10, p3
invoke-direct/range {v2 .. v10}, Lokhttp3/internal/http2/Http2Connection$pushHeadersLater$$inlined$execute$1;-><init>(Ljava/lang/String;ZLjava/lang/String;ZLokhttp3/internal/http2/Http2Connection;ILjava/util/List;Z)V
check-cast v1, Lokhttp3/internal/concurrent/Task;
const-wide/16 p0, 0x0
invoke-virtual {v0, v1, p0, p1}, Lokhttp3/internal/concurrent/TaskQueue;->schedule(Lokhttp3/internal/concurrent/Task;J)V
return-void
.end method
.method public final pushRequestLater$okhttp(ILjava/util/List;)V
.locals 10
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Ljava/util/List<",
"Lokhttp3/internal/http2/Header;",
">;)V"
}
.end annotation
const-string v0, "requestHeaders"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 886
monitor-enter p0
:try_start_0
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->currentPushRequests:Ljava/util/Set;
.line 887
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-interface {v0, v1}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
.line 888
sget-object p2, Lokhttp3/internal/http2/ErrorCode;->PROTOCOL_ERROR:Lokhttp3/internal/http2/ErrorCode;
invoke-virtual {p0, p1, p2}, Lokhttp3/internal/http2/Http2Connection;->writeSynResetLater$okhttp(ILokhttp3/internal/http2/ErrorCode;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 889
monitor-exit p0
return-void
:cond_0
:try_start_1
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->currentPushRequests:Ljava/util/Set;
.line 891
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-interface {v0, v1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
.line 886
monitor-exit p0
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->pushQueue:Lokhttp3/internal/concurrent/TaskQueue;
.line 893
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
iget-object v2, p0, Lokhttp3/internal/http2/Http2Connection;->connectionName:Ljava/lang/String;
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
const/16 v2, 0x5b
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v1
const-string v2, "] onRequest"
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v5
const/4 v6, 0x1
.line 1087
new-instance v1, Lokhttp3/internal/http2/Http2Connection$pushRequestLater$$inlined$execute$1;
move-object v2, v1
move-object v3, v5
move v4, v6
move-object v7, p0
move v8, p1
move-object v9, p2
invoke-direct/range {v2 .. v9}, Lokhttp3/internal/http2/Http2Connection$pushRequestLater$$inlined$execute$1;-><init>(Ljava/lang/String;ZLjava/lang/String;ZLokhttp3/internal/http2/Http2Connection;ILjava/util/List;)V
check-cast v1, Lokhttp3/internal/concurrent/Task;
const-wide/16 p0, 0x0
invoke-virtual {v0, v1, p0, p1}, Lokhttp3/internal/concurrent/TaskQueue;->schedule(Lokhttp3/internal/concurrent/Task;J)V
return-void
:catchall_0
move-exception p1
.line 886
monitor-exit p0
throw p1
.end method
.method public final pushResetLater$okhttp(ILokhttp3/internal/http2/ErrorCode;)V
.locals 10
const-string v0, "errorCode"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->pushQueue:Lokhttp3/internal/concurrent/TaskQueue;
.line 952
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
iget-object v2, p0, Lokhttp3/internal/http2/Http2Connection;->connectionName:Ljava/lang/String;
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
const/16 v2, 0x5b
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v1
const-string v2, "] onReset"
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v5
const/4 v6, 0x1
.line 1120
new-instance v1, Lokhttp3/internal/http2/Http2Connection$pushResetLater$$inlined$execute$1;
move-object v2, v1
move-object v3, v5
move v4, v6
move-object v7, p0
move v8, p1
move-object v9, p2
invoke-direct/range {v2 .. v9}, Lokhttp3/internal/http2/Http2Connection$pushResetLater$$inlined$execute$1;-><init>(Ljava/lang/String;ZLjava/lang/String;ZLokhttp3/internal/http2/Http2Connection;ILokhttp3/internal/http2/ErrorCode;)V
check-cast v1, Lokhttp3/internal/concurrent/Task;
const-wide/16 p0, 0x0
invoke-virtual {v0, v1, p0, p1}, Lokhttp3/internal/concurrent/TaskQueue;->schedule(Lokhttp3/internal/concurrent/Task;J)V
return-void
.end method
.method public final pushStream(ILjava/util/List;Z)Lokhttp3/internal/http2/Http2Stream;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Ljava/util/List<",
"Lokhttp3/internal/http2/Header;",
">;Z)",
"Lokhttp3/internal/http2/Http2Stream;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const-string v0, "requestHeaders"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-boolean v0, p0, Lokhttp3/internal/http2/Http2Connection;->client:Z
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_0
.line 211
invoke-direct {p0, p1, p2, p3}, Lokhttp3/internal/http2/Http2Connection;->newStream(ILjava/util/List;Z)Lokhttp3/internal/http2/Http2Stream;
move-result-object p0
return-object p0
.line 210
:cond_0
new-instance p0, Ljava/lang/IllegalStateException;
const-string p1, "Client cannot push requests."
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
check-cast p0, Ljava/lang/Throwable;
throw p0
.end method
.method public final pushedStream$okhttp(I)Z
.locals 0
if-eqz p1, :cond_0
const/4 p0, 0x1
and-int/2addr p1, p0
if-nez p1, :cond_0
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
return p0
.end method
.method public final declared-synchronized removeStream$okhttp(I)Lokhttp3/internal/http2/Http2Stream;
.locals 1
monitor-enter p0
:try_start_0
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->streams:Ljava/util/Map;
.line 180
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
invoke-interface {v0, p1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lokhttp3/internal/http2/Http2Stream;
.line 1007
move-object v0, p0
check-cast v0, Ljava/lang/Object;
invoke-virtual {v0}, Ljava/lang/Object;->notifyAll()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 185
monitor-exit p0
return-object p1
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public final sendDegradedPingLater$okhttp()V
.locals 8
.line 549
monitor-enter p0
:try_start_0
iget-wide v0, p0, Lokhttp3/internal/http2/Http2Connection;->degradedPongsReceived:J
iget-wide v2, p0, Lokhttp3/internal/http2/Http2Connection;->degradedPingsSent:J
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
cmp-long v0, v0, v2
if-gez v0, :cond_0
.line 550
monitor-exit p0
return-void
:cond_0
const-wide/16 v0, 0x1
add-long/2addr v2, v0
:try_start_1
iput-wide v2, p0, Lokhttp3/internal/http2/Http2Connection;->degradedPingsSent:J
.line 552
invoke-static {}, Ljava/lang/System;->nanoTime()J
move-result-wide v0
const v2, 0x3b9aca00
int-to-long v2, v2
add-long/2addr v0, v2
iput-wide v0, p0, Lokhttp3/internal/http2/Http2Connection;->degradedPongDeadlineNs:J
.line 553
sget-object v0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
.line 549
monitor-exit p0
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->writerQueue:Lokhttp3/internal/concurrent/TaskQueue;
.line 554
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
iget-object v2, p0, Lokhttp3/internal/http2/Http2Connection;->connectionName:Ljava/lang/String;
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
const-string v2, " ping"
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v5
const/4 v6, 0x1
.line 1076
new-instance v1, Lokhttp3/internal/http2/Http2Connection$sendDegradedPingLater$$inlined$execute$1;
move-object v2, v1
move-object v3, v5
move v4, v6
move-object v7, p0
invoke-direct/range {v2 .. v7}, Lokhttp3/internal/http2/Http2Connection$sendDegradedPingLater$$inlined$execute$1;-><init>(Ljava/lang/String;ZLjava/lang/String;ZLokhttp3/internal/http2/Http2Connection;)V
check-cast v1, Lokhttp3/internal/concurrent/Task;
const-wide/16 v2, 0x0
invoke-virtual {v0, v1, v2, v3}, Lokhttp3/internal/concurrent/TaskQueue;->schedule(Lokhttp3/internal/concurrent/Task;J)V
return-void
:catchall_0
move-exception v0
.line 549
monitor-exit p0
throw v0
.end method
.method public final setLastGoodStreamId$okhttp(I)V
.locals 0
iput p1, p0, Lokhttp3/internal/http2/Http2Connection;->lastGoodStreamId:I
return-void
.end method
.method public final setNextStreamId$okhttp(I)V
.locals 0
iput p1, p0, Lokhttp3/internal/http2/Http2Connection;->nextStreamId:I
return-void
.end method
.method public final setPeerSettings(Lokhttp3/internal/http2/Settings;)V
.locals 1
const-string v0, "<set-?>"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection;->peerSettings:Lokhttp3/internal/http2/Settings;
return-void
.end method
.method public final setSettings(Lokhttp3/internal/http2/Settings;)V
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const-string v0, "settings"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->writer:Lokhttp3/internal/http2/Http2Writer;
.line 512
monitor-enter v0
.line 513
:try_start_0
monitor-enter p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
:try_start_1
iget-boolean v1, p0, Lokhttp3/internal/http2/Http2Connection;->isShutdown:Z
if-nez v1, :cond_0
iget-object v1, p0, Lokhttp3/internal/http2/Http2Connection;->okHttpSettings:Lokhttp3/internal/http2/Settings;
.line 517
invoke-virtual {v1, p1}, Lokhttp3/internal/http2/Settings;->merge(Lokhttp3/internal/http2/Settings;)V
.line 518
sget-object v1, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
.line 513
:try_start_2
monitor-exit p0
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection;->writer:Lokhttp3/internal/http2/Http2Writer;
.line 519
invoke-virtual {p0, p1}, Lokhttp3/internal/http2/Http2Writer;->settings(Lokhttp3/internal/http2/Settings;)V
.line 520
sget-object p0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
.line 512
monitor-exit v0
return-void
.line 515
:cond_0
:try_start_3
new-instance p1, Lokhttp3/internal/http2/ConnectionShutdownException;
invoke-direct {p1}, Lokhttp3/internal/http2/ConnectionShutdownException;-><init>()V
check-cast p1, Ljava/lang/Throwable;
throw p1
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_0
:catchall_0
move-exception p1
.line 513
:try_start_4
monitor-exit p0
throw p1
:try_end_4
.catchall {:try_start_4 .. :try_end_4} :catchall_1
:catchall_1
move-exception p0
.line 512
monitor-exit v0
throw p0
.end method
.method public final shutdown(Lokhttp3/internal/http2/ErrorCode;)V
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const-string v0, "statusCode"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->writer:Lokhttp3/internal/http2/Http2Writer;
.line 418
monitor-enter v0
.line 420
:try_start_0
monitor-enter p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
:try_start_1
iget-boolean v1, p0, Lokhttp3/internal/http2/Http2Connection;->isShutdown:Z
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
if-eqz v1, :cond_0
.line 422
:try_start_2
monitor-exit p0
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
monitor-exit v0
return-void
:cond_0
const/4 v1, 0x1
:try_start_3
iput-boolean v1, p0, Lokhttp3/internal/http2/Http2Connection;->isShutdown:Z
iget v1, p0, Lokhttp3/internal/http2/Http2Connection;->lastGoodStreamId:I
.line 426
sget-object v2, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_0
.line 420
:try_start_4
monitor-exit p0
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection;->writer:Lokhttp3/internal/http2/Http2Writer;
.line 429
sget-object v2, Lokhttp3/internal/Util;->EMPTY_BYTE_ARRAY:[B
invoke-virtual {p0, v1, p1, v2}, Lokhttp3/internal/http2/Http2Writer;->goAway(ILokhttp3/internal/http2/ErrorCode;[B)V
.line 430
sget-object p0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
:try_end_4
.catchall {:try_start_4 .. :try_end_4} :catchall_1
.line 418
monitor-exit v0
return-void
:catchall_0
move-exception p1
.line 420
:try_start_5
monitor-exit p0
throw p1
:try_end_5
.catchall {:try_start_5 .. :try_end_5} :catchall_1
:catchall_1
move-exception p0
.line 418
monitor-exit v0
throw p0
.end method
.method public final start()V
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const/4 v0, 0x0
const/4 v1, 0x3
const/4 v2, 0x0
invoke-static {p0, v2, v0, v1, v0}, Lokhttp3/internal/http2/Http2Connection;->start$default(Lokhttp3/internal/http2/Http2Connection;ZLokhttp3/internal/concurrent/TaskRunner;ILjava/lang/Object;)V
return-void
.end method
.method public final start(Z)V
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const/4 v0, 0x0
const/4 v1, 0x2
invoke-static {p0, p1, v0, v1, v0}, Lokhttp3/internal/http2/Http2Connection;->start$default(Lokhttp3/internal/http2/Http2Connection;ZLokhttp3/internal/concurrent/TaskRunner;ILjava/lang/Object;)V
return-void
.end method
.method public final start(ZLokhttp3/internal/concurrent/TaskRunner;)V
.locals 6
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const-string v0, "taskRunner"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
if-eqz p1, :cond_0
iget-object p1, p0, Lokhttp3/internal/http2/Http2Connection;->writer:Lokhttp3/internal/http2/Http2Writer;
.line 497
invoke-virtual {p1}, Lokhttp3/internal/http2/Http2Writer;->connectionPreface()V
iget-object p1, p0, Lokhttp3/internal/http2/Http2Connection;->writer:Lokhttp3/internal/http2/Http2Writer;
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->okHttpSettings:Lokhttp3/internal/http2/Settings;
.line 498
invoke-virtual {p1, v0}, Lokhttp3/internal/http2/Http2Writer;->settings(Lokhttp3/internal/http2/Settings;)V
iget-object p1, p0, Lokhttp3/internal/http2/Http2Connection;->okHttpSettings:Lokhttp3/internal/http2/Settings;
.line 499
invoke-virtual {p1}, Lokhttp3/internal/http2/Settings;->getInitialWindowSize()I
move-result p1
const v0, 0xffff
if-eq p1, v0, :cond_0
iget-object v1, p0, Lokhttp3/internal/http2/Http2Connection;->writer:Lokhttp3/internal/http2/Http2Writer;
sub-int/2addr p1, v0
int-to-long v2, p1
const/4 p1, 0x0
.line 501
invoke-virtual {v1, p1, v2, v3}, Lokhttp3/internal/http2/Http2Writer;->windowUpdate(IJ)V
.line 506
:cond_0
invoke-virtual {p2}, Lokhttp3/internal/concurrent/TaskRunner;->newQueue()Lokhttp3/internal/concurrent/TaskQueue;
move-result-object p1
iget-object v4, p0, Lokhttp3/internal/http2/Http2Connection;->connectionName:Ljava/lang/String;
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection;->readerRunnable:Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;
move-object v1, p0
check-cast v1, Lkotlin/jvm/functions/Function0;
const/4 v5, 0x1
.line 1065
new-instance p0, Lokhttp3/internal/concurrent/TaskQueue$execute$1;
move-object v0, p0
move-object v2, v4
move v3, v5
invoke-direct/range {v0 .. v5}, Lokhttp3/internal/concurrent/TaskQueue$execute$1;-><init>(Lkotlin/jvm/functions/Function0;Ljava/lang/String;ZLjava/lang/String;Z)V
check-cast p0, Lokhttp3/internal/concurrent/Task;
const-wide/16 v0, 0x0
invoke-virtual {p1, p0, v0, v1}, Lokhttp3/internal/concurrent/TaskQueue;->schedule(Lokhttp3/internal/concurrent/Task;J)V
return-void
.end method
.method public final declared-synchronized updateConnectionFlowControl$okhttp(J)V
.locals 2
monitor-enter p0
:try_start_0
iget-wide v0, p0, Lokhttp3/internal/http2/Http2Connection;->readBytesTotal:J
add-long/2addr v0, p1
iput-wide v0, p0, Lokhttp3/internal/http2/Http2Connection;->readBytesTotal:J
iget-wide p1, p0, Lokhttp3/internal/http2/Http2Connection;->readBytesAcknowledged:J
sub-long/2addr v0, p1
iget-object p1, p0, Lokhttp3/internal/http2/Http2Connection;->okHttpSettings:Lokhttp3/internal/http2/Settings;
.line 191
invoke-virtual {p1}, Lokhttp3/internal/http2/Settings;->getInitialWindowSize()I
move-result p1
div-int/lit8 p1, p1, 0x2
int-to-long p1, p1
cmp-long p1, v0, p1
if-ltz p1, :cond_0
const/4 p1, 0x0
.line 192
invoke-virtual {p0, p1, v0, v1}, Lokhttp3/internal/http2/Http2Connection;->writeWindowUpdateLater$okhttp(IJ)V
iget-wide p1, p0, Lokhttp3/internal/http2/Http2Connection;->readBytesAcknowledged:J
add-long/2addr p1, v0
iput-wide p1, p0, Lokhttp3/internal/http2/Http2Connection;->readBytesAcknowledged:J
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 195
:cond_0
monitor-exit p0
return-void
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public final writeData(IZLokio/Buffer;J)V
.locals 8
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const-wide/16 v0, 0x0
cmp-long v2, p4, v0
const/4 v3, 0x0
if-nez v2, :cond_0
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection;->writer:Lokhttp3/internal/http2/Http2Writer;
.line 304
invoke-virtual {p0, p2, p1, p3, v3}, Lokhttp3/internal/http2/Http2Writer;->data(ZILokio/Buffer;I)V
return-void
:cond_0
:goto_0
cmp-long v2, p4, v0
if-lez v2, :cond_4
.line 311
monitor-enter p0
:goto_1
:try_start_0
iget-wide v4, p0, Lokhttp3/internal/http2/Http2Connection;->writeBytesTotal:J
iget-wide v6, p0, Lokhttp3/internal/http2/Http2Connection;->writeBytesMaximum:J
cmp-long v2, v4, v6
if-ltz v2, :cond_2
iget-object v2, p0, Lokhttp3/internal/http2/Http2Connection;->streams:Ljava/util/Map;
.line 316
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v4
invoke-interface {v2, v4}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_1
.line 1009
move-object v2, p0
check-cast v2, Ljava/lang/Object;
invoke-virtual {v2}, Ljava/lang/Object;->wait()V
goto :goto_1
.line 317
:cond_1
new-instance p1, Ljava/io/IOException;
const-string p2, "stream closed"
invoke-direct {p1, p2}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
check-cast p1, Ljava/lang/Throwable;
throw p1
:try_end_0
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:cond_2
sub-long/2addr v6, v4
.line 326
:try_start_1
invoke-static {p4, p5, v6, v7}, Ljava/lang/Math;->min(JJ)J
move-result-wide v4
long-to-int v2, v4
iget-object v4, p0, Lokhttp3/internal/http2/Http2Connection;->writer:Lokhttp3/internal/http2/Http2Writer;
.line 327
invoke-virtual {v4}, Lokhttp3/internal/http2/Http2Writer;->maxDataLength()I
move-result v4
invoke-static {v2, v4}, Ljava/lang/Math;->min(II)I
move-result v2
iget-wide v4, p0, Lokhttp3/internal/http2/Http2Connection;->writeBytesTotal:J
int-to-long v6, v2
add-long/2addr v4, v6
iput-wide v4, p0, Lokhttp3/internal/http2/Http2Connection;->writeBytesTotal:J
.line 329
sget-object v4, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
.line 311
monitor-exit p0
sub-long/2addr p4, v6
iget-object v4, p0, Lokhttp3/internal/http2/Http2Connection;->writer:Lokhttp3/internal/http2/Http2Writer;
if-eqz p2, :cond_3
cmp-long v5, p4, v0
if-nez v5, :cond_3
const/4 v5, 0x1
goto :goto_2
:cond_3
move v5, v3
.line 332
:goto_2
invoke-virtual {v4, v5, p1, p3, v2}, Lokhttp3/internal/http2/Http2Writer;->data(ZILokio/Buffer;I)V
goto :goto_0
:catchall_0
move-exception p1
goto :goto_3
.line 322
:catch_0
:try_start_2
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
move-result-object p1
invoke-virtual {p1}, Ljava/lang/Thread;->interrupt()V
.line 323
new-instance p1, Ljava/io/InterruptedIOException;
invoke-direct {p1}, Ljava/io/InterruptedIOException;-><init>()V
check-cast p1, Ljava/lang/Throwable;
throw p1
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
.line 311
:goto_3
monitor-exit p0
throw p1
:cond_4
return-void
.end method
.method public final writeHeaders$okhttp(IZLjava/util/List;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(IZ",
"Ljava/util/List<",
"Lokhttp3/internal/http2/Header;",
">;)V"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const-string v0, "alternating"
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection;->writer:Lokhttp3/internal/http2/Http2Writer;
.line 280
invoke-virtual {p0, p2, p1, p3}, Lokhttp3/internal/http2/Http2Writer;->headers(ZILjava/util/List;)V
return-void
.end method
.method public final writePing()V
.locals 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/InterruptedException;
}
.end annotation
.line 392
monitor-enter p0
:try_start_0
iget-wide v0, p0, Lokhttp3/internal/http2/Http2Connection;->awaitPingsSent:J
const-wide/16 v2, 0x1
add-long/2addr v0, v2
iput-wide v0, p0, Lokhttp3/internal/http2/Http2Connection;->awaitPingsSent:J
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
const/4 v0, 0x3
const v1, 0x4f4b6f6b
const/4 v2, 0x0
.line 395
invoke-virtual {p0, v2, v0, v1}, Lokhttp3/internal/http2/Http2Connection;->writePing(ZII)V
return-void
:catchall_0
move-exception v0
.line 392
monitor-exit p0
throw v0
.end method
.method public final writePing(ZII)V
.locals 1
:try_start_0
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->writer:Lokhttp3/internal/http2/Http2Writer;
.line 376
invoke-virtual {v0, p1, p2, p3}, Lokhttp3/internal/http2/Http2Writer;->ping(ZII)V
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception p1
.line 378
invoke-direct {p0, p1}, Lokhttp3/internal/http2/Http2Connection;->failConnection(Ljava/io/IOException;)V
:goto_0
return-void
.end method
.method public final writePingAndAwaitPong()V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/InterruptedException;
}
.end annotation
.line 385
invoke-virtual {p0}, Lokhttp3/internal/http2/Http2Connection;->writePing()V
.line 386
invoke-virtual {p0}, Lokhttp3/internal/http2/Http2Connection;->awaitPong()V
return-void
.end method
.method public final writeSynReset$okhttp(ILokhttp3/internal/http2/ErrorCode;)V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const-string v0, "statusCode"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection;->writer:Lokhttp3/internal/http2/Http2Writer;
.line 354
invoke-virtual {p0, p1, p2}, Lokhttp3/internal/http2/Http2Writer;->rstStream(ILokhttp3/internal/http2/ErrorCode;)V
return-void
.end method
.method public final writeSynResetLater$okhttp(ILokhttp3/internal/http2/ErrorCode;)V
.locals 10
const-string v0, "errorCode"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->writerQueue:Lokhttp3/internal/concurrent/TaskQueue;
.line 340
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
iget-object v2, p0, Lokhttp3/internal/http2/Http2Connection;->connectionName:Ljava/lang/String;
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
const/16 v2, 0x5b
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v1
const-string v2, "] writeSynReset"
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v5
const/4 v6, 0x1
.line 1014
new-instance v1, Lokhttp3/internal/http2/Http2Connection$writeSynResetLater$$inlined$execute$1;
move-object v2, v1
move-object v3, v5
move v4, v6
move-object v7, p0
move v8, p1
move-object v9, p2
invoke-direct/range {v2 .. v9}, Lokhttp3/internal/http2/Http2Connection$writeSynResetLater$$inlined$execute$1;-><init>(Ljava/lang/String;ZLjava/lang/String;ZLokhttp3/internal/http2/Http2Connection;ILokhttp3/internal/http2/ErrorCode;)V
check-cast v1, Lokhttp3/internal/concurrent/Task;
const-wide/16 p0, 0x0
invoke-virtual {v0, v1, p0, p1}, Lokhttp3/internal/concurrent/TaskQueue;->schedule(Lokhttp3/internal/concurrent/Task;J)V
return-void
.end method
.method public final writeWindowUpdateLater$okhttp(IJ)V
.locals 11
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->writerQueue:Lokhttp3/internal/concurrent/TaskQueue;
.line 361
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
iget-object v2, p0, Lokhttp3/internal/http2/Http2Connection;->connectionName:Ljava/lang/String;
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
const/16 v2, 0x5b
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v1
const-string v2, "] windowUpdate"
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v5
const/4 v6, 0x1
.line 1025
new-instance v1, Lokhttp3/internal/http2/Http2Connection$writeWindowUpdateLater$$inlined$execute$1;
move-object v2, v1
move-object v3, v5
move v4, v6
move-object v7, p0
move v8, p1
move-wide v9, p2
invoke-direct/range {v2 .. v10}, Lokhttp3/internal/http2/Http2Connection$writeWindowUpdateLater$$inlined$execute$1;-><init>(Ljava/lang/String;ZLjava/lang/String;ZLokhttp3/internal/http2/Http2Connection;IJ)V
check-cast v1, Lokhttp3/internal/concurrent/Task;
const-wide/16 p0, 0x0
invoke-virtual {v0, v1, p0, p1}, Lokhttp3/internal/concurrent/TaskQueue;->schedule(Lokhttp3/internal/concurrent/Task;J)V
return-void
.end method