169 lines
4.0 KiB
Smali
169 lines
4.0 KiB
Smali
.class public Lcom/ea/nimble/pushtng/NimbleAndroidHttpResponse;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lcom/ea/eadp/http/models/HttpResponse;
|
|
|
|
|
|
# instance fields
|
|
.field private body:Ljava/lang/String;
|
|
|
|
.field private code:I
|
|
|
|
.field private headers:Ljava/util/Map;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private message:Ljava/lang/String;
|
|
|
|
.field private url:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 9
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getBody()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 54
|
|
invoke-static {p0}, Lcom/ea/nimble/Log$Helper;->LOGPUBLICFUNC(Ljava/lang/Object;)V
|
|
|
|
iget-object v0, p0, Lcom/ea/nimble/pushtng/NimbleAndroidHttpResponse;->body:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getCode()I
|
|
.locals 1
|
|
|
|
.line 30
|
|
invoke-static {p0}, Lcom/ea/nimble/Log$Helper;->LOGPUBLICFUNC(Ljava/lang/Object;)V
|
|
|
|
iget v0, p0, Lcom/ea/nimble/pushtng/NimbleAndroidHttpResponse;->code:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getHeaders()Ljava/util/Map;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 66
|
|
invoke-static {p0}, Lcom/ea/nimble/Log$Helper;->LOGPUBLICFUNC(Ljava/lang/Object;)V
|
|
|
|
iget-object v0, p0, Lcom/ea/nimble/pushtng/NimbleAndroidHttpResponse;->headers:Ljava/util/Map;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getMessage()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 42
|
|
invoke-static {p0}, Lcom/ea/nimble/Log$Helper;->LOGPUBLICFUNC(Ljava/lang/Object;)V
|
|
|
|
iget-object v0, p0, Lcom/ea/nimble/pushtng/NimbleAndroidHttpResponse;->message:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getUrl()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 18
|
|
invoke-static {p0}, Lcom/ea/nimble/Log$Helper;->LOGPUBLICFUNC(Ljava/lang/Object;)V
|
|
|
|
iget-object v0, p0, Lcom/ea/nimble/pushtng/NimbleAndroidHttpResponse;->url:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public setBody(Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
.line 60
|
|
invoke-static {p0}, Lcom/ea/nimble/Log$Helper;->LOGPUBLICFUNC(Ljava/lang/Object;)V
|
|
|
|
iput-object p1, p0, Lcom/ea/nimble/pushtng/NimbleAndroidHttpResponse;->body:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setCode(I)V
|
|
.locals 0
|
|
|
|
.line 36
|
|
invoke-static {p0}, Lcom/ea/nimble/Log$Helper;->LOGPUBLICFUNC(Ljava/lang/Object;)V
|
|
|
|
iput p1, p0, Lcom/ea/nimble/pushtng/NimbleAndroidHttpResponse;->code:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setHeaders(Ljava/util/Map;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 72
|
|
invoke-static {p0}, Lcom/ea/nimble/Log$Helper;->LOGPUBLICFUNC(Ljava/lang/Object;)V
|
|
|
|
iput-object p1, p0, Lcom/ea/nimble/pushtng/NimbleAndroidHttpResponse;->headers:Ljava/util/Map;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setMessage(Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
.line 48
|
|
invoke-static {p0}, Lcom/ea/nimble/Log$Helper;->LOGPUBLICFUNC(Ljava/lang/Object;)V
|
|
|
|
iput-object p1, p0, Lcom/ea/nimble/pushtng/NimbleAndroidHttpResponse;->message:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setUrl(Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
.line 24
|
|
invoke-static {p0}, Lcom/ea/nimble/Log$Helper;->LOGPUBLICFUNC(Ljava/lang/Object;)V
|
|
|
|
iput-object p1, p0, Lcom/ea/nimble/pushtng/NimbleAndroidHttpResponse;->url:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|