2022-06-10 21:38:30 +09:00

1538 lines
29 KiB
Smali

.class public Leg/c0;
.super Ljava/lang/Object;
.source "ManagedClientConnectionImpl.java"
# interfaces
.implements Lqf/p;
# annotations
.annotation build Lcz/msebera/android/httpclient/annotation/NotThreadSafe;
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# instance fields
.field public final a:Lqf/c;
.field public final b:Lqf/e;
.field public volatile c:Leg/u;
.field public volatile d:Z
.field public volatile e:J
# direct methods
.method public constructor <init>(Lqf/c;Lqf/e;Leg/u;)V
.locals 1
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const-string v0, "Connection manager"
.line 2
invoke-static {p1, v0}, Lqg/a;->h(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
const-string v0, "Connection operator"
.line 3
invoke-static {p2, v0}, Lqg/a;->h(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
const-string v0, "HTTP pool entry"
.line 4
invoke-static {p3, v0}, Lqg/a;->h(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 5
iput-object p1, p0, Leg/c0;->a:Lqf/c;
.line 6
iput-object p2, p0, Leg/c0;->b:Lqf/e;
.line 7
iput-object p3, p0, Leg/c0;->c:Leg/u;
const/4 p1, 0x0
.line 8
iput-boolean p1, p0, Leg/c0;->d:Z
const-wide p1, 0x7fffffffffffffffL
.line 9
iput-wide p1, p0, Leg/c0;->e:J
return-void
.end method
# virtual methods
.method public G(Ljava/lang/String;Ljava/lang/Object;)V
.locals 2
.line 1
invoke-virtual {p0}, Leg/c0;->b()Lqf/s;
move-result-object v0
.line 2
instance-of v1, v0, Lpg/g;
if-eqz v1, :cond_0
.line 3
check-cast v0, Lpg/g;
invoke-interface {v0, p1, p2}, Lpg/g;->setAttribute(Ljava/lang/String;Ljava/lang/Object;)V
:cond_0
return-void
.end method
.method public R0(Ldf/m;)V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Lcz/msebera/android/httpclient/HttpException;,
Ljava/io/IOException;
}
.end annotation
.line 1
invoke-virtual {p0}, Leg/c0;->b()Lqf/s;
move-result-object v0
.line 2
invoke-interface {v0, p1}, Ldf/h;->R0(Ldf/m;)V
return-void
.end method
.method public a()Leg/u;
.locals 2
.line 1
iget-object v0, p0, Leg/c0;->c:Leg/u;
const/4 v1, 0x0
.line 2
iput-object v1, p0, Leg/c0;->c:Leg/u;
return-object v0
.end method
.method public a1(Lcz/msebera/android/httpclient/conn/routing/a;Lpg/g;Lng/i;)V
.locals 8
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const-string v0, "Route"
.line 1
invoke-static {p1, v0}, Lqg/a;->h(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
const-string v0, "HTTP parameters"
.line 2
invoke-static {p3, v0}, Lqg/a;->h(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 3
monitor-enter p0
.line 4
:try_start_0
iget-object v0, p0, Leg/c0;->c:Leg/u;
if-eqz v0, :cond_4
.line 5
iget-object v0, p0, Leg/c0;->c:Leg/u;
invoke-virtual {v0}, Leg/u;->p()Lcz/msebera/android/httpclient/conn/routing/b;
move-result-object v0
const-string v1, "Route tracker"
.line 6
invoke-static {v0, v1}, Lqg/b;->e(Ljava/lang/Object;Ljava/lang/String;)V
.line 7
invoke-virtual {v0}, Lcz/msebera/android/httpclient/conn/routing/b;->c()Z
move-result v0
if-nez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
const-string v1, "Connection already open"
invoke-static {v0, v1}, Lqg/b;->a(ZLjava/lang/String;)V
.line 8
iget-object v0, p0, Leg/c0;->c:Leg/u;
invoke-virtual {v0}, Log/e;->b()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lqf/s;
.line 9
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
.line 10
invoke-virtual {p1}, Lcz/msebera/android/httpclient/conn/routing/a;->getProxyHost()Lcz/msebera/android/httpclient/HttpHost;
move-result-object v7
.line 11
iget-object v1, p0, Leg/c0;->b:Lqf/e;
if-eqz v7, :cond_1
move-object v3, v7
goto :goto_1
.line 12
:cond_1
invoke-virtual {p1}, Lcz/msebera/android/httpclient/conn/routing/a;->getTargetHost()Lcz/msebera/android/httpclient/HttpHost;
move-result-object v2
move-object v3, v2
.line 13
:goto_1
invoke-virtual {p1}, Lcz/msebera/android/httpclient/conn/routing/a;->getLocalAddress()Ljava/net/InetAddress;
move-result-object v4
move-object v2, v0
move-object v5, p2
move-object v6, p3
.line 14
invoke-interface/range {v1 .. v6}, Lqf/e;->b(Lqf/s;Lcz/msebera/android/httpclient/HttpHost;Ljava/net/InetAddress;Lpg/g;Lng/i;)V
.line 15
monitor-enter p0
.line 16
:try_start_1
iget-object p1, p0, Leg/c0;->c:Leg/u;
if-eqz p1, :cond_3
.line 17
iget-object p1, p0, Leg/c0;->c:Leg/u;
invoke-virtual {p1}, Leg/u;->p()Lcz/msebera/android/httpclient/conn/routing/b;
move-result-object p1
if-nez v7, :cond_2
.line 18
invoke-interface {v0}, Lqf/s;->isSecure()Z
move-result p2
invoke-virtual {p1, p2}, Lcz/msebera/android/httpclient/conn/routing/b;->b(Z)V
goto :goto_2
.line 19
:cond_2
invoke-interface {v0}, Lqf/s;->isSecure()Z
move-result p2
invoke-virtual {p1, v7, p2}, Lcz/msebera/android/httpclient/conn/routing/b;->a(Lcz/msebera/android/httpclient/HttpHost;Z)V
.line 20
:goto_2
monitor-exit p0
return-void
.line 21
:cond_3
new-instance p1, Ljava/io/InterruptedIOException;
invoke-direct {p1}, Ljava/io/InterruptedIOException;-><init>()V
throw p1
:catchall_0
move-exception p1
.line 22
monitor-exit p0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw p1
.line 23
:cond_4
:try_start_2
new-instance p1, Lcz/msebera/android/httpclient/impl/conn/ConnectionShutdownException;
invoke-direct {p1}, Lcz/msebera/android/httpclient/impl/conn/ConnectionShutdownException;-><init>()V
throw p1
:catchall_1
move-exception p1
.line 24
monitor-exit p0
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
throw p1
.end method
.method public abortConnection()V
.locals 4
.line 1
monitor-enter p0
.line 2
:try_start_0
iget-object v0, p0, Leg/c0;->c:Leg/u;
if-nez v0, :cond_0
.line 3
monitor-exit p0
return-void
:cond_0
const/4 v0, 0x0
.line 4
iput-boolean v0, p0, Leg/c0;->d:Z
.line 5
iget-object v0, p0, Leg/c0;->c:Leg/u;
invoke-virtual {v0}, Log/e;->b()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lqf/s;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 6
:try_start_1
invoke-interface {v0}, Ldf/i;->shutdown()V
:try_end_1
.catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0
.catchall {:try_start_1 .. :try_end_1} :catchall_0
.line 7
:catch_0
:try_start_2
iget-object v0, p0, Leg/c0;->a:Lqf/c;
iget-wide v1, p0, Leg/c0;->e:J
sget-object v3, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invoke-interface {v0, p0, v1, v2, v3}, Lqf/c;->d(Lqf/p;JLjava/util/concurrent/TimeUnit;)V
const/4 v0, 0x0
.line 8
iput-object v0, p0, Leg/c0;->c:Leg/u;
.line 9
monitor-exit p0
return-void
:catchall_0
move-exception v0
monitor-exit p0
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
throw v0
.end method
.method public final b()Lqf/s;
.locals 1
.line 1
iget-object v0, p0, Leg/c0;->c:Leg/u;
if-eqz v0, :cond_0
.line 2
invoke-virtual {v0}, Log/e;->b()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lqf/s;
return-object v0
.line 3
:cond_0
new-instance v0, Lcz/msebera/android/httpclient/impl/conn/ConnectionShutdownException;
invoke-direct {v0}, Lcz/msebera/android/httpclient/impl/conn/ConnectionShutdownException;-><init>()V
throw v0
.end method
.method public final c()Leg/u;
.locals 1
.line 1
iget-object v0, p0, Leg/c0;->c:Leg/u;
if-eqz v0, :cond_0
return-object v0
.line 2
:cond_0
new-instance v0, Lcz/msebera/android/httpclient/impl/conn/ConnectionShutdownException;
invoke-direct {v0}, Lcz/msebera/android/httpclient/impl/conn/ConnectionShutdownException;-><init>()V
throw v0
.end method
.method public close()V
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 1
iget-object v0, p0, Leg/c0;->c:Leg/u;
if-eqz v0, :cond_0
.line 2
invoke-virtual {v0}, Log/e;->b()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lqf/s;
.line 3
invoke-virtual {v0}, Leg/u;->p()Lcz/msebera/android/httpclient/conn/routing/b;
move-result-object v0
invoke-virtual {v0}, Lcz/msebera/android/httpclient/conn/routing/b;->e()V
.line 4
invoke-interface {v1}, Ldf/i;->close()V
:cond_0
return-void
.end method
.method public d(Ljava/lang/String;)Ljava/lang/Object;
.locals 2
.line 1
invoke-virtual {p0}, Leg/c0;->b()Lqf/s;
move-result-object v0
.line 2
instance-of v1, v0, Lpg/g;
if-eqz v1, :cond_0
.line 3
check-cast v0, Lpg/g;
invoke-interface {v0, p1}, Lpg/g;->getAttribute(Ljava/lang/String;)Ljava/lang/Object;
move-result-object p1
return-object p1
:cond_0
const/4 p1, 0x0
return-object p1
.end method
.method public final f()Lqf/s;
.locals 1
.line 1
iget-object v0, p0, Leg/c0;->c:Leg/u;
if-nez v0, :cond_0
const/4 v0, 0x0
return-object v0
.line 2
:cond_0
invoke-virtual {v0}, Log/e;->b()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lqf/s;
return-object v0
.end method
.method public flush()V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 1
invoke-virtual {p0}, Leg/c0;->b()Lqf/s;
move-result-object v0
.line 2
invoke-interface {v0}, Ldf/h;->flush()V
return-void
.end method
.method public getId()Ljava/lang/String;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public getLocalAddress()Ljava/net/InetAddress;
.locals 1
.line 1
invoke-virtual {p0}, Leg/c0;->b()Lqf/s;
move-result-object v0
.line 2
invoke-interface {v0}, Ldf/o;->getLocalAddress()Ljava/net/InetAddress;
move-result-object v0
return-object v0
.end method
.method public getLocalPort()I
.locals 1
.line 1
invoke-virtual {p0}, Leg/c0;->b()Lqf/s;
move-result-object v0
.line 2
invoke-interface {v0}, Ldf/o;->getLocalPort()I
move-result v0
return v0
.end method
.method public getMetrics()Ldf/k;
.locals 1
.line 1
invoke-virtual {p0}, Leg/c0;->b()Lqf/s;
move-result-object v0
.line 2
invoke-interface {v0}, Ldf/i;->getMetrics()Ldf/k;
move-result-object v0
return-object v0
.end method
.method public getRemoteAddress()Ljava/net/InetAddress;
.locals 1
.line 1
invoke-virtual {p0}, Leg/c0;->b()Lqf/s;
move-result-object v0
.line 2
invoke-interface {v0}, Ldf/o;->getRemoteAddress()Ljava/net/InetAddress;
move-result-object v0
return-object v0
.end method
.method public getRemotePort()I
.locals 1
.line 1
invoke-virtual {p0}, Leg/c0;->b()Lqf/s;
move-result-object v0
.line 2
invoke-interface {v0}, Ldf/o;->getRemotePort()I
move-result v0
return v0
.end method
.method public getRoute()Lcz/msebera/android/httpclient/conn/routing/a;
.locals 1
.line 1
invoke-virtual {p0}, Leg/c0;->c()Leg/u;
move-result-object v0
.line 2
invoke-virtual {v0}, Leg/u;->n()Lcz/msebera/android/httpclient/conn/routing/a;
move-result-object v0
return-object v0
.end method
.method public getSSLSession()Ljavax/net/ssl/SSLSession;
.locals 2
.line 1
invoke-virtual {p0}, Leg/c0;->b()Lqf/s;
move-result-object v0
.line 2
invoke-interface {v0}, Lqf/s;->getSocket()Ljava/net/Socket;
move-result-object v0
.line 3
instance-of v1, v0, Ljavax/net/ssl/SSLSocket;
if-eqz v1, :cond_0
.line 4
check-cast v0, Ljavax/net/ssl/SSLSocket;
invoke-virtual {v0}, Ljavax/net/ssl/SSLSocket;->getSession()Ljavax/net/ssl/SSLSession;
move-result-object v0
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return-object v0
.end method
.method public getSocket()Ljava/net/Socket;
.locals 1
.line 1
invoke-virtual {p0}, Leg/c0;->b()Lqf/s;
move-result-object v0
.line 2
invoke-interface {v0}, Lqf/s;->getSocket()Ljava/net/Socket;
move-result-object v0
return-object v0
.end method
.method public getSocketTimeout()I
.locals 1
.line 1
invoke-virtual {p0}, Leg/c0;->b()Lqf/s;
move-result-object v0
.line 2
invoke-interface {v0}, Ldf/i;->getSocketTimeout()I
move-result v0
return v0
.end method
.method public getState()Ljava/lang/Object;
.locals 1
.line 1
invoke-virtual {p0}, Leg/c0;->c()Leg/u;
move-result-object v0
.line 2
invoke-virtual {v0}, Log/e;->g()Ljava/lang/Object;
move-result-object v0
return-object v0
.end method
.method public i0(Lpg/g;Lng/i;)V
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const-string v0, "HTTP parameters"
.line 1
invoke-static {p2, v0}, Lqg/a;->h(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 2
monitor-enter p0
.line 3
:try_start_0
iget-object v0, p0, Leg/c0;->c:Leg/u;
if-eqz v0, :cond_2
.line 4
iget-object v0, p0, Leg/c0;->c:Leg/u;
invoke-virtual {v0}, Leg/u;->p()Lcz/msebera/android/httpclient/conn/routing/b;
move-result-object v0
const-string v1, "Route tracker"
.line 5
invoke-static {v0, v1}, Lqg/b;->e(Ljava/lang/Object;Ljava/lang/String;)V
.line 6
invoke-virtual {v0}, Lcz/msebera/android/httpclient/conn/routing/b;->c()Z
move-result v1
const-string v2, "Connection not open"
invoke-static {v1, v2}, Lqg/b;->a(ZLjava/lang/String;)V
.line 7
invoke-virtual {v0}, Lcz/msebera/android/httpclient/conn/routing/b;->isTunnelled()Z
move-result v1
const-string v2, "Protocol layering without a tunnel not supported"
invoke-static {v1, v2}, Lqg/b;->a(ZLjava/lang/String;)V
.line 8
invoke-virtual {v0}, Lcz/msebera/android/httpclient/conn/routing/b;->isLayered()Z
move-result v1
if-nez v1, :cond_0
const/4 v1, 0x1
goto :goto_0
:cond_0
const/4 v1, 0x0
:goto_0
const-string v2, "Multiple protocol layering not supported"
invoke-static {v1, v2}, Lqg/b;->a(ZLjava/lang/String;)V
.line 9
invoke-virtual {v0}, Lcz/msebera/android/httpclient/conn/routing/b;->getTargetHost()Lcz/msebera/android/httpclient/HttpHost;
move-result-object v0
.line 10
iget-object v1, p0, Leg/c0;->c:Leg/u;
invoke-virtual {v1}, Log/e;->b()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lqf/s;
.line 11
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
.line 12
iget-object v2, p0, Leg/c0;->b:Lqf/e;
invoke-interface {v2, v1, v0, p1, p2}, Lqf/e;->a(Lqf/s;Lcz/msebera/android/httpclient/HttpHost;Lpg/g;Lng/i;)V
.line 13
monitor-enter p0
.line 14
:try_start_1
iget-object p1, p0, Leg/c0;->c:Leg/u;
if-eqz p1, :cond_1
.line 15
iget-object p1, p0, Leg/c0;->c:Leg/u;
invoke-virtual {p1}, Leg/u;->p()Lcz/msebera/android/httpclient/conn/routing/b;
move-result-object p1
.line 16
invoke-interface {v1}, Lqf/s;->isSecure()Z
move-result p2
invoke-virtual {p1, p2}, Lcz/msebera/android/httpclient/conn/routing/b;->d(Z)V
.line 17
monitor-exit p0
return-void
.line 18
:cond_1
new-instance p1, Ljava/io/InterruptedIOException;
invoke-direct {p1}, Ljava/io/InterruptedIOException;-><init>()V
throw p1
:catchall_0
move-exception p1
.line 19
monitor-exit p0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw p1
.line 20
:cond_2
:try_start_2
new-instance p1, Lcz/msebera/android/httpclient/impl/conn/ConnectionShutdownException;
invoke-direct {p1}, Lcz/msebera/android/httpclient/impl/conn/ConnectionShutdownException;-><init>()V
throw p1
:catchall_1
move-exception p1
.line 21
monitor-exit p0
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
throw p1
.end method
.method public isMarkedReusable()Z
.locals 1
.line 1
iget-boolean v0, p0, Leg/c0;->d:Z
return v0
.end method
.method public isOpen()Z
.locals 1
.line 1
invoke-virtual {p0}, Leg/c0;->f()Lqf/s;
move-result-object v0
if-eqz v0, :cond_0
.line 2
invoke-interface {v0}, Ldf/i;->isOpen()Z
move-result v0
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public isResponseAvailable(I)Z
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 1
invoke-virtual {p0}, Leg/c0;->b()Lqf/s;
move-result-object v0
.line 2
invoke-interface {v0, p1}, Ldf/h;->isResponseAvailable(I)Z
move-result p1
return p1
.end method
.method public isSecure()Z
.locals 1
.line 1
invoke-virtual {p0}, Leg/c0;->b()Lqf/s;
move-result-object v0
.line 2
invoke-interface {v0}, Lqf/s;->isSecure()Z
move-result v0
return v0
.end method
.method public isStale()Z
.locals 1
.line 1
invoke-virtual {p0}, Leg/c0;->f()Lqf/s;
move-result-object v0
if-eqz v0, :cond_0
.line 2
invoke-interface {v0}, Ldf/i;->isStale()Z
move-result v0
return v0
:cond_0
const/4 v0, 0x1
return v0
.end method
.method public k()Lqf/c;
.locals 1
.line 1
iget-object v0, p0, Leg/c0;->a:Lqf/c;
return-object v0
.end method
.method public markReusable()V
.locals 1
const/4 v0, 0x1
.line 1
iput-boolean v0, p0, Leg/c0;->d:Z
return-void
.end method
.method public p0(ZLng/i;)V
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const-string v0, "HTTP parameters"
.line 1
invoke-static {p2, v0}, Lqg/a;->h(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 2
monitor-enter p0
.line 3
:try_start_0
iget-object v0, p0, Leg/c0;->c:Leg/u;
if-eqz v0, :cond_2
.line 4
iget-object v0, p0, Leg/c0;->c:Leg/u;
invoke-virtual {v0}, Leg/u;->p()Lcz/msebera/android/httpclient/conn/routing/b;
move-result-object v0
const-string v1, "Route tracker"
.line 5
invoke-static {v0, v1}, Lqg/b;->e(Ljava/lang/Object;Ljava/lang/String;)V
.line 6
invoke-virtual {v0}, Lcz/msebera/android/httpclient/conn/routing/b;->c()Z
move-result v1
const-string v2, "Connection not open"
invoke-static {v1, v2}, Lqg/b;->a(ZLjava/lang/String;)V
.line 7
invoke-virtual {v0}, Lcz/msebera/android/httpclient/conn/routing/b;->isTunnelled()Z
move-result v1
if-nez v1, :cond_0
const/4 v1, 0x1
goto :goto_0
:cond_0
const/4 v1, 0x0
:goto_0
const-string v2, "Connection is already tunnelled"
invoke-static {v1, v2}, Lqg/b;->a(ZLjava/lang/String;)V
.line 8
invoke-virtual {v0}, Lcz/msebera/android/httpclient/conn/routing/b;->getTargetHost()Lcz/msebera/android/httpclient/HttpHost;
move-result-object v0
.line 9
iget-object v1, p0, Leg/c0;->c:Leg/u;
invoke-virtual {v1}, Log/e;->b()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lqf/s;
.line 10
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
const/4 v2, 0x0
.line 11
invoke-interface {v1, v2, v0, p1, p2}, Lqf/s;->L0(Ljava/net/Socket;Lcz/msebera/android/httpclient/HttpHost;ZLng/i;)V
.line 12
monitor-enter p0
.line 13
:try_start_1
iget-object p2, p0, Leg/c0;->c:Leg/u;
if-eqz p2, :cond_1
.line 14
iget-object p2, p0, Leg/c0;->c:Leg/u;
invoke-virtual {p2}, Leg/u;->p()Lcz/msebera/android/httpclient/conn/routing/b;
move-result-object p2
.line 15
invoke-virtual {p2, p1}, Lcz/msebera/android/httpclient/conn/routing/b;->h(Z)V
.line 16
monitor-exit p0
return-void
.line 17
:cond_1
new-instance p1, Ljava/io/InterruptedIOException;
invoke-direct {p1}, Ljava/io/InterruptedIOException;-><init>()V
throw p1
:catchall_0
move-exception p1
.line 18
monitor-exit p0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw p1
.line 19
:cond_2
:try_start_2
new-instance p1, Lcz/msebera/android/httpclient/impl/conn/ConnectionShutdownException;
invoke-direct {p1}, Lcz/msebera/android/httpclient/impl/conn/ConnectionShutdownException;-><init>()V
throw p1
:catchall_1
move-exception p1
.line 20
monitor-exit p0
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
throw p1
.end method
.method public receiveResponseHeader()Ldf/t;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Lcz/msebera/android/httpclient/HttpException;,
Ljava/io/IOException;
}
.end annotation
.line 1
invoke-virtual {p0}, Leg/c0;->b()Lqf/s;
move-result-object v0
.line 2
invoke-interface {v0}, Ldf/h;->receiveResponseHeader()Ldf/t;
move-result-object v0
return-object v0
.end method
.method public releaseConnection()V
.locals 4
.line 1
monitor-enter p0
.line 2
:try_start_0
iget-object v0, p0, Leg/c0;->c:Leg/u;
if-nez v0, :cond_0
.line 3
monitor-exit p0
return-void
.line 4
:cond_0
iget-object v0, p0, Leg/c0;->a:Lqf/c;
iget-wide v1, p0, Leg/c0;->e:J
sget-object v3, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invoke-interface {v0, p0, v1, v2, v3}, Lqf/c;->d(Lqf/p;JLjava/util/concurrent/TimeUnit;)V
const/4 v0, 0x0
.line 5
iput-object v0, p0, Leg/c0;->c:Leg/u;
.line 6
monitor-exit p0
return-void
:catchall_0
move-exception v0
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v0
.end method
.method public setIdleDuration(JLjava/util/concurrent/TimeUnit;)V
.locals 2
const-wide/16 v0, 0x0
cmp-long v0, p1, v0
if-lez v0, :cond_0
.line 1
invoke-virtual {p3, p1, p2}, Ljava/util/concurrent/TimeUnit;->toMillis(J)J
move-result-wide p1
iput-wide p1, p0, Leg/c0;->e:J
goto :goto_0
:cond_0
const-wide/16 p1, -0x1
.line 2
iput-wide p1, p0, Leg/c0;->e:J
:goto_0
return-void
.end method
.method public setSocketTimeout(I)V
.locals 1
.line 1
invoke-virtual {p0}, Leg/c0;->b()Lqf/s;
move-result-object v0
.line 2
invoke-interface {v0, p1}, Ldf/i;->setSocketTimeout(I)V
return-void
.end method
.method public setState(Ljava/lang/Object;)V
.locals 1
.line 1
invoke-virtual {p0}, Leg/c0;->c()Leg/u;
move-result-object v0
.line 2
invoke-virtual {v0, p1}, Log/e;->l(Ljava/lang/Object;)V
return-void
.end method
.method public shutdown()V
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 1
iget-object v0, p0, Leg/c0;->c:Leg/u;
if-eqz v0, :cond_0
.line 2
invoke-virtual {v0}, Log/e;->b()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lqf/s;
.line 3
invoke-virtual {v0}, Leg/u;->p()Lcz/msebera/android/httpclient/conn/routing/b;
move-result-object v0
invoke-virtual {v0}, Lcz/msebera/android/httpclient/conn/routing/b;->e()V
.line 4
invoke-interface {v1}, Ldf/i;->shutdown()V
:cond_0
return-void
.end method
.method public u()Leg/u;
.locals 1
.line 1
iget-object v0, p0, Leg/c0;->c:Leg/u;
return-object v0
.end method
.method public unmarkReusable()V
.locals 1
const/4 v0, 0x0
.line 1
iput-boolean v0, p0, Leg/c0;->d:Z
return-void
.end method
.method public v(Ljava/lang/String;)Ljava/lang/Object;
.locals 2
.line 1
invoke-virtual {p0}, Leg/c0;->b()Lqf/s;
move-result-object v0
.line 2
instance-of v1, v0, Lpg/g;
if-eqz v1, :cond_0
.line 3
check-cast v0, Lpg/g;
invoke-interface {v0, p1}, Lpg/g;->removeAttribute(Ljava/lang/String;)Ljava/lang/Object;
move-result-object p1
return-object p1
:cond_0
const/4 p1, 0x0
return-object p1
.end method
.method public v1(Ljava/net/Socket;)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 1
new-instance p1, Ljava/lang/UnsupportedOperationException;
invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;-><init>()V
throw p1
.end method
.method public y(Lcz/msebera/android/httpclient/HttpHost;ZLng/i;)V
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const-string v0, "Next proxy"
.line 1
invoke-static {p1, v0}, Lqg/a;->h(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
const-string v0, "HTTP parameters"
.line 2
invoke-static {p3, v0}, Lqg/a;->h(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 3
monitor-enter p0
.line 4
:try_start_0
iget-object v0, p0, Leg/c0;->c:Leg/u;
if-eqz v0, :cond_1
.line 5
iget-object v0, p0, Leg/c0;->c:Leg/u;
invoke-virtual {v0}, Leg/u;->p()Lcz/msebera/android/httpclient/conn/routing/b;
move-result-object v0
const-string v1, "Route tracker"
.line 6
invoke-static {v0, v1}, Lqg/b;->e(Ljava/lang/Object;Ljava/lang/String;)V
.line 7
invoke-virtual {v0}, Lcz/msebera/android/httpclient/conn/routing/b;->c()Z
move-result v0
const-string v1, "Connection not open"
invoke-static {v0, v1}, Lqg/b;->a(ZLjava/lang/String;)V
.line 8
iget-object v0, p0, Leg/c0;->c:Leg/u;
invoke-virtual {v0}, Log/e;->b()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lqf/s;
.line 9
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
const/4 v1, 0x0
.line 10
invoke-interface {v0, v1, p1, p2, p3}, Lqf/s;->L0(Ljava/net/Socket;Lcz/msebera/android/httpclient/HttpHost;ZLng/i;)V
.line 11
monitor-enter p0
.line 12
:try_start_1
iget-object p3, p0, Leg/c0;->c:Leg/u;
if-eqz p3, :cond_0
.line 13
iget-object p3, p0, Leg/c0;->c:Leg/u;
invoke-virtual {p3}, Leg/u;->p()Lcz/msebera/android/httpclient/conn/routing/b;
move-result-object p3
.line 14
invoke-virtual {p3, p1, p2}, Lcz/msebera/android/httpclient/conn/routing/b;->g(Lcz/msebera/android/httpclient/HttpHost;Z)V
.line 15
monitor-exit p0
return-void
.line 16
:cond_0
new-instance p1, Ljava/io/InterruptedIOException;
invoke-direct {p1}, Ljava/io/InterruptedIOException;-><init>()V
throw p1
:catchall_0
move-exception p1
.line 17
monitor-exit p0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw p1
.line 18
:cond_1
:try_start_2
new-instance p1, Lcz/msebera/android/httpclient/impl/conn/ConnectionShutdownException;
invoke-direct {p1}, Lcz/msebera/android/httpclient/impl/conn/ConnectionShutdownException;-><init>()V
throw p1
:catchall_1
move-exception p1
.line 19
monitor-exit p0
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
throw p1
.end method
.method public y1(Ldf/t;)V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Lcz/msebera/android/httpclient/HttpException;,
Ljava/io/IOException;
}
.end annotation
.line 1
invoke-virtual {p0}, Leg/c0;->b()Lqf/s;
move-result-object v0
.line 2
invoke-interface {v0, p1}, Ldf/h;->y1(Ldf/t;)V
return-void
.end method
.method public z(Ldf/q;)V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Lcz/msebera/android/httpclient/HttpException;,
Ljava/io/IOException;
}
.end annotation
.line 1
invoke-virtual {p0}, Leg/c0;->b()Lqf/s;
move-result-object v0
.line 2
invoke-interface {v0, p1}, Ldf/h;->z(Ldf/q;)V
return-void
.end method