2020-11-05 20:51:11 +00:00
|
|
|
.class public final Lj0/b0;
|
2020-09-09 19:21:20 +00:00
|
|
|
.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:Lokhttp3/ResponseBody;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Lokhttp3/Response;Ljava/lang/Object;Lokhttp3/ResponseBody;)V
|
|
|
|
.locals 0
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lokhttp3/Response;",
|
|
|
|
"TT;",
|
|
|
|
"Lokhttp3/ResponseBody;",
|
|
|
|
")V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
2020-11-05 20:51:11 +00:00
|
|
|
iput-object p1, p0, Lj0/b0;->a:Lokhttp3/Response;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-11-05 20:51:11 +00:00
|
|
|
iput-object p2, p0, Lj0/b0;->b:Ljava/lang/Object;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-11-05 20:51:11 +00:00
|
|
|
iput-object p3, p0, Lj0/b0;->c:Lokhttp3/ResponseBody;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-11-05 20:51:11 +00:00
|
|
|
.method public static b(Ljava/lang/Object;Lokhttp3/Response;)Lj0/b0;
|
2020-09-09 19:21:20 +00:00
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(TT;",
|
|
|
|
"Lokhttp3/Response;",
|
|
|
|
")",
|
2020-11-05 20:51:11 +00:00
|
|
|
"Lj0/b0<",
|
2020-09-09 19:21:20 +00:00
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-string v0, "rawResponse == null"
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {p1, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1}, Lokhttp3/Response;->b()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-11-05 20:51:11 +00:00
|
|
|
new-instance v0, Lj0/b0;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
2020-11-05 20:51:11 +00:00
|
|
|
invoke-direct {v0, p1, p0, v1}, Lj0/b0;-><init>(Lokhttp3/Response;Ljava/lang/Object;Lokhttp3/ResponseBody;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
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
|
2020-09-16 23:45:23 +00:00
|
|
|
.method public a()Z
|
|
|
|
.locals 1
|
|
|
|
|
2020-11-05 20:51:11 +00:00
|
|
|
iget-object v0, p0, Lj0/b0;->a:Lokhttp3/Response;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lokhttp3/Response;->b()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
.method public toString()Ljava/lang/String;
|
|
|
|
.locals 1
|
|
|
|
|
2020-11-05 20:51:11 +00:00
|
|
|
iget-object v0, p0, Lj0/b0;->a:Lokhttp3/Response;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lokhttp3/Response;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|