.class Lcom/moji/credit/util/GoToCreditPage$1;
.super Lcom/moji/requestcore/MJHttpCallback;
.source "GoToCreditPage.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/credit/util/GoToCreditPage;->b(Ljava/lang/String;Landroid/content/Context;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/moji/requestcore/MJHttpCallback<",
        "Lcom/moji/http/cs/entity/DuibaURLResp;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Landroid/content/Context;

.field final synthetic b:Lcom/moji/credit/util/GoToCreditPage;


# direct methods
.method constructor <init>(Lcom/moji/credit/util/GoToCreditPage;Landroid/content/Context;)V
    .locals 0

    .line 42
    iput-object p1, p0, Lcom/moji/credit/util/GoToCreditPage$1;->b:Lcom/moji/credit/util/GoToCreditPage;

    iput-object p2, p0, Lcom/moji/credit/util/GoToCreditPage$1;->a:Landroid/content/Context;

    invoke-direct {p0}, Lcom/moji/requestcore/MJHttpCallback;-><init>()V

    return-void
.end method


# virtual methods
.method protected a(Lcom/moji/http/cs/entity/DuibaURLResp;)V
    .locals 3

    .line 45
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/moji/credit/util/GoToCreditPage$1;->a:Landroid/content/Context;

    const-class v2, Lcom/moji/credit/CreditWebActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v1, "url"

    .line 46
    iget-object p1, p1, Lcom/moji/http/cs/entity/DuibaURLResp;->url_red:Ljava/lang/String;

    invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 47
    iget-object p1, p0, Lcom/moji/credit/util/GoToCreditPage$1;->a:Landroid/content/Context;

    invoke-virtual {p1, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    return-void
.end method

.method protected onFailed(Lcom/moji/requestcore/MJException;)V
    .locals 0

    return-void
.end method

.method protected synthetic onSuccess(Ljava/lang/Object;)V
    .locals 0

    .line 42
    check-cast p1, Lcom/moji/http/cs/entity/DuibaURLResp;

    invoke-virtual {p0, p1}, Lcom/moji/credit/util/GoToCreditPage$1;->a(Lcom/moji/http/cs/entity/DuibaURLResp;)V

    return-void
.end method
