.class final Lcom/tencent/open/utils/HttpUtils$1; .super Ljava/lang/Thread; .source "ProGuard" # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/tencent/open/utils/HttpUtils;->a(Lcom/tencent/connect/auth/QQToken;Landroid/content/Context;Ljava/lang/String;Landroid/os/Bundle;Ljava/lang/String;Lcom/tencent/tauth/IRequestListener;)V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x8 name = null .end annotation # instance fields .field final synthetic a:Lcom/tencent/connect/auth/QQToken; .field final synthetic b:Landroid/content/Context; .field final synthetic c:Ljava/lang/String; .field final synthetic d:Landroid/os/Bundle; .field final synthetic e:Ljava/lang/String; .field final synthetic f:Lcom/tencent/tauth/IRequestListener; # direct methods .method constructor (Lcom/tencent/connect/auth/QQToken;Landroid/content/Context;Ljava/lang/String;Landroid/os/Bundle;Ljava/lang/String;Lcom/tencent/tauth/IRequestListener;)V .locals 0 .line 324 iput-object p1, p0, Lcom/tencent/open/utils/HttpUtils$1;->a:Lcom/tencent/connect/auth/QQToken; iput-object p2, p0, Lcom/tencent/open/utils/HttpUtils$1;->b:Landroid/content/Context; iput-object p3, p0, Lcom/tencent/open/utils/HttpUtils$1;->c:Ljava/lang/String; iput-object p4, p0, Lcom/tencent/open/utils/HttpUtils$1;->d:Landroid/os/Bundle; iput-object p5, p0, Lcom/tencent/open/utils/HttpUtils$1;->e:Ljava/lang/String; iput-object p6, p0, Lcom/tencent/open/utils/HttpUtils$1;->f:Lcom/tencent/tauth/IRequestListener; invoke-direct {p0}, Ljava/lang/Thread;->()V return-void .end method # virtual methods .method public run()V .locals 5 .line 328 :try_start_0 iget-object v0, p0, Lcom/tencent/open/utils/HttpUtils$1;->a:Lcom/tencent/connect/auth/QQToken; iget-object v1, p0, Lcom/tencent/open/utils/HttpUtils$1;->b:Landroid/content/Context; iget-object v2, p0, Lcom/tencent/open/utils/HttpUtils$1;->c:Ljava/lang/String; iget-object v3, p0, Lcom/tencent/open/utils/HttpUtils$1;->d:Landroid/os/Bundle; iget-object v4, p0, Lcom/tencent/open/utils/HttpUtils$1;->e:Ljava/lang/String; invoke-static {v0, v1, v2, v3, v4}, Lcom/tencent/open/utils/HttpUtils;->a(Lcom/tencent/connect/auth/QQToken;Landroid/content/Context;Ljava/lang/String;Landroid/os/Bundle;Ljava/lang/String;)Lorg/json/JSONObject; move-result-object v0 .line 330 iget-object v1, p0, Lcom/tencent/open/utils/HttpUtils$1;->f:Lcom/tencent/tauth/IRequestListener; if-eqz v1, :cond_0 .line 331 iget-object v1, p0, Lcom/tencent/open/utils/HttpUtils$1;->f:Lcom/tencent/tauth/IRequestListener; invoke-interface {v1, v0}, Lcom/tencent/tauth/IRequestListener;->a(Lorg/json/JSONObject;)V const-string v0, "openSDK_LOG.HttpUtils" const-string v1, "OpenApi onComplete" .line 332 invoke-static {v0, v1}, Lcom/tencent/open/a/f;->b(Ljava/lang/String;Ljava/lang/String;)V :try_end_0 .catch Ljava/net/MalformedURLException; {:try_start_0 .. :try_end_0} :catch_7 .catch Lorg/apache/http/conn/ConnectTimeoutException; {:try_start_0 .. :try_end_0} :catch_6 .catch Ljava/net/SocketTimeoutException; {:try_start_0 .. :try_end_0} :catch_5 .catch Lcom/tencent/open/utils/HttpUtils$NetworkUnavailableException; {:try_start_0 .. :try_end_0} :catch_4 .catch Lcom/tencent/open/utils/HttpUtils$HttpStatusException; {:try_start_0 .. :try_end_0} :catch_3 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_2 .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_1 .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0 goto/16 :goto_0 :catch_0 move-exception v0 .line 370 iget-object v1, p0, Lcom/tencent/open/utils/HttpUtils$1;->f:Lcom/tencent/tauth/IRequestListener; if-eqz v1, :cond_0 .line 371 iget-object v1, p0, Lcom/tencent/open/utils/HttpUtils$1;->f:Lcom/tencent/tauth/IRequestListener; invoke-interface {v1, v0}, Lcom/tencent/tauth/IRequestListener;->a(Ljava/lang/Exception;)V const-string v1, "openSDK_LOG.HttpUtils" const-string v2, "OpenApi requestAsync onUnknowException" .line 372 invoke-static {v1, v2, v0}, Lcom/tencent/open/a/f;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V goto/16 :goto_0 :catch_1 move-exception v0 .line 365 iget-object v1, p0, Lcom/tencent/open/utils/HttpUtils$1;->f:Lcom/tencent/tauth/IRequestListener; if-eqz v1, :cond_0 .line 366 iget-object v1, p0, Lcom/tencent/open/utils/HttpUtils$1;->f:Lcom/tencent/tauth/IRequestListener; invoke-interface {v1, v0}, Lcom/tencent/tauth/IRequestListener;->a(Lorg/json/JSONException;)V const-string v1, "openSDK_LOG.HttpUtils" const-string v2, "OpenApi requestAsync JSONException" .line 367 invoke-static {v1, v2, v0}, Lcom/tencent/open/a/f;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V goto :goto_0 :catch_2 move-exception v0 .line 360 iget-object v1, p0, Lcom/tencent/open/utils/HttpUtils$1;->f:Lcom/tencent/tauth/IRequestListener; if-eqz v1, :cond_0 .line 361 iget-object v1, p0, Lcom/tencent/open/utils/HttpUtils$1;->f:Lcom/tencent/tauth/IRequestListener; invoke-interface {v1, v0}, Lcom/tencent/tauth/IRequestListener;->a(Ljava/io/IOException;)V const-string v1, "openSDK_LOG.HttpUtils" const-string v2, "OpenApi requestAsync IOException" .line 362 invoke-static {v1, v2, v0}, Lcom/tencent/open/a/f;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V goto :goto_0 :catch_3 move-exception v0 .line 355 iget-object v1, p0, Lcom/tencent/open/utils/HttpUtils$1;->f:Lcom/tencent/tauth/IRequestListener; if-eqz v1, :cond_0 .line 356 iget-object v1, p0, Lcom/tencent/open/utils/HttpUtils$1;->f:Lcom/tencent/tauth/IRequestListener; invoke-interface {v1, v0}, Lcom/tencent/tauth/IRequestListener;->a(Lcom/tencent/open/utils/HttpUtils$HttpStatusException;)V const-string v1, "openSDK_LOG.HttpUtils" const-string v2, "OpenApi requestAsync onHttpStatusException" .line 357 invoke-static {v1, v2, v0}, Lcom/tencent/open/a/f;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V goto :goto_0 :catch_4 move-exception v0 .line 350 iget-object v1, p0, Lcom/tencent/open/utils/HttpUtils$1;->f:Lcom/tencent/tauth/IRequestListener; if-eqz v1, :cond_0 .line 351 iget-object v1, p0, Lcom/tencent/open/utils/HttpUtils$1;->f:Lcom/tencent/tauth/IRequestListener; invoke-interface {v1, v0}, Lcom/tencent/tauth/IRequestListener;->a(Lcom/tencent/open/utils/HttpUtils$NetworkUnavailableException;)V const-string v1, "openSDK_LOG.HttpUtils" const-string v2, "OpenApi requestAsync onNetworkUnavailableException" .line 352 invoke-static {v1, v2, v0}, Lcom/tencent/open/a/f;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V goto :goto_0 :catch_5 move-exception v0 .line 345 iget-object v1, p0, Lcom/tencent/open/utils/HttpUtils$1;->f:Lcom/tencent/tauth/IRequestListener; if-eqz v1, :cond_0 .line 346 iget-object v1, p0, Lcom/tencent/open/utils/HttpUtils$1;->f:Lcom/tencent/tauth/IRequestListener; invoke-interface {v1, v0}, Lcom/tencent/tauth/IRequestListener;->a(Ljava/net/SocketTimeoutException;)V const-string v1, "openSDK_LOG.HttpUtils" const-string v2, "OpenApi requestAsync onSocketTimeoutException" .line 347 invoke-static {v1, v2, v0}, Lcom/tencent/open/a/f;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V goto :goto_0 :catch_6 move-exception v0 .line 340 iget-object v1, p0, Lcom/tencent/open/utils/HttpUtils$1;->f:Lcom/tencent/tauth/IRequestListener; if-eqz v1, :cond_0 .line 341 iget-object v1, p0, Lcom/tencent/open/utils/HttpUtils$1;->f:Lcom/tencent/tauth/IRequestListener; invoke-interface {v1, v0}, Lcom/tencent/tauth/IRequestListener;->a(Lorg/apache/http/conn/ConnectTimeoutException;)V const-string v1, "openSDK_LOG.HttpUtils" const-string v2, "OpenApi requestAsync onConnectTimeoutException" .line 342 invoke-static {v1, v2, v0}, Lcom/tencent/open/a/f;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V goto :goto_0 :catch_7 move-exception v0 .line 335 iget-object v1, p0, Lcom/tencent/open/utils/HttpUtils$1;->f:Lcom/tencent/tauth/IRequestListener; if-eqz v1, :cond_0 .line 336 iget-object v1, p0, Lcom/tencent/open/utils/HttpUtils$1;->f:Lcom/tencent/tauth/IRequestListener; invoke-interface {v1, v0}, Lcom/tencent/tauth/IRequestListener;->a(Ljava/net/MalformedURLException;)V const-string v1, "openSDK_LOG.HttpUtils" const-string v2, "OpenApi requestAsync MalformedURLException" .line 337 invoke-static {v1, v2, v0}, Lcom/tencent/open/a/f;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V :cond_0 :goto_0 return-void .end method