100 lines
2.7 KiB
Smali
100 lines
2.7 KiB
Smali
.class public Lokhttp3/internal/http2/Http2Connection$Builder;
|
|
.super Ljava/lang/Object;
|
|
.source "Http2Connection.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lokhttp3/internal/http2/Http2Connection;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "Builder"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field a:Ljava/net/Socket;
|
|
|
|
.field b:Ljava/lang/String;
|
|
|
|
.field c:Lokio/BufferedSource;
|
|
|
|
.field d:Lokio/BufferedSink;
|
|
|
|
.field e:Lokhttp3/internal/http2/Http2Connection$Listener;
|
|
|
|
.field f:Lokhttp3/internal/http2/PushObserver;
|
|
|
|
.field g:Z
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Z)V
|
|
.locals 1
|
|
|
|
.line 516
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 508
|
|
sget-object v0, Lokhttp3/internal/http2/Http2Connection$Listener;->f:Lokhttp3/internal/http2/Http2Connection$Listener;
|
|
|
|
iput-object v0, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->e:Lokhttp3/internal/http2/Http2Connection$Listener;
|
|
|
|
.line 509
|
|
sget-object v0, Lokhttp3/internal/http2/PushObserver;->a:Lokhttp3/internal/http2/PushObserver;
|
|
|
|
iput-object v0, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->f:Lokhttp3/internal/http2/PushObserver;
|
|
|
|
.line 517
|
|
iput-boolean p1, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->g:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Ljava/net/Socket;Ljava/lang/String;Lokio/BufferedSource;Lokio/BufferedSink;)Lokhttp3/internal/http2/Http2Connection$Builder;
|
|
.locals 0
|
|
|
|
.line 527
|
|
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->a:Ljava/net/Socket;
|
|
|
|
.line 528
|
|
iput-object p2, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->b:Ljava/lang/String;
|
|
|
|
.line 529
|
|
iput-object p3, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->c:Lokio/BufferedSource;
|
|
|
|
.line 530
|
|
iput-object p4, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->d:Lokio/BufferedSink;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public a(Lokhttp3/internal/http2/Http2Connection$Listener;)Lokhttp3/internal/http2/Http2Connection$Builder;
|
|
.locals 0
|
|
|
|
.line 535
|
|
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$Builder;->e:Lokhttp3/internal/http2/Http2Connection$Listener;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public a()Lokhttp3/internal/http2/Http2Connection;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 545
|
|
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
|