i.smali
.class public final Lretrofit2/i;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lretrofit2/d;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lretrofit2/d<",
"Ljava/lang/Object;",
">;"
}
.end annotation
# instance fields
.field public final synthetic a:Ljava/util/concurrent/CompletableFuture;
# direct methods
.method public constructor <init>(Ljava/util/concurrent/CompletableFuture;)V
.registers 2
iput-object p1, p0, Lretrofit2/i;->a:Ljava/util/concurrent/CompletableFuture;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onFailure(Lretrofit2/b;Ljava/lang/Throwable;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lretrofit2/b<",
"Ljava/lang/Object;",
">;",
"Ljava/lang/Throwable;",
")V"
}
.end annotation
iget-object p1, p0, Lretrofit2/i;->a:Ljava/util/concurrent/CompletableFuture;
invoke-virtual {p1, p2}, Ljava/util/concurrent/CompletableFuture;->completeExceptionally(Ljava/lang/Throwable;)Z
return-void
.end method
.method public final onResponse(Lretrofit2/b;Lretrofit2/x;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lretrofit2/b<",
"Ljava/lang/Object;",
">;",
"Lretrofit2/x<",
"Ljava/lang/Object;",
">;)V"
}
.end annotation
iget-object p1, p0, Lretrofit2/i;->a:Ljava/util/concurrent/CompletableFuture;
invoke-virtual {p1, p2}, Ljava/util/concurrent/CompletableFuture;->complete(Ljava/lang/Object;)Z
return-void
.end method