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

114 lines
2.5 KiB
Smali

.class public Lcom/loopj/android/http/a$c;
.super Ljava/lang/Object;
.source "AsyncHttpClient.java"
# interfaces
.implements Ldf/s;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/loopj/android/http/a;-><init>(Ltf/j;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic a:Lcom/loopj/android/http/a;
# direct methods
.method public constructor <init>(Lcom/loopj/android/http/a;)V
.locals 0
.line 1
iput-object p1, p0, Lcom/loopj/android/http/a$c;->a:Lcom/loopj/android/http/a;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public e(Ldf/q;Lpg/g;)V
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Lcz/msebera/android/httpclient/HttpException;,
Ljava/io/IOException;
}
.end annotation
const-string p1, "http.auth.target-scope"
.line 1
invoke-interface {p2, p1}, Lpg/g;->getAttribute(Ljava/lang/String;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lef/h;
const-string v0, "http.auth.credentials-provider"
.line 2
invoke-interface {p2, v0}, Lpg/g;->getAttribute(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lgf/g;
const-string v1, "http.target_host"
.line 3
invoke-interface {p2, v1}, Lpg/g;->getAttribute(Ljava/lang/String;)Ljava/lang/Object;
move-result-object p2
check-cast p2, Lcz/msebera/android/httpclient/HttpHost;
.line 4
invoke-virtual {p1}, Lef/h;->b()Lef/c;
move-result-object v1
if-nez v1, :cond_0
.line 5
new-instance v1, Lef/g;
invoke-virtual {p2}, Lcz/msebera/android/httpclient/HttpHost;->getHostName()Ljava/lang/String;
move-result-object v2
invoke-virtual {p2}, Lcz/msebera/android/httpclient/HttpHost;->getPort()I
move-result p2
invoke-direct {v1, v2, p2}, Lef/g;-><init>(Ljava/lang/String;I)V
.line 6
invoke-interface {v0, v1}, Lgf/g;->b(Lef/g;)Lef/j;
move-result-object p2
if-eqz p2, :cond_0
.line 7
new-instance v0, Lcz/msebera/android/httpclient/impl/auth/b;
invoke-direct {v0}, Lcz/msebera/android/httpclient/impl/auth/b;-><init>()V
invoke-virtual {p1, v0}, Lef/h;->j(Lef/c;)V
.line 8
invoke-virtual {p1, p2}, Lef/h;->l(Lef/j;)V
:cond_0
return-void
.end method