mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
621 lines
20 KiB
Smali
621 lines
20 KiB
Smali
.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 = {
|
|
0x1,
|
|
0x0,
|
|
0x3
|
|
}
|
|
d1 = {
|
|
"\u0000X\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0006\n\u0002\u0010\u000e\n\u0002\u0008\u0005\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0010\u0008\n\u0002\u0008\u0005\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0018\u0002\n\u0002\u0008\u0007\n\u0002\u0018\u0002\n\u0002\u0008\u0002\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u00a2\u0006\u0002\u0010\u0006J\u0006\u00107\u001a\u000208J\u000e\u0010\u0011\u001a\u00020\u00002\u0006\u0010\u0011\u001a\u00020\u0012J\u000e\u0010\u0017\u001a\u00020\u00002\u0006\u0010\u0017\u001a\u00020\u0018J\u000e\u0010\u001d\u001a\u00020\u00002\u0006\u0010\u001d\u001a\u00020\u001eJ.\u0010)\u001a\u00020\u00002\u0006\u0010)\u001a\u00020*2\u0008\u0008\u0002\u00109\u001a\u00020\u000c2\u0008\u0008\u0002\u0010/\u001a\u0002002\u0008\u0008\u0002\u0010#\u001a\u00020$H\u0007R\u001a\u0010\u0002\u001a\u00020\u0003X\u0080\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008\u0007\u0010\u0008\"\u0004\u0008\t\u0010\nR\u001a\u0010\u000b\u001a\u00020\u000cX\u0080.\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008\r\u0010\u000e\"\u0004\u0008\u000f\u0010\u0010R\u001a\u0010\u0011\u001a\u00020\u0012X\u0080\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008\u0013\u0010\u0014\"\u0004\u0008\u0015\u0010\u0016R\u001a\u0010\u0017\u001a\u00020\u0018X\u0080\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008\u0019\u0010\u001a\"\u0004\u0008\u001b\u0010\u001cR\u001a\u0010\u001d\u001a\u00020\u001eX\u0080\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008\u001f\u0010 \"\u0004\u0008!\u0010\"R\u001a\u0010#\u001a\u00020$X\u0080.\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008%\u0010&\"\u0004\u0008\'\u0010(R\u001a\u0010)\u001a\u00020*X\u0080.\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008+\u0010,\"\u0004\u0008-\u0010.R\u001a\u0010/\u001a\u000200X\u0080.\u00a2\u0006\u000e\n\u0000\u001a\u0004\u00081\u00102\"\u0004\u00083\u00104R\u0014\u0010\u0004\u001a\u00020\u0005X\u0080\u0004\u00a2\u0006\u0008\n\u0000\u001a\u0004\u00085\u00106\u00a8\u0006:"
|
|
}
|
|
d2 = {
|
|
"Lokhttp3/internal/http2/Http2Connection$Builder;",
|
|
"",
|
|
"client",
|
|
"",
|
|
"taskRunner",
|
|
"Lokhttp3/internal/concurrent/TaskRunner;",
|
|
"(ZLokhttp3/internal/concurrent/TaskRunner;)V",
|
|
"getClient$okhttp",
|
|
"()Z",
|
|
"setClient$okhttp",
|
|
"(Z)V",
|
|
"connectionName",
|
|
"",
|
|
"getConnectionName$okhttp",
|
|
"()Ljava/lang/String;",
|
|
"setConnectionName$okhttp",
|
|
"(Ljava/lang/String;)V",
|
|
"listener",
|
|
"Lokhttp3/internal/http2/Http2Connection$Listener;",
|
|
"getListener$okhttp",
|
|
"()Lokhttp3/internal/http2/Http2Connection$Listener;",
|
|
"setListener$okhttp",
|
|
"(Lokhttp3/internal/http2/Http2Connection$Listener;)V",
|
|
"pingIntervalMillis",
|
|
"",
|
|
"getPingIntervalMillis$okhttp",
|
|
"()I",
|
|
"setPingIntervalMillis$okhttp",
|
|
"(I)V",
|
|
"pushObserver",
|
|
"Lokhttp3/internal/http2/PushObserver;",
|
|
"getPushObserver$okhttp",
|
|
"()Lokhttp3/internal/http2/PushObserver;",
|
|
"setPushObserver$okhttp",
|
|
"(Lokhttp3/internal/http2/PushObserver;)V",
|
|
"sink",
|
|
"Lokio/BufferedSink;",
|
|
"getSink$okhttp",
|
|
"()Lokio/BufferedSink;",
|
|
"setSink$okhttp",
|
|
"(Lokio/BufferedSink;)V",
|
|
"socket",
|
|
"Ljava/net/Socket;",
|
|
"getSocket$okhttp",
|
|
"()Ljava/net/Socket;",
|
|
"setSocket$okhttp",
|
|
"(Ljava/net/Socket;)V",
|
|
"source",
|
|
"Lokio/BufferedSource;",
|
|
"getSource$okhttp",
|
|
"()Lokio/BufferedSource;",
|
|
"setSource$okhttp",
|
|
"(Lokio/BufferedSource;)V",
|
|
"getTaskRunner$okhttp",
|
|
"()Lokhttp3/internal/concurrent/TaskRunner;",
|
|
"build",
|
|
"Lokhttp3/internal/http2/Http2Connection;",
|
|
"peerName",
|
|
"okhttp"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x1,
|
|
0x4,
|
|
0x0
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private client:Z
|
|
|
|
.field public connectionName:Ljava/lang/String;
|
|
|
|
.field private listener:Lokhttp3/internal/http2/Http2Connection$Listener;
|
|
|
|
.field private pingIntervalMillis:I
|
|
|
|
.field private pushObserver:Lokhttp3/internal/http2/PushObserver;
|
|
|
|
.field public sink:Lokio/BufferedSink;
|
|
|
|
.field public socket:Ljava/net/Socket;
|
|
|
|
.field public source:Lokio/BufferedSource;
|
|
|
|
.field private final taskRunner:Lokhttp3/internal/concurrent/TaskRunner;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(ZLokhttp3/internal/concurrent/TaskRunner;)V
|
|
.locals 1
|
|
|
|
const-string v0, "taskRunner"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 559
|
|
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 568
|
|
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 569
|
|
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;Lokio/BufferedSource;Lokio/BufferedSink;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 575
|
|
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 576
|
|
invoke-static {p1}, Lokio/Okio;->source(Ljava/net/Socket;)Lokio/Source;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-static {p3}, Lokio/Okio;->buffer(Lokio/Source;)Lokio/BufferedSource;
|
|
|
|
move-result-object p3
|
|
|
|
:cond_1
|
|
and-int/lit8 p5, p5, 0x8
|
|
|
|
if-eqz p5, :cond_2
|
|
|
|
.line 577
|
|
invoke-static {p1}, Lokio/Okio;->sink(Ljava/net/Socket;)Lokio/Sink;
|
|
|
|
move-result-object p4
|
|
|
|
invoke-static {p4}, Lokio/Okio;->buffer(Lokio/Sink;)Lokio/BufferedSink;
|
|
|
|
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;Lokio/BufferedSource;Lokio/BufferedSink;)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
|
|
|
|
.line 601
|
|
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 0
|
|
|
|
iget-boolean p0, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->client:Z
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public final getConnectionName$okhttp()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->connectionName:Ljava/lang/String;
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
const-string v0, "connectionName"
|
|
|
|
.line 565
|
|
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
:cond_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final getListener$okhttp()Lokhttp3/internal/http2/Http2Connection$Listener;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->listener:Lokhttp3/internal/http2/Http2Connection$Listener;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final getPingIntervalMillis$okhttp()I
|
|
.locals 0
|
|
|
|
iget p0, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->pingIntervalMillis:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public final getPushObserver$okhttp()Lokhttp3/internal/http2/PushObserver;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->pushObserver:Lokhttp3/internal/http2/PushObserver;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final getSink$okhttp()Lokio/BufferedSink;
|
|
.locals 1
|
|
|
|
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->sink:Lokio/BufferedSink;
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
const-string v0, "sink"
|
|
|
|
.line 567
|
|
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
:cond_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final getSocket$okhttp()Ljava/net/Socket;
|
|
.locals 1
|
|
|
|
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->socket:Ljava/net/Socket;
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
const-string v0, "socket"
|
|
|
|
.line 564
|
|
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
:cond_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final getSource$okhttp()Lokio/BufferedSource;
|
|
.locals 1
|
|
|
|
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->source:Lokio/BufferedSource;
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
const-string v0, "source"
|
|
|
|
.line 566
|
|
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
:cond_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final getTaskRunner$okhttp()Lokhttp3/internal/concurrent/TaskRunner;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->taskRunner:Lokhttp3/internal/concurrent/TaskRunner;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final listener(Lokhttp3/internal/http2/Http2Connection$Listener;)Lokhttp3/internal/http2/Http2Connection$Builder;
|
|
.locals 1
|
|
|
|
const-string v0, "listener"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 588
|
|
move-object v0, p0
|
|
|
|
check-cast v0, Lokhttp3/internal/http2/Http2Connection$Builder;
|
|
|
|
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 1
|
|
|
|
.line 596
|
|
move-object v0, p0
|
|
|
|
check-cast v0, Lokhttp3/internal/http2/Http2Connection$Builder;
|
|
|
|
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
|
|
|
|
const-string v0, "pushObserver"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 592
|
|
move-object v0, p0
|
|
|
|
check-cast v0, Lokhttp3/internal/http2/Http2Connection$Builder;
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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$Builder;->connectionName:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final setListener$okhttp(Lokhttp3/internal/http2/Http2Connection$Listener;)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$Builder;->listener:Lokhttp3/internal/http2/Http2Connection$Listener;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final setPingIntervalMillis$okhttp(I)V
|
|
.locals 0
|
|
|
|
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
|
|
|
|
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$Builder;->pushObserver:Lokhttp3/internal/http2/PushObserver;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final setSink$okhttp(Lokio/BufferedSink;)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$Builder;->sink:Lokio/BufferedSink;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final setSocket$okhttp(Ljava/net/Socket;)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$Builder;->socket:Ljava/net/Socket;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final setSource$okhttp(Lokio/BufferedSource;)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$Builder;->source:Lokio/BufferedSource;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final socket(Ljava/net/Socket;)Lokhttp3/internal/http2/Http2Connection$Builder;
|
|
.locals 7
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.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;Lokio/BufferedSource;Lokio/BufferedSink;ILjava/lang/Object;)Lokhttp3/internal/http2/Http2Connection$Builder;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final socket(Ljava/net/Socket;Ljava/lang/String;)Lokhttp3/internal/http2/Http2Connection$Builder;
|
|
.locals 7
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.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;Lokio/BufferedSource;Lokio/BufferedSink;ILjava/lang/Object;)Lokhttp3/internal/http2/Http2Connection$Builder;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final socket(Ljava/net/Socket;Ljava/lang/String;Lokio/BufferedSource;)Lokhttp3/internal/http2/Http2Connection$Builder;
|
|
.locals 7
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.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;Lokio/BufferedSource;Lokio/BufferedSink;ILjava/lang/Object;)Lokhttp3/internal/http2/Http2Connection$Builder;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final socket(Ljava/net/Socket;Ljava/lang/String;Lokio/BufferedSource;Lokio/BufferedSink;)Lokhttp3/internal/http2/Http2Connection$Builder;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "socket"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "peerName"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "source"
|
|
|
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "sink"
|
|
|
|
invoke-static {p4, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 578
|
|
move-object v0, p0
|
|
|
|
check-cast v0, Lokhttp3/internal/http2/Http2Connection$Builder;
|
|
|
|
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->socket:Ljava/net/Socket;
|
|
|
|
iget-boolean p1, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->client:Z
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 581
|
|
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;
|
|
|
|
move-result-object p1
|
|
|
|
const/16 v0, 0x20
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, p2}, 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 p1
|
|
|
|
goto :goto_0
|
|
|
|
.line 582
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
const-string v0, "MockWebServer "
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p1, p2}, 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 p1
|
|
|
|
:goto_0
|
|
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->connectionName:Ljava/lang/String;
|
|
|
|
iput-object p3, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->source:Lokio/BufferedSource;
|
|
|
|
iput-object p4, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->sink:Lokio/BufferedSink;
|
|
|
|
return-object p0
|
|
.end method
|