110 lines
2.3 KiB
Smali
110 lines
2.3 KiB
Smali
|
.class public final La0/o;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "Response.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">",
|
||
|
"Ljava/lang/Object;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public final a:Lokhttp3/Response;
|
||
|
|
||
|
.field public final b:Ljava/lang/Object;
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"TT;"
|
||
|
}
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field public final c:Lx/z;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Lokhttp3/Response;Ljava/lang/Object;Lx/z;)V
|
||
|
.locals 0
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lokhttp3/Response;",
|
||
|
"TT;",
|
||
|
"Lx/z;",
|
||
|
")V"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
iput-object p1, p0, La0/o;->a:Lokhttp3/Response;
|
||
|
|
||
|
iput-object p2, p0, La0/o;->b:Ljava/lang/Object;
|
||
|
|
||
|
iput-object p3, p0, La0/o;->c:Lx/z;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static a(Ljava/lang/Object;Lokhttp3/Response;)La0/o;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(TT;",
|
||
|
"Lokhttp3/Response;",
|
||
|
")",
|
||
|
"La0/o<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "rawResponse == null"
|
||
|
|
||
|
invoke-static {p1, v0}, La0/s;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
||
|
|
||
|
invoke-virtual {p1}, Lokhttp3/Response;->h()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
new-instance v0, La0/o;
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
invoke-direct {v0, p1, p0, v1}, La0/o;-><init>(Lokhttp3/Response;Ljava/lang/Object;Lx/z;)V
|
||
|
|
||
|
return-object v0
|
||
|
|
||
|
:cond_0
|
||
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
||
|
|
||
|
const-string p1, "rawResponse must be successful response"
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public toString()Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, La0/o;->a:Lokhttp3/Response;
|
||
|
|
||
|
invoke-virtual {v0}, Lokhttp3/Response;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|