46 lines
1.1 KiB
Smali
46 lines
1.1 KiB
Smali
.class public Lcom/ea/nimble/pushtng/NimbleAndroidHttpService;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lcom/ea/eadp/http/services/HttpService;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 12
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getResource(Ljava/lang/String;)Lcom/ea/eadp/http/models/HttpRequest;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 16
|
|
invoke-static {p0}, Lcom/ea/nimble/Log$Helper;->LOGFUNC(Ljava/lang/Object;)V
|
|
|
|
.line 17
|
|
new-instance v0, Lcom/ea/nimble/pushtng/NimbleAndroidHttpRequest;
|
|
|
|
invoke-direct {v0}, Lcom/ea/nimble/pushtng/NimbleAndroidHttpRequest;-><init>()V
|
|
|
|
.line 18
|
|
new-instance v1, Ljava/net/URL;
|
|
|
|
invoke-direct {v1, p1}, Ljava/net/URL;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-interface {v0, v1}, Lcom/ea/eadp/http/models/HttpRequest;->setResource(Ljava/net/URL;)Lcom/ea/eadp/http/models/HttpRequest;
|
|
|
|
return-object v0
|
|
.end method
|