115 lines
2.2 KiB
Smali
115 lines
2.2 KiB
Smali
.class public Ldg/i;
|
|
.super Ljava/lang/Object;
|
|
.source "BasicResponseHandler.java"
|
|
|
|
# interfaces
|
|
.implements Lgf/m;
|
|
|
|
|
|
# annotations
|
|
.annotation build Lcz/msebera/android/httpclient/annotation/Immutable;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Object;",
|
|
"Lgf/m<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic a(Ldf/t;)Ljava/lang/Object;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Lcz/msebera/android/httpclient/client/ClientProtocolException;,
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1}, Ldg/i;->b(Ldf/t;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public b(Ldf/t;)Ljava/lang/String;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Lcz/msebera/android/httpclient/client/HttpResponseException;,
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-interface {p1}, Ldf/t;->getStatusLine()Ldf/b0;
|
|
|
|
move-result-object v0
|
|
|
|
.line 2
|
|
invoke-interface {p1}, Ldf/t;->getEntity()Ldf/l;
|
|
|
|
move-result-object p1
|
|
|
|
.line 3
|
|
invoke-interface {v0}, Ldf/b0;->getStatusCode()I
|
|
|
|
move-result v1
|
|
|
|
const/16 v2, 0x12c
|
|
|
|
if-ge v1, v2, :cond_1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
.line 4
|
|
:cond_0
|
|
invoke-static {p1}, Lqg/e;->f(Ldf/l;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_0
|
|
return-object p1
|
|
|
|
.line 5
|
|
:cond_1
|
|
invoke-static {p1}, Lqg/e;->a(Ldf/l;)V
|
|
|
|
.line 6
|
|
new-instance p1, Lcz/msebera/android/httpclient/client/HttpResponseException;
|
|
|
|
invoke-interface {v0}, Ldf/b0;->getStatusCode()I
|
|
|
|
move-result v1
|
|
|
|
.line 7
|
|
invoke-interface {v0}, Ldf/b0;->getReasonPhrase()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p1, v1, v0}, Lcz/msebera/android/httpclient/client/HttpResponseException;-><init>(ILjava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|