210 lines
		
	
	
		
			5.2 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			210 lines
		
	
	
		
			5.2 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public Lcom/skt/moment/task/x$a;
 | |
| .super Lcom/loopj/android/http/c;
 | |
| .source "ReceiveCouponTask.java"
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation system Ldalvik/annotation/EnclosingMethod;
 | |
|     value = Lcom/skt/moment/task/x;->N()Z
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/InnerClass;
 | |
|     accessFlags = 0x1
 | |
|     name = null
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field public final synthetic t:Lcom/skt/moment/task/x;
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public constructor <init>(Lcom/skt/moment/task/x;)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Lcom/skt/moment/task/x$a;->t:Lcom/skt/moment/task/x;
 | |
| 
 | |
|     invoke-direct {p0}, Lcom/loopj/android/http/c;-><init>()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public A(JJ)V
 | |
|     .locals 0
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public D(I[Ldf/d;[B)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     iget-object p1, p0, Lcom/skt/moment/task/x$a;->t:Lcom/skt/moment/task/x;
 | |
| 
 | |
|     const/4 p2, 0x0
 | |
| 
 | |
|     invoke-static {p1, p2}, Lcom/skt/moment/task/x;->F(Lcom/skt/moment/task/x;Lcom/loopj/android/http/x;)Lcom/loopj/android/http/x;
 | |
| 
 | |
|     .line 2
 | |
|     iget-object p1, p0, Lcom/skt/moment/task/x$a;->t:Lcom/skt/moment/task/x;
 | |
| 
 | |
|     iget-object p2, p1, Lcom/skt/moment/task/x;->w:Lcom/fasterxml/jackson/databind/ObjectMapper;
 | |
| 
 | |
|     invoke-virtual {p1, p3, p2}, Lcom/skt/moment/task/z;->u([BLcom/fasterxml/jackson/databind/ObjectMapper;)V
 | |
| 
 | |
|     .line 3
 | |
|     :try_start_0
 | |
|     new-instance p1, Ljava/lang/String;
 | |
| 
 | |
|     const-string p2, "UTF-8"
 | |
| 
 | |
|     invoke-direct {p1, p3, p2}, Ljava/lang/String;-><init>([BLjava/lang/String;)V
 | |
| 
 | |
|     .line 4
 | |
|     iget-object p2, p0, Lcom/skt/moment/task/x$a;->t:Lcom/skt/moment/task/x;
 | |
| 
 | |
|     invoke-virtual {p2, p1}, Lcom/skt/moment/task/x;->M(Ljava/lang/String;)Lcom/skt/moment/net/vo/ServiceResVo;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     const/4 p2, 0x1
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p1}, Lcom/skt/moment/net/vo/ServiceResVo;->isResponseSuccess()Z
 | |
| 
 | |
|     move-result p3
 | |
| 
 | |
|     if-ne p2, p3, :cond_0
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {p1}, Lcom/skt/moment/net/vo/ServiceResVo;->getResponse()Lcom/skt/moment/net/vo/ResponseVo;
 | |
| 
 | |
|     move-result-object p2
 | |
| 
 | |
|     invoke-virtual {p2}, Lcom/skt/moment/net/vo/ResponseVo;->getBody()Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object p2
 | |
| 
 | |
|     if-eqz p2, :cond_0
 | |
| 
 | |
|     .line 7
 | |
|     iget-object p2, p0, Lcom/skt/moment/task/x$a;->t:Lcom/skt/moment/task/x;
 | |
| 
 | |
|     iput-object p1, p2, Lcom/skt/moment/task/x;->y:Lcom/skt/moment/net/vo/ServiceResVo;
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {p2}, Lcom/skt/moment/task/x;->L()V
 | |
|     :try_end_0
 | |
|     .catch Ljava/io/UnsupportedEncodingException; {:try_start_0 .. :try_end_0} :catch_0
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     :catch_0
 | |
|     move-exception p1
 | |
| 
 | |
|     .line 9
 | |
|     invoke-virtual {p1}, Ljava/io/UnsupportedEncodingException;->printStackTrace()V
 | |
| 
 | |
|     .line 10
 | |
|     :cond_0
 | |
|     invoke-static {}, Leb/b;->a()Leb/b;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     sget p2, Lcom/skt/moment/R$string;->debugging_happen_fail:I
 | |
| 
 | |
|     invoke-virtual {p1, p2}, Leb/b;->b(I)V
 | |
| 
 | |
|     .line 11
 | |
|     iget-object p1, p0, Lcom/skt/moment/task/x$a;->t:Lcom/skt/moment/task/x;
 | |
| 
 | |
|     const/4 p2, 0x3
 | |
| 
 | |
|     invoke-virtual {p1, p2}, Lcom/skt/moment/task/x;->c(I)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public y(I[Ldf/d;[BLjava/lang/Throwable;)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     iget-object p1, p0, Lcom/skt/moment/task/x$a;->t:Lcom/skt/moment/task/x;
 | |
| 
 | |
|     const/4 p2, 0x0
 | |
| 
 | |
|     invoke-static {p1, p2}, Lcom/skt/moment/task/x;->F(Lcom/skt/moment/task/x;Lcom/loopj/android/http/x;)Lcom/loopj/android/http/x;
 | |
| 
 | |
|     .line 2
 | |
|     invoke-static {}, Leb/b;->a()Leb/b;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     sget p2, Lcom/skt/moment/R$string;->debugging_happen_fail:I
 | |
| 
 | |
|     invoke-virtual {p1, p2}, Leb/b;->b(I)V
 | |
| 
 | |
|     .line 3
 | |
|     :try_start_0
 | |
|     new-instance p1, Ljava/lang/String;
 | |
| 
 | |
|     const-string p2, "UTF-8"
 | |
| 
 | |
|     invoke-direct {p1, p3, p2}, Ljava/lang/String;-><init>([BLjava/lang/String;)V
 | |
| 
 | |
|     .line 4
 | |
|     iget-object p2, p0, Lcom/skt/moment/task/x$a;->t:Lcom/skt/moment/task/x;
 | |
| 
 | |
|     iget-object p2, p2, Lcom/skt/moment/task/x;->w:Lcom/fasterxml/jackson/databind/ObjectMapper;
 | |
| 
 | |
|     const-class p3, Lcom/skt/moment/net/vo/ServiceResVo;
 | |
| 
 | |
|     invoke-virtual {p2, p1, p3}, Lcom/fasterxml/jackson/databind/ObjectMapper;->readValue(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     check-cast p1, Lcom/skt/moment/net/vo/ServiceResVo;
 | |
| 
 | |
|     .line 5
 | |
|     iget-object p2, p0, Lcom/skt/moment/task/x$a;->t:Lcom/skt/moment/task/x;
 | |
| 
 | |
|     invoke-virtual {p1}, Lcom/skt/moment/net/vo/ServiceResVo;->getResponse()Lcom/skt/moment/net/vo/ResponseVo;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     invoke-virtual {p1}, Lcom/skt/moment/net/vo/ResponseVo;->getHeader()Lcom/skt/moment/net/vo/ResHeaderVo;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     invoke-virtual {p1}, Lcom/skt/moment/net/vo/ResHeaderVo;->getStatusMessage()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     invoke-virtual {p2, p1}, Lcom/skt/moment/task/z;->D(Ljava/lang/String;)V
 | |
|     :try_end_0
 | |
|     .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :catch_0
 | |
|     move-exception p1
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V
 | |
| 
 | |
|     .line 7
 | |
|     :goto_0
 | |
|     iget-object p1, p0, Lcom/skt/moment/task/x$a;->t:Lcom/skt/moment/task/x;
 | |
| 
 | |
|     const/4 p2, 0x3
 | |
| 
 | |
|     invoke-virtual {p1, p2}, Lcom/skt/moment/task/x;->c(I)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 |