.class public Leg/h; .super Ljava/lang/Object; .source "CPoolProxy.java" # interfaces .implements Lqf/q; .implements Lpg/g; # annotations .annotation build Lcz/msebera/android/httpclient/annotation/NotThreadSafe; .end annotation # instance fields .field public volatile a:Leg/g; # direct methods .method public constructor (Leg/g;)V .locals 0 .line 1 invoke-direct {p0}, Ljava/lang/Object;->()V .line 2 iput-object p1, p0, Leg/h;->a:Leg/g; return-void .end method .method public static b(Ldf/h;)Leg/g; .locals 0 .line 1 invoke-static {p0}, Leg/h;->k(Ldf/h;)Leg/h; move-result-object p0 invoke-virtual {p0}, Leg/h;->a()Leg/g; move-result-object p0 return-object p0 .end method .method public static f(Ldf/h;)Leg/g; .locals 0 .line 1 invoke-static {p0}, Leg/h;->k(Ldf/h;)Leg/h; move-result-object p0 invoke-virtual {p0}, Leg/h;->d()Leg/g; move-result-object p0 if-eqz p0, :cond_0 return-object p0 .line 2 :cond_0 new-instance p0, Lcz/msebera/android/httpclient/impl/conn/ConnectionShutdownException; invoke-direct {p0}, Lcz/msebera/android/httpclient/impl/conn/ConnectionShutdownException;->()V throw p0 .end method .method public static k(Ldf/h;)Leg/h; .locals 2 .line 1 const-class v0, Leg/h; invoke-virtual {v0, p0}, Ljava/lang/Class;->isInstance(Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_0 .line 2 const-class v0, Leg/h; invoke-virtual {v0, p0}, Ljava/lang/Class;->cast(Ljava/lang/Object;)Ljava/lang/Object; move-result-object p0 check-cast p0, Leg/h; return-object p0 .line 3 :cond_0 new-instance v0, Ljava/lang/IllegalStateException; const-string v1, "Unexpected connection proxy class: " invoke-static {v1}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v1 invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class; move-result-object p0 invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 invoke-direct {v0, p0}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw v0 .end method .method public static v(Leg/g;)Ldf/h; .locals 1 .line 1 new-instance v0, Leg/h; invoke-direct {v0, p0}, Leg/h;->(Leg/g;)V return-object v0 .end method # virtual methods .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/h;->u()Lqf/q; move-result-object v0 invoke-interface {v0, p1}, Ldf/h;->R0(Ldf/m;)V return-void .end method .method public a()Leg/g; .locals 2 .line 1 iget-object v0, p0, Leg/h;->a:Leg/g; const/4 v1, 0x0 .line 2 iput-object v1, p0, Leg/h;->a:Leg/g; return-object v0 .end method .method public c()Lqf/q; .locals 1 .line 1 iget-object v0, p0, Leg/h;->a:Leg/g; 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/q; return-object v0 .end method .method public close()V .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 1 iget-object v0, p0, Leg/h;->a:Leg/g; if-eqz v0, :cond_0 .line 2 invoke-virtual {v0}, Leg/g;->n()V :cond_0 return-void .end method .method public d()Leg/g; .locals 1 .line 1 iget-object v0, p0, Leg/h;->a:Leg/g; 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/h;->u()Lqf/q; move-result-object v0 invoke-interface {v0}, Ldf/h;->flush()V return-void .end method .method public getAttribute(Ljava/lang/String;)Ljava/lang/Object; .locals 2 .line 1 invoke-virtual {p0}, Leg/h;->u()Lqf/q; 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 getId()Ljava/lang/String; .locals 1 .line 1 invoke-virtual {p0}, Leg/h;->u()Lqf/q; move-result-object v0 invoke-interface {v0}, Lqf/q;->getId()Ljava/lang/String; move-result-object v0 return-object v0 .end method .method public getLocalAddress()Ljava/net/InetAddress; .locals 1 .line 1 invoke-virtual {p0}, Leg/h;->u()Lqf/q; move-result-object v0 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/h;->u()Lqf/q; move-result-object v0 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/h;->u()Lqf/q; move-result-object v0 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/h;->u()Lqf/q; move-result-object v0 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/h;->u()Lqf/q; move-result-object v0 invoke-interface {v0}, Ldf/o;->getRemotePort()I move-result v0 return v0 .end method .method public getSSLSession()Ljavax/net/ssl/SSLSession; .locals 1 .line 1 invoke-virtual {p0}, Leg/h;->u()Lqf/q; move-result-object v0 invoke-interface {v0}, Lqf/q;->getSSLSession()Ljavax/net/ssl/SSLSession; move-result-object v0 return-object v0 .end method .method public getSocket()Ljava/net/Socket; .locals 1 .line 1 invoke-virtual {p0}, Leg/h;->u()Lqf/q; move-result-object v0 invoke-interface {v0}, Lqf/q;->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/h;->u()Lqf/q; move-result-object v0 invoke-interface {v0}, Ldf/i;->getSocketTimeout()I move-result v0 return v0 .end method .method public isOpen()Z .locals 1 .line 1 iget-object v0, p0, Leg/h;->a:Leg/g; if-eqz v0, :cond_0 .line 2 invoke-virtual {v0}, Leg/g;->j()Z move-result v0 xor-int/lit8 v0, v0, 0x1 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/h;->u()Lqf/q; move-result-object v0 invoke-interface {v0, p1}, Ldf/h;->isResponseAvailable(I)Z move-result p1 return p1 .end method .method public isStale()Z .locals 1 .line 1 invoke-virtual {p0}, Leg/h;->c()Lqf/q; 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 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/h;->u()Lqf/q; move-result-object v0 invoke-interface {v0}, Ldf/h;->receiveResponseHeader()Ldf/t; move-result-object v0 return-object v0 .end method .method public removeAttribute(Ljava/lang/String;)Ljava/lang/Object; .locals 2 .line 1 invoke-virtual {p0}, Leg/h;->u()Lqf/q; 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 setAttribute(Ljava/lang/String;Ljava/lang/Object;)V .locals 2 .line 1 invoke-virtual {p0}, Leg/h;->u()Lqf/q; 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 setSocketTimeout(I)V .locals 1 .line 1 invoke-virtual {p0}, Leg/h;->u()Lqf/q; move-result-object v0 invoke-interface {v0, p1}, Ldf/i;->setSocketTimeout(I)V return-void .end method .method public shutdown()V .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 1 iget-object v0, p0, Leg/h;->a:Leg/g; if-eqz v0, :cond_0 .line 2 invoke-virtual {v0}, Leg/g;->q()V :cond_0 return-void .end method .method public toString()Ljava/lang/String; .locals 2 .line 1 new-instance v0, Ljava/lang/StringBuilder; const-string v1, "CPoolProxy{" invoke-direct {v0, v1}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V .line 2 invoke-virtual {p0}, Leg/h;->c()Lqf/q; move-result-object v1 if-eqz v1, :cond_0 .line 3 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; goto :goto_0 :cond_0 const-string v1, "detached" .line 4 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; :goto_0 const/16 v1, 0x7d .line 5 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; .line 6 invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 return-object v0 .end method .method public u()Lqf/q; .locals 1 .line 1 invoke-virtual {p0}, Leg/h;->c()Lqf/q; move-result-object v0 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;->()V throw v0 .end method .method public v1(Ljava/net/Socket;)V .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 1 invoke-virtual {p0}, Leg/h;->u()Lqf/q; move-result-object v0 invoke-interface {v0, p1}, Lqf/q;->v1(Ljava/net/Socket;)V return-void .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/h;->u()Lqf/q; move-result-object v0 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/h;->u()Lqf/q; move-result-object v0 invoke-interface {v0, p1}, Ldf/h;->z(Ldf/q;)V return-void .end method