Strip Google AdMob, Firebase Analytics (measurement), and OpenCensus from the rebuilt APK. Native ads are disabled via a no-op MyAdNative stub; MainApp.d already returns null for ad requests. Adds scripts/remove-exodus-trackers.py to remove tracker smali packages and patch remaining references (HttpRequest tracing, WorkManager clock). Exodus standalone scan reports 0 trackers on the built APK. Co-authored-by: KaKi87 <KaKi87@pm.me>
3151 lines
69 KiB
Smali
3151 lines
69 KiB
Smali
.class public final Lcom/google/api/client/http/HttpRequest;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# static fields
|
|
.field public static final DEFAULT_NUMBER_OF_RETRIES:I = 0xa
|
|
|
|
.field public static final USER_AGENT_SUFFIX:Ljava/lang/String;
|
|
|
|
.field public static final VERSION:Ljava/lang/String;
|
|
|
|
|
|
# instance fields
|
|
.field private backOffPolicy:Lcom/google/api/client/http/BackOffPolicy;
|
|
.annotation build Lcom/google/api/client/util/Beta;
|
|
.end annotation
|
|
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private connectTimeout:I
|
|
|
|
.field private content:Lcom/google/api/client/http/HttpContent;
|
|
|
|
.field private contentLoggingLimit:I
|
|
|
|
.field private curlLoggingEnabled:Z
|
|
|
|
.field private encoding:Lcom/google/api/client/http/HttpEncoding;
|
|
|
|
.field private executeInterceptor:Lcom/google/api/client/http/HttpExecuteInterceptor;
|
|
|
|
.field private followRedirects:Z
|
|
|
|
.field private headers:Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.field private ioExceptionHandler:Lcom/google/api/client/http/HttpIOExceptionHandler;
|
|
.annotation build Lcom/google/api/client/util/Beta;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private loggingEnabled:Z
|
|
|
|
.field private numRetries:I
|
|
|
|
.field private objectParser:Lcom/google/api/client/util/ObjectParser;
|
|
|
|
.field private readTimeout:I
|
|
|
|
.field private requestMethod:Ljava/lang/String;
|
|
|
|
.field private responseHeaders:Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.field private responseInterceptor:Lcom/google/api/client/http/HttpResponseInterceptor;
|
|
|
|
.field private responseReturnRawInputStream:Z
|
|
|
|
.field private retryOnExecuteIOException:Z
|
|
.annotation build Lcom/google/api/client/util/Beta;
|
|
.end annotation
|
|
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private sleeper:Lcom/google/api/client/util/Sleeper;
|
|
|
|
.field private suppressUserAgentSuffix:Z
|
|
|
|
.field private throwExceptionOnExecuteError:Z
|
|
|
|
|
|
.field private final transport:Lcom/google/api/client/http/HttpTransport;
|
|
|
|
.field private unsuccessfulResponseHandler:Lcom/google/api/client/http/HttpUnsuccessfulResponseHandler;
|
|
|
|
.field private url:Lcom/google/api/client/http/GenericUrl;
|
|
|
|
.field private useRawRedirectUrls:Z
|
|
|
|
.field private writeTimeout:I
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 3
|
|
|
|
.line 1
|
|
invoke-static {}, Lcom/google/api/client/http/HttpRequest;->getVersion()Ljava/lang/String;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
sput-object v0, Lcom/google/api/client/http/HttpRequest;->VERSION:Ljava/lang/String;
|
|
|
|
.line 6
|
|
.line 7
|
|
const-string v1, "Google-HTTP-Java-Client/"
|
|
|
|
.line 8
|
|
.line 9
|
|
const-string v2, " (gzip)"
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-static {v1, v0, v2}, Landroid/support/v4/media/a;->l(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result-object v0
|
|
|
|
.line 15
|
|
sput-object v0, Lcom/google/api/client/http/HttpRequest;->USER_AGENT_SUFFIX:Ljava/lang/String;
|
|
|
|
.line 16
|
|
.line 17
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lcom/google/api/client/http/HttpTransport;Ljava/lang/String;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
new-instance v0, Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 5
|
|
.line 6
|
|
invoke-direct {v0}, Lcom/google/api/client/http/HttpHeaders;-><init>()V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
iput-object v0, p0, Lcom/google/api/client/http/HttpRequest;->headers:Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 10
|
|
.line 11
|
|
new-instance v0, Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-direct {v0}, Lcom/google/api/client/http/HttpHeaders;-><init>()V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
iput-object v0, p0, Lcom/google/api/client/http/HttpRequest;->responseHeaders:Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 17
|
|
.line 18
|
|
const/16 v0, 0xa
|
|
|
|
.line 19
|
|
.line 20
|
|
iput v0, p0, Lcom/google/api/client/http/HttpRequest;->numRetries:I
|
|
|
|
.line 21
|
|
.line 22
|
|
const/16 v0, 0x4000
|
|
|
|
.line 23
|
|
.line 24
|
|
iput v0, p0, Lcom/google/api/client/http/HttpRequest;->contentLoggingLimit:I
|
|
|
|
.line 25
|
|
.line 26
|
|
const/4 v0, 0x1
|
|
|
|
.line 27
|
|
iput-boolean v0, p0, Lcom/google/api/client/http/HttpRequest;->loggingEnabled:Z
|
|
|
|
.line 28
|
|
.line 29
|
|
iput-boolean v0, p0, Lcom/google/api/client/http/HttpRequest;->curlLoggingEnabled:Z
|
|
|
|
.line 30
|
|
.line 31
|
|
const/16 v1, 0x4e20
|
|
|
|
.line 32
|
|
.line 33
|
|
iput v1, p0, Lcom/google/api/client/http/HttpRequest;->connectTimeout:I
|
|
|
|
.line 34
|
|
.line 35
|
|
iput v1, p0, Lcom/google/api/client/http/HttpRequest;->readTimeout:I
|
|
|
|
.line 36
|
|
.line 37
|
|
const/4 v1, 0x0
|
|
|
|
.line 38
|
|
iput v1, p0, Lcom/google/api/client/http/HttpRequest;->writeTimeout:I
|
|
|
|
.line 39
|
|
.line 40
|
|
iput-boolean v0, p0, Lcom/google/api/client/http/HttpRequest;->followRedirects:Z
|
|
|
|
.line 41
|
|
.line 42
|
|
iput-boolean v1, p0, Lcom/google/api/client/http/HttpRequest;->useRawRedirectUrls:Z
|
|
|
|
.line 43
|
|
.line 44
|
|
iput-boolean v0, p0, Lcom/google/api/client/http/HttpRequest;->throwExceptionOnExecuteError:Z
|
|
|
|
.line 45
|
|
.line 46
|
|
iput-boolean v1, p0, Lcom/google/api/client/http/HttpRequest;->retryOnExecuteIOException:Z
|
|
|
|
.line 47
|
|
.line 48
|
|
sget-object v0, Lcom/google/api/client/util/Sleeper;->DEFAULT:Lcom/google/api/client/util/Sleeper;
|
|
|
|
.line 49
|
|
.line 50
|
|
iput-object v0, p0, Lcom/google/api/client/http/HttpRequest;->sleeper:Lcom/google/api/client/util/Sleeper;
|
|
|
|
.line 51
|
|
.line 52
|
|
|
|
.line 53
|
|
.line 54
|
|
.line 55
|
|
move-result-object v0
|
|
|
|
.line 56
|
|
|
|
.line 57
|
|
.line 58
|
|
iput-boolean v1, p0, Lcom/google/api/client/http/HttpRequest;->responseReturnRawInputStream:Z
|
|
|
|
.line 59
|
|
.line 60
|
|
iput-object p1, p0, Lcom/google/api/client/http/HttpRequest;->transport:Lcom/google/api/client/http/HttpTransport;
|
|
|
|
.line 61
|
|
.line 62
|
|
invoke-virtual {p0, p2}, Lcom/google/api/client/http/HttpRequest;->setRequestMethod(Ljava/lang/String;)Lcom/google/api/client/http/HttpRequest;
|
|
|
|
.line 63
|
|
.line 64
|
|
.line 65
|
|
return-void
|
|
.end method
|
|
|
|
|
|
.method private static getVersion()Ljava/lang/String;
|
|
.locals 4
|
|
|
|
.line 1
|
|
const-string v0, "unknown-version"
|
|
|
|
.line 2
|
|
.line 3
|
|
:try_start_0
|
|
const-class v1, Lcom/google/api/client/http/HttpRequest;
|
|
|
|
.line 4
|
|
.line 5
|
|
const-string v2, "/com/google/api/client/http/google-http-client.properties"
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {v1, v2}, Ljava/lang/Class;->getResourceAsStream(Ljava/lang/String;)Ljava/io/InputStream;
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result-object v1
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.line 11
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 12
|
|
.line 13
|
|
:try_start_1
|
|
new-instance v2, Ljava/util/Properties;
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-direct {v2}, Ljava/util/Properties;-><init>()V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
invoke-virtual {v2, v1}, Ljava/util/Properties;->load(Ljava/io/InputStream;)V
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
const-string v3, "google-http-client.version"
|
|
|
|
.line 22
|
|
.line 23
|
|
invoke-virtual {v2, v3}, Ljava/util/Properties;->getProperty(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result-object v0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 27
|
|
goto :goto_1
|
|
|
|
.line 28
|
|
:catchall_0
|
|
move-exception v2
|
|
|
|
.line 29
|
|
:try_start_2
|
|
throw v2
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_1
|
|
|
|
.line 30
|
|
:catchall_1
|
|
move-exception v3
|
|
|
|
.line 31
|
|
:try_start_3
|
|
invoke-virtual {v1}, Ljava/io/InputStream;->close()V
|
|
:try_end_3
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_2
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
goto :goto_0
|
|
|
|
.line 35
|
|
:catchall_2
|
|
move-exception v1
|
|
|
|
.line 36
|
|
:try_start_4
|
|
invoke-virtual {v2, v1}, Ljava/lang/Throwable;->addSuppressed(Ljava/lang/Throwable;)V
|
|
|
|
.line 37
|
|
.line 38
|
|
.line 39
|
|
:goto_0
|
|
throw v3
|
|
|
|
.line 40
|
|
:cond_0
|
|
:goto_1
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 41
|
|
.line 42
|
|
invoke-virtual {v1}, Ljava/io/InputStream;->close()V
|
|
:try_end_4
|
|
.catch Ljava/io/IOException; {:try_start_4 .. :try_end_4} :catch_0
|
|
|
|
.line 43
|
|
.line 44
|
|
.line 45
|
|
:catch_0
|
|
:cond_1
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public execute()Lcom/google/api/client/http/HttpResponse;
|
|
.locals 24
|
|
|
|
.line 1
|
|
move-object/from16 v1, p0
|
|
|
|
.line 2
|
|
.line 3
|
|
iget v0, v1, Lcom/google/api/client/http/HttpRequest;->numRetries:I
|
|
|
|
.line 4
|
|
.line 5
|
|
if-ltz v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
const/4 v0, 0x1
|
|
|
|
.line 8
|
|
goto :goto_0
|
|
|
|
.line 9
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 10
|
|
:goto_0
|
|
invoke-static {v0}, Lcom/google/api/client/util/Preconditions;->checkArgument(Z)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
iget v0, v1, Lcom/google/api/client/http/HttpRequest;->numRetries:I
|
|
|
|
.line 14
|
|
.line 15
|
|
iget-object v4, v1, Lcom/google/api/client/http/HttpRequest;->backOffPolicy:Lcom/google/api/client/http/BackOffPolicy;
|
|
|
|
.line 16
|
|
.line 17
|
|
if-eqz v4, :cond_1
|
|
|
|
.line 18
|
|
.line 19
|
|
invoke-interface {v4}, Lcom/google/api/client/http/BackOffPolicy;->reset()V
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
:cond_1
|
|
iget-object v4, v1, Lcom/google/api/client/http/HttpRequest;->requestMethod:Ljava/lang/String;
|
|
|
|
.line 23
|
|
.line 24
|
|
invoke-static {v4}, Lcom/google/api/client/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
iget-object v4, v1, Lcom/google/api/client/http/HttpRequest;->url:Lcom/google/api/client/http/GenericUrl;
|
|
|
|
.line 28
|
|
.line 29
|
|
invoke-static {v4}, Lcom/google/api/client/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
|
|
.line 33
|
|
.line 34
|
|
|
|
.line 35
|
|
.line 36
|
|
invoke-virtual {v4}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
.line 37
|
|
.line 38
|
|
.line 39
|
|
|
|
.line 40
|
|
.line 41
|
|
|
|
.line 42
|
|
.line 43
|
|
.line 44
|
|
move-result-object v7
|
|
|
|
.line 45
|
|
|
|
.line 46
|
|
.line 47
|
|
.line 48
|
|
|
|
.line 49
|
|
.line 50
|
|
.line 51
|
|
move-result-object v4
|
|
|
|
.line 52
|
|
|
|
.line 53
|
|
.line 54
|
|
.line 55
|
|
|
|
.line 56
|
|
.line 57
|
|
.line 58
|
|
move-result-object v4
|
|
|
|
.line 59
|
|
move v6, v0
|
|
|
|
.line 60
|
|
const/4 v0, 0x0
|
|
|
|
.line 61
|
|
:goto_1
|
|
new-instance v7, Ljava/lang/StringBuilder;
|
|
|
|
.line 62
|
|
.line 63
|
|
const-string v8, "retry #"
|
|
|
|
.line 64
|
|
.line 65
|
|
invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 66
|
|
.line 67
|
|
.line 68
|
|
iget v8, v1, Lcom/google/api/client/http/HttpRequest;->numRetries:I
|
|
|
|
.line 69
|
|
.line 70
|
|
sub-int/2addr v8, v6
|
|
|
|
.line 71
|
|
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
.line 72
|
|
.line 73
|
|
.line 74
|
|
invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 75
|
|
.line 76
|
|
.line 77
|
|
move-result-object v7
|
|
|
|
.line 78
|
|
invoke-virtual {v4}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
.line 79
|
|
.line 80
|
|
.line 81
|
|
const-string v8, "description"
|
|
|
|
.line 82
|
|
.line 83
|
|
|
|
.line 84
|
|
.line 85
|
|
.line 86
|
|
|
|
.line 87
|
|
.line 88
|
|
const-string v8, "attributes"
|
|
|
|
.line 89
|
|
.line 90
|
|
|
|
.line 91
|
|
.line 92
|
|
.line 93
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 94
|
|
.line 95
|
|
invoke-virtual {v0}, Lcom/google/api/client/http/HttpResponse;->ignore()V
|
|
|
|
.line 96
|
|
.line 97
|
|
.line 98
|
|
:cond_2
|
|
iget-object v0, v1, Lcom/google/api/client/http/HttpRequest;->executeInterceptor:Lcom/google/api/client/http/HttpExecuteInterceptor;
|
|
|
|
.line 99
|
|
.line 100
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 101
|
|
.line 102
|
|
invoke-interface {v0, v1}, Lcom/google/api/client/http/HttpExecuteInterceptor;->intercept(Lcom/google/api/client/http/HttpRequest;)V
|
|
|
|
.line 103
|
|
.line 104
|
|
.line 105
|
|
:cond_3
|
|
iget-object v0, v1, Lcom/google/api/client/http/HttpRequest;->url:Lcom/google/api/client/http/GenericUrl;
|
|
|
|
.line 106
|
|
.line 107
|
|
invoke-virtual {v0}, Lcom/google/api/client/http/GenericUrl;->build()Ljava/lang/String;
|
|
|
|
.line 108
|
|
.line 109
|
|
.line 110
|
|
move-result-object v0
|
|
|
|
.line 111
|
|
const-string v7, "http.method"
|
|
|
|
.line 112
|
|
.line 113
|
|
iget-object v8, v1, Lcom/google/api/client/http/HttpRequest;->requestMethod:Ljava/lang/String;
|
|
|
|
.line 114
|
|
.line 115
|
|
|
|
.line 116
|
|
.line 117
|
|
.line 118
|
|
iget-object v7, v1, Lcom/google/api/client/http/HttpRequest;->url:Lcom/google/api/client/http/GenericUrl;
|
|
|
|
.line 119
|
|
.line 120
|
|
invoke-virtual {v7}, Lcom/google/api/client/http/GenericUrl;->getHost()Ljava/lang/String;
|
|
|
|
.line 121
|
|
.line 122
|
|
.line 123
|
|
move-result-object v7
|
|
|
|
.line 124
|
|
const-string v8, "http.host"
|
|
|
|
.line 125
|
|
.line 126
|
|
|
|
.line 127
|
|
.line 128
|
|
.line 129
|
|
iget-object v7, v1, Lcom/google/api/client/http/HttpRequest;->url:Lcom/google/api/client/http/GenericUrl;
|
|
|
|
.line 130
|
|
.line 131
|
|
invoke-virtual {v7}, Lcom/google/api/client/http/GenericUrl;->getRawPath()Ljava/lang/String;
|
|
|
|
.line 132
|
|
.line 133
|
|
.line 134
|
|
move-result-object v7
|
|
|
|
.line 135
|
|
const-string v8, "http.path"
|
|
|
|
.line 136
|
|
.line 137
|
|
|
|
.line 138
|
|
.line 139
|
|
.line 140
|
|
const-string v7, "http.url"
|
|
|
|
.line 141
|
|
.line 142
|
|
|
|
.line 143
|
|
.line 144
|
|
.line 145
|
|
iget-object v7, v1, Lcom/google/api/client/http/HttpRequest;->transport:Lcom/google/api/client/http/HttpTransport;
|
|
|
|
.line 146
|
|
.line 147
|
|
iget-object v8, v1, Lcom/google/api/client/http/HttpRequest;->requestMethod:Ljava/lang/String;
|
|
|
|
.line 148
|
|
.line 149
|
|
invoke-virtual {v7, v8, v0}, Lcom/google/api/client/http/HttpTransport;->buildRequest(Ljava/lang/String;Ljava/lang/String;)Lcom/google/api/client/http/LowLevelHttpRequest;
|
|
|
|
.line 150
|
|
.line 151
|
|
.line 152
|
|
move-result-object v7
|
|
|
|
.line 153
|
|
sget-object v8, Lcom/google/api/client/http/HttpTransport;->LOGGER:Ljava/util/logging/Logger;
|
|
|
|
.line 154
|
|
.line 155
|
|
iget-boolean v9, v1, Lcom/google/api/client/http/HttpRequest;->loggingEnabled:Z
|
|
|
|
.line 156
|
|
.line 157
|
|
if-eqz v9, :cond_4
|
|
|
|
.line 158
|
|
.line 159
|
|
sget-object v9, Ljava/util/logging/Level;->CONFIG:Ljava/util/logging/Level;
|
|
|
|
.line 160
|
|
.line 161
|
|
invoke-virtual {v8, v9}, Ljava/util/logging/Logger;->isLoggable(Ljava/util/logging/Level;)Z
|
|
|
|
.line 162
|
|
.line 163
|
|
.line 164
|
|
move-result v9
|
|
|
|
.line 165
|
|
if-eqz v9, :cond_4
|
|
|
|
.line 166
|
|
.line 167
|
|
const/4 v9, 0x1
|
|
|
|
.line 168
|
|
goto :goto_2
|
|
|
|
.line 169
|
|
:cond_4
|
|
const/4 v9, 0x0
|
|
|
|
.line 170
|
|
:goto_2
|
|
if-eqz v9, :cond_6
|
|
|
|
.line 171
|
|
.line 172
|
|
const-string v10, "-------------- REQUEST --------------"
|
|
|
|
.line 173
|
|
.line 174
|
|
invoke-static {v10}, Landroid/support/v4/media/a;->t(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 175
|
|
.line 176
|
|
.line 177
|
|
move-result-object v10
|
|
|
|
.line 178
|
|
sget-object v11, Lcom/google/api/client/util/StringUtils;->LINE_SEPARATOR:Ljava/lang/String;
|
|
|
|
.line 179
|
|
.line 180
|
|
invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 181
|
|
.line 182
|
|
.line 183
|
|
iget-object v12, v1, Lcom/google/api/client/http/HttpRequest;->requestMethod:Ljava/lang/String;
|
|
|
|
.line 184
|
|
.line 185
|
|
invoke-virtual {v10, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 186
|
|
.line 187
|
|
.line 188
|
|
const/16 v12, 0x20
|
|
|
|
.line 189
|
|
.line 190
|
|
invoke-virtual {v10, v12}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
.line 191
|
|
.line 192
|
|
.line 193
|
|
invoke-virtual {v10, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 194
|
|
.line 195
|
|
.line 196
|
|
invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 197
|
|
.line 198
|
|
.line 199
|
|
iget-boolean v11, v1, Lcom/google/api/client/http/HttpRequest;->curlLoggingEnabled:Z
|
|
|
|
.line 200
|
|
.line 201
|
|
if-eqz v11, :cond_5
|
|
|
|
.line 202
|
|
.line 203
|
|
new-instance v11, Ljava/lang/StringBuilder;
|
|
|
|
.line 204
|
|
.line 205
|
|
const-string v12, "curl -v --compressed"
|
|
|
|
.line 206
|
|
.line 207
|
|
invoke-direct {v11, v12}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 208
|
|
.line 209
|
|
.line 210
|
|
iget-object v12, v1, Lcom/google/api/client/http/HttpRequest;->requestMethod:Ljava/lang/String;
|
|
|
|
.line 211
|
|
.line 212
|
|
const-string v13, "GET"
|
|
|
|
.line 213
|
|
.line 214
|
|
invoke-virtual {v12, v13}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
.line 215
|
|
.line 216
|
|
.line 217
|
|
move-result v12
|
|
|
|
.line 218
|
|
if-nez v12, :cond_7
|
|
|
|
.line 219
|
|
.line 220
|
|
const-string v12, " -X "
|
|
|
|
.line 221
|
|
.line 222
|
|
invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 223
|
|
.line 224
|
|
.line 225
|
|
iget-object v12, v1, Lcom/google/api/client/http/HttpRequest;->requestMethod:Ljava/lang/String;
|
|
|
|
.line 226
|
|
.line 227
|
|
invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 228
|
|
.line 229
|
|
.line 230
|
|
goto :goto_4
|
|
|
|
.line 231
|
|
:cond_5
|
|
:goto_3
|
|
const/4 v11, 0x0
|
|
|
|
.line 232
|
|
goto :goto_4
|
|
|
|
.line 233
|
|
:cond_6
|
|
const/4 v10, 0x0
|
|
|
|
.line 234
|
|
goto :goto_3
|
|
|
|
.line 235
|
|
:cond_7
|
|
:goto_4
|
|
iget-object v12, v1, Lcom/google/api/client/http/HttpRequest;->headers:Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 236
|
|
.line 237
|
|
invoke-virtual {v12}, Lcom/google/api/client/http/HttpHeaders;->getUserAgent()Ljava/lang/String;
|
|
|
|
.line 238
|
|
.line 239
|
|
.line 240
|
|
move-result-object v12
|
|
|
|
.line 241
|
|
iget-boolean v13, v1, Lcom/google/api/client/http/HttpRequest;->suppressUserAgentSuffix:Z
|
|
|
|
.line 242
|
|
.line 243
|
|
if-nez v13, :cond_9
|
|
|
|
.line 244
|
|
.line 245
|
|
const-string v13, "http.user_agent"
|
|
|
|
.line 246
|
|
.line 247
|
|
if-nez v12, :cond_8
|
|
|
|
.line 248
|
|
.line 249
|
|
iget-object v14, v1, Lcom/google/api/client/http/HttpRequest;->headers:Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 250
|
|
.line 251
|
|
sget-object v15, Lcom/google/api/client/http/HttpRequest;->USER_AGENT_SUFFIX:Ljava/lang/String;
|
|
|
|
.line 252
|
|
.line 253
|
|
invoke-virtual {v14, v15}, Lcom/google/api/client/http/HttpHeaders;->setUserAgent(Ljava/lang/String;)Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 254
|
|
.line 255
|
|
.line 256
|
|
|
|
.line 257
|
|
.line 258
|
|
.line 259
|
|
goto :goto_5
|
|
|
|
.line 260
|
|
:cond_8
|
|
const-string v14, " "
|
|
|
|
.line 261
|
|
.line 262
|
|
invoke-static {v12, v14}, Landroid/support/v4/media/a;->v(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 263
|
|
.line 264
|
|
.line 265
|
|
move-result-object v14
|
|
|
|
.line 266
|
|
sget-object v15, Lcom/google/api/client/http/HttpRequest;->USER_AGENT_SUFFIX:Ljava/lang/String;
|
|
|
|
.line 267
|
|
.line 268
|
|
invoke-virtual {v14, v15}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 269
|
|
.line 270
|
|
.line 271
|
|
invoke-virtual {v14}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 272
|
|
.line 273
|
|
.line 274
|
|
move-result-object v14
|
|
|
|
.line 275
|
|
iget-object v15, v1, Lcom/google/api/client/http/HttpRequest;->headers:Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 276
|
|
.line 277
|
|
invoke-virtual {v15, v14}, Lcom/google/api/client/http/HttpHeaders;->setUserAgent(Ljava/lang/String;)Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 278
|
|
.line 279
|
|
.line 280
|
|
|
|
.line 281
|
|
.line 282
|
|
.line 283
|
|
:cond_9
|
|
:goto_5
|
|
iget-object v13, v1, Lcom/google/api/client/http/HttpRequest;->headers:Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 284
|
|
.line 285
|
|
|
|
.line 286
|
|
.line 287
|
|
.line 288
|
|
iget-object v13, v1, Lcom/google/api/client/http/HttpRequest;->headers:Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 289
|
|
.line 290
|
|
invoke-static {v13, v10, v11, v8, v7}, Lcom/google/api/client/http/HttpHeaders;->serializeHeaders(Lcom/google/api/client/http/HttpHeaders;Ljava/lang/StringBuilder;Ljava/lang/StringBuilder;Ljava/util/logging/Logger;Lcom/google/api/client/http/LowLevelHttpRequest;)V
|
|
|
|
.line 291
|
|
.line 292
|
|
.line 293
|
|
iget-boolean v13, v1, Lcom/google/api/client/http/HttpRequest;->suppressUserAgentSuffix:Z
|
|
|
|
.line 294
|
|
.line 295
|
|
if-nez v13, :cond_a
|
|
|
|
.line 296
|
|
.line 297
|
|
iget-object v13, v1, Lcom/google/api/client/http/HttpRequest;->headers:Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 298
|
|
.line 299
|
|
invoke-virtual {v13, v12}, Lcom/google/api/client/http/HttpHeaders;->setUserAgent(Ljava/lang/String;)Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 300
|
|
.line 301
|
|
.line 302
|
|
:cond_a
|
|
iget-object v12, v1, Lcom/google/api/client/http/HttpRequest;->content:Lcom/google/api/client/http/HttpContent;
|
|
|
|
.line 303
|
|
.line 304
|
|
if-eqz v12, :cond_c
|
|
|
|
.line 305
|
|
.line 306
|
|
invoke-interface {v12}, Lcom/google/api/client/http/HttpContent;->retrySupported()Z
|
|
|
|
.line 307
|
|
.line 308
|
|
.line 309
|
|
move-result v13
|
|
|
|
.line 310
|
|
if-eqz v13, :cond_b
|
|
|
|
.line 311
|
|
.line 312
|
|
goto :goto_6
|
|
|
|
.line 313
|
|
:cond_b
|
|
const/4 v13, 0x0
|
|
|
|
.line 314
|
|
goto :goto_7
|
|
|
|
.line 315
|
|
:cond_c
|
|
:goto_6
|
|
const/4 v13, 0x1
|
|
|
|
.line 316
|
|
:goto_7
|
|
const-string v2, "\'"
|
|
|
|
.line 317
|
|
.line 318
|
|
if-eqz v12, :cond_15
|
|
|
|
.line 319
|
|
.line 320
|
|
iget-object v3, v1, Lcom/google/api/client/http/HttpRequest;->content:Lcom/google/api/client/http/HttpContent;
|
|
|
|
.line 321
|
|
.line 322
|
|
invoke-interface {v3}, Lcom/google/api/client/http/HttpContent;->getType()Ljava/lang/String;
|
|
|
|
.line 323
|
|
.line 324
|
|
.line 325
|
|
move-result-object v3
|
|
|
|
.line 326
|
|
const/16 v16, 0x0
|
|
|
|
.line 327
|
|
.line 328
|
|
if-eqz v9, :cond_d
|
|
|
|
.line 329
|
|
.line 330
|
|
new-instance v5, Lcom/google/api/client/util/LoggingStreamingContent;
|
|
|
|
.line 331
|
|
.line 332
|
|
const-wide/16 v17, -0x1
|
|
|
|
.line 333
|
|
.line 334
|
|
sget-object v14, Ljava/util/logging/Level;->CONFIG:Ljava/util/logging/Level;
|
|
|
|
.line 335
|
|
.line 336
|
|
iget v15, v1, Lcom/google/api/client/http/HttpRequest;->contentLoggingLimit:I
|
|
|
|
.line 337
|
|
.line 338
|
|
invoke-direct {v5, v12, v8, v14, v15}, Lcom/google/api/client/util/LoggingStreamingContent;-><init>(Lcom/google/api/client/util/StreamingContent;Ljava/util/logging/Logger;Ljava/util/logging/Level;I)V
|
|
|
|
.line 339
|
|
.line 340
|
|
.line 341
|
|
move-object v12, v5
|
|
|
|
.line 342
|
|
goto :goto_8
|
|
|
|
.line 343
|
|
:cond_d
|
|
const-wide/16 v17, -0x1
|
|
|
|
.line 344
|
|
.line 345
|
|
:goto_8
|
|
iget-object v5, v1, Lcom/google/api/client/http/HttpRequest;->encoding:Lcom/google/api/client/http/HttpEncoding;
|
|
|
|
.line 346
|
|
.line 347
|
|
if-nez v5, :cond_e
|
|
|
|
.line 348
|
|
.line 349
|
|
iget-object v5, v1, Lcom/google/api/client/http/HttpRequest;->content:Lcom/google/api/client/http/HttpContent;
|
|
|
|
.line 350
|
|
.line 351
|
|
invoke-interface {v5}, Lcom/google/api/client/http/HttpContent;->getLength()J
|
|
|
|
.line 352
|
|
.line 353
|
|
.line 354
|
|
move-result-wide v14
|
|
|
|
.line 355
|
|
move-object/from16 v5, v16
|
|
|
|
.line 356
|
|
.line 357
|
|
goto :goto_9
|
|
|
|
.line 358
|
|
:cond_e
|
|
invoke-interface {v5}, Lcom/google/api/client/http/HttpEncoding;->getName()Ljava/lang/String;
|
|
|
|
.line 359
|
|
.line 360
|
|
.line 361
|
|
move-result-object v5
|
|
|
|
.line 362
|
|
new-instance v14, Lcom/google/api/client/http/HttpEncodingStreamingContent;
|
|
|
|
.line 363
|
|
.line 364
|
|
iget-object v15, v1, Lcom/google/api/client/http/HttpRequest;->encoding:Lcom/google/api/client/http/HttpEncoding;
|
|
|
|
.line 365
|
|
.line 366
|
|
invoke-direct {v14, v12, v15}, Lcom/google/api/client/http/HttpEncodingStreamingContent;-><init>(Lcom/google/api/client/util/StreamingContent;Lcom/google/api/client/http/HttpEncoding;)V
|
|
|
|
.line 367
|
|
.line 368
|
|
.line 369
|
|
move-object v12, v14
|
|
|
|
.line 370
|
|
move-wide/from16 v14, v17
|
|
|
|
.line 371
|
|
.line 372
|
|
:goto_9
|
|
move/from16 v19, v6
|
|
|
|
.line 373
|
|
.line 374
|
|
if-eqz v9, :cond_12
|
|
|
|
.line 375
|
|
.line 376
|
|
const-string v6, " -H \'"
|
|
|
|
.line 377
|
|
.line 378
|
|
move/from16 v20, v9
|
|
|
|
.line 379
|
|
.line 380
|
|
if-eqz v3, :cond_f
|
|
|
|
.line 381
|
|
.line 382
|
|
const-string v9, "Content-Type: "
|
|
|
|
.line 383
|
|
.line 384
|
|
invoke-virtual {v9, v3}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
.line 385
|
|
.line 386
|
|
.line 387
|
|
move-result-object v9
|
|
|
|
.line 388
|
|
invoke-virtual {v10, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 389
|
|
.line 390
|
|
.line 391
|
|
move/from16 v21, v13
|
|
|
|
.line 392
|
|
.line 393
|
|
sget-object v13, Lcom/google/api/client/util/StringUtils;->LINE_SEPARATOR:Ljava/lang/String;
|
|
|
|
.line 394
|
|
.line 395
|
|
invoke-virtual {v10, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 396
|
|
.line 397
|
|
.line 398
|
|
if-eqz v11, :cond_10
|
|
|
|
.line 399
|
|
.line 400
|
|
new-instance v13, Ljava/lang/StringBuilder;
|
|
|
|
.line 401
|
|
.line 402
|
|
invoke-direct {v13, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 403
|
|
.line 404
|
|
.line 405
|
|
invoke-virtual {v13, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 406
|
|
.line 407
|
|
.line 408
|
|
invoke-virtual {v13, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 409
|
|
.line 410
|
|
.line 411
|
|
invoke-virtual {v13}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 412
|
|
.line 413
|
|
.line 414
|
|
move-result-object v9
|
|
|
|
.line 415
|
|
invoke-virtual {v11, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 416
|
|
.line 417
|
|
.line 418
|
|
goto :goto_a
|
|
|
|
.line 419
|
|
:cond_f
|
|
move/from16 v21, v13
|
|
|
|
.line 420
|
|
.line 421
|
|
:cond_10
|
|
:goto_a
|
|
if-eqz v5, :cond_11
|
|
|
|
.line 422
|
|
.line 423
|
|
const-string v9, "Content-Encoding: "
|
|
|
|
.line 424
|
|
.line 425
|
|
invoke-virtual {v9, v5}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
.line 426
|
|
.line 427
|
|
.line 428
|
|
move-result-object v9
|
|
|
|
.line 429
|
|
invoke-virtual {v10, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 430
|
|
.line 431
|
|
.line 432
|
|
sget-object v13, Lcom/google/api/client/util/StringUtils;->LINE_SEPARATOR:Ljava/lang/String;
|
|
|
|
.line 433
|
|
.line 434
|
|
invoke-virtual {v10, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 435
|
|
.line 436
|
|
.line 437
|
|
if-eqz v11, :cond_11
|
|
|
|
.line 438
|
|
.line 439
|
|
new-instance v13, Ljava/lang/StringBuilder;
|
|
|
|
.line 440
|
|
.line 441
|
|
invoke-direct {v13, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 442
|
|
.line 443
|
|
.line 444
|
|
invoke-virtual {v13, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 445
|
|
.line 446
|
|
.line 447
|
|
invoke-virtual {v13, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 448
|
|
.line 449
|
|
.line 450
|
|
invoke-virtual {v13}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 451
|
|
.line 452
|
|
.line 453
|
|
move-result-object v6
|
|
|
|
.line 454
|
|
invoke-virtual {v11, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 455
|
|
.line 456
|
|
.line 457
|
|
:cond_11
|
|
const-wide/16 v22, 0x0
|
|
|
|
.line 458
|
|
.line 459
|
|
cmp-long v6, v14, v22
|
|
|
|
.line 460
|
|
.line 461
|
|
if-ltz v6, :cond_13
|
|
|
|
.line 462
|
|
.line 463
|
|
new-instance v6, Ljava/lang/StringBuilder;
|
|
|
|
.line 464
|
|
.line 465
|
|
const-string v9, "Content-Length: "
|
|
|
|
.line 466
|
|
.line 467
|
|
invoke-direct {v6, v9}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 468
|
|
.line 469
|
|
.line 470
|
|
invoke-virtual {v6, v14, v15}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
.line 471
|
|
.line 472
|
|
.line 473
|
|
invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 474
|
|
.line 475
|
|
.line 476
|
|
move-result-object v6
|
|
|
|
.line 477
|
|
invoke-virtual {v10, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 478
|
|
.line 479
|
|
.line 480
|
|
sget-object v6, Lcom/google/api/client/util/StringUtils;->LINE_SEPARATOR:Ljava/lang/String;
|
|
|
|
.line 481
|
|
.line 482
|
|
invoke-virtual {v10, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 483
|
|
.line 484
|
|
.line 485
|
|
goto :goto_b
|
|
|
|
.line 486
|
|
:cond_12
|
|
move/from16 v20, v9
|
|
|
|
.line 487
|
|
.line 488
|
|
move/from16 v21, v13
|
|
|
|
.line 489
|
|
.line 490
|
|
:cond_13
|
|
:goto_b
|
|
if-eqz v11, :cond_14
|
|
|
|
.line 491
|
|
.line 492
|
|
const-string v6, " -d \'@-\'"
|
|
|
|
.line 493
|
|
.line 494
|
|
invoke-virtual {v11, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 495
|
|
.line 496
|
|
.line 497
|
|
:cond_14
|
|
invoke-virtual {v7, v3}, Lcom/google/api/client/http/LowLevelHttpRequest;->setContentType(Ljava/lang/String;)V
|
|
|
|
.line 498
|
|
.line 499
|
|
.line 500
|
|
invoke-virtual {v7, v5}, Lcom/google/api/client/http/LowLevelHttpRequest;->setContentEncoding(Ljava/lang/String;)V
|
|
|
|
.line 501
|
|
.line 502
|
|
.line 503
|
|
invoke-virtual {v7, v14, v15}, Lcom/google/api/client/http/LowLevelHttpRequest;->setContentLength(J)V
|
|
|
|
.line 504
|
|
.line 505
|
|
.line 506
|
|
invoke-virtual {v7, v12}, Lcom/google/api/client/http/LowLevelHttpRequest;->setStreamingContent(Lcom/google/api/client/util/StreamingContent;)V
|
|
|
|
.line 507
|
|
.line 508
|
|
.line 509
|
|
goto :goto_c
|
|
|
|
.line 510
|
|
:cond_15
|
|
move/from16 v19, v6
|
|
|
|
.line 511
|
|
.line 512
|
|
move/from16 v20, v9
|
|
|
|
.line 513
|
|
.line 514
|
|
move/from16 v21, v13
|
|
|
|
.line 515
|
|
.line 516
|
|
const/16 v16, 0x0
|
|
|
|
.line 517
|
|
.line 518
|
|
const-wide/16 v17, -0x1
|
|
|
|
.line 519
|
|
.line 520
|
|
:goto_c
|
|
if-eqz v20, :cond_17
|
|
|
|
.line 521
|
|
.line 522
|
|
invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 523
|
|
.line 524
|
|
.line 525
|
|
move-result-object v3
|
|
|
|
.line 526
|
|
invoke-virtual {v8, v3}, Ljava/util/logging/Logger;->config(Ljava/lang/String;)V
|
|
|
|
.line 527
|
|
.line 528
|
|
.line 529
|
|
if-eqz v11, :cond_17
|
|
|
|
.line 530
|
|
.line 531
|
|
const-string v3, " -- \'"
|
|
|
|
.line 532
|
|
.line 533
|
|
invoke-virtual {v11, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 534
|
|
.line 535
|
|
.line 536
|
|
const-string v3, "\'\"\'\"\'"
|
|
|
|
.line 537
|
|
.line 538
|
|
invoke-virtual {v0, v2, v3}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
.line 539
|
|
.line 540
|
|
.line 541
|
|
move-result-object v0
|
|
|
|
.line 542
|
|
invoke-virtual {v11, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 543
|
|
.line 544
|
|
.line 545
|
|
invoke-virtual {v11, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 546
|
|
.line 547
|
|
.line 548
|
|
if-eqz v12, :cond_16
|
|
|
|
.line 549
|
|
.line 550
|
|
const-string v0, " << $$$"
|
|
|
|
.line 551
|
|
.line 552
|
|
invoke-virtual {v11, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 553
|
|
.line 554
|
|
.line 555
|
|
:cond_16
|
|
invoke-virtual {v11}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 556
|
|
.line 557
|
|
.line 558
|
|
move-result-object v0
|
|
|
|
.line 559
|
|
invoke-virtual {v8, v0}, Ljava/util/logging/Logger;->config(Ljava/lang/String;)V
|
|
|
|
.line 560
|
|
.line 561
|
|
.line 562
|
|
:cond_17
|
|
if-eqz v21, :cond_18
|
|
|
|
.line 563
|
|
.line 564
|
|
if-lez v19, :cond_18
|
|
|
|
.line 565
|
|
.line 566
|
|
const/4 v2, 0x1
|
|
|
|
.line 567
|
|
goto :goto_d
|
|
|
|
.line 568
|
|
:cond_18
|
|
const/4 v2, 0x0
|
|
|
|
.line 569
|
|
:goto_d
|
|
iget v0, v1, Lcom/google/api/client/http/HttpRequest;->connectTimeout:I
|
|
|
|
.line 570
|
|
.line 571
|
|
iget v3, v1, Lcom/google/api/client/http/HttpRequest;->readTimeout:I
|
|
|
|
.line 572
|
|
.line 573
|
|
invoke-virtual {v7, v0, v3}, Lcom/google/api/client/http/LowLevelHttpRequest;->setTimeout(II)V
|
|
|
|
.line 574
|
|
.line 575
|
|
.line 576
|
|
iget v0, v1, Lcom/google/api/client/http/HttpRequest;->writeTimeout:I
|
|
|
|
.line 577
|
|
.line 578
|
|
invoke-virtual {v7, v0}, Lcom/google/api/client/http/LowLevelHttpRequest;->setWriteTimeout(I)V
|
|
|
|
.line 579
|
|
.line 580
|
|
.line 581
|
|
|
|
.line 582
|
|
.line 583
|
|
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
.line 584
|
|
.line 585
|
|
.line 586
|
|
|
|
.line 587
|
|
.line 588
|
|
.line 589
|
|
move-result-object v3
|
|
|
|
.line 590
|
|
invoke-virtual {v7}, Lcom/google/api/client/http/LowLevelHttpRequest;->getContentLength()J
|
|
|
|
.line 591
|
|
.line 592
|
|
.line 593
|
|
move-result-wide v5
|
|
|
|
.line 594
|
|
|
|
.line 595
|
|
.line 596
|
|
.line 597
|
|
:try_start_0
|
|
invoke-virtual {v7}, Lcom/google/api/client/http/LowLevelHttpRequest;->execute()Lcom/google/api/client/http/LowLevelHttpResponse;
|
|
|
|
.line 598
|
|
.line 599
|
|
.line 600
|
|
move-result-object v5
|
|
|
|
.line 601
|
|
if-eqz v5, :cond_19
|
|
|
|
.line 602
|
|
.line 603
|
|
invoke-virtual {v5}, Lcom/google/api/client/http/LowLevelHttpResponse;->getContentLength()J
|
|
|
|
.line 604
|
|
.line 605
|
|
.line 606
|
|
move-result-wide v6
|
|
|
|
.line 607
|
|
|
|
.line 608
|
|
.line 609
|
|
.line 610
|
|
invoke-virtual {v5}, Lcom/google/api/client/http/LowLevelHttpResponse;->getStatusCode()I
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 611
|
|
.line 612
|
|
.line 613
|
|
goto :goto_e
|
|
|
|
.line 614
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
.line 615
|
|
goto/16 :goto_1a
|
|
|
|
.line 616
|
|
.line 617
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
.line 618
|
|
goto :goto_f
|
|
|
|
.line 619
|
|
:cond_19
|
|
:goto_e
|
|
:try_start_1
|
|
new-instance v0, Lcom/google/api/client/http/HttpResponse;
|
|
|
|
.line 620
|
|
.line 621
|
|
invoke-direct {v0, v1, v5}, Lcom/google/api/client/http/HttpResponse;-><init>(Lcom/google/api/client/http/HttpRequest;Lcom/google/api/client/http/LowLevelHttpResponse;)V
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_1
|
|
|
|
.line 622
|
|
.line 623
|
|
.line 624
|
|
invoke-interface {v3}, Ljava/io/Closeable;->close()V
|
|
|
|
.line 625
|
|
.line 626
|
|
.line 627
|
|
move-object v3, v0
|
|
|
|
.line 628
|
|
move-object/from16 v0, v16
|
|
|
|
.line 629
|
|
.line 630
|
|
goto :goto_11
|
|
|
|
.line 631
|
|
:catchall_1
|
|
move-exception v0
|
|
|
|
.line 632
|
|
:try_start_2
|
|
invoke-virtual {v5}, Lcom/google/api/client/http/LowLevelHttpResponse;->getContent()Ljava/io/InputStream;
|
|
|
|
.line 633
|
|
.line 634
|
|
.line 635
|
|
move-result-object v5
|
|
|
|
.line 636
|
|
if-eqz v5, :cond_1a
|
|
|
|
.line 637
|
|
.line 638
|
|
invoke-virtual {v5}, Ljava/io/InputStream;->close()V
|
|
|
|
.line 639
|
|
.line 640
|
|
.line 641
|
|
:cond_1a
|
|
throw v0
|
|
:try_end_2
|
|
.catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
.line 642
|
|
:goto_f
|
|
:try_start_3
|
|
iget-boolean v5, v1, Lcom/google/api/client/http/HttpRequest;->retryOnExecuteIOException:Z
|
|
|
|
.line 643
|
|
.line 644
|
|
if-nez v5, :cond_1c
|
|
|
|
.line 645
|
|
.line 646
|
|
iget-object v5, v1, Lcom/google/api/client/http/HttpRequest;->ioExceptionHandler:Lcom/google/api/client/http/HttpIOExceptionHandler;
|
|
|
|
.line 647
|
|
.line 648
|
|
if-eqz v5, :cond_1b
|
|
|
|
.line 649
|
|
.line 650
|
|
invoke-interface {v5, v1, v2}, Lcom/google/api/client/http/HttpIOExceptionHandler;->handleIOException(Lcom/google/api/client/http/HttpRequest;Z)Z
|
|
|
|
.line 651
|
|
.line 652
|
|
.line 653
|
|
move-result v5
|
|
|
|
.line 654
|
|
if-eqz v5, :cond_1b
|
|
|
|
.line 655
|
|
.line 656
|
|
goto :goto_10
|
|
|
|
.line 657
|
|
:cond_1b
|
|
|
|
.line 658
|
|
.line 659
|
|
.line 660
|
|
move-result-object v2
|
|
|
|
.line 661
|
|
|
|
.line 662
|
|
.line 663
|
|
.line 664
|
|
throw v0
|
|
|
|
.line 665
|
|
:cond_1c
|
|
:goto_10
|
|
if-eqz v20, :cond_1d
|
|
|
|
.line 666
|
|
.line 667
|
|
sget-object v5, Ljava/util/logging/Level;->WARNING:Ljava/util/logging/Level;
|
|
|
|
.line 668
|
|
.line 669
|
|
const-string v6, "exception thrown while executing request"
|
|
|
|
.line 670
|
|
.line 671
|
|
invoke-virtual {v8, v5, v6, v0}, Ljava/util/logging/Logger;->log(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
:try_end_3
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_0
|
|
|
|
.line 672
|
|
.line 673
|
|
.line 674
|
|
:cond_1d
|
|
invoke-interface {v3}, Ljava/io/Closeable;->close()V
|
|
|
|
.line 675
|
|
.line 676
|
|
.line 677
|
|
move-object/from16 v3, v16
|
|
|
|
.line 678
|
|
.line 679
|
|
:goto_11
|
|
if-eqz v3, :cond_21
|
|
|
|
.line 680
|
|
.line 681
|
|
:try_start_4
|
|
invoke-virtual {v3}, Lcom/google/api/client/http/HttpResponse;->isSuccessStatusCode()Z
|
|
|
|
.line 682
|
|
.line 683
|
|
.line 684
|
|
move-result v5
|
|
|
|
.line 685
|
|
if-nez v5, :cond_21
|
|
|
|
.line 686
|
|
.line 687
|
|
iget-object v5, v1, Lcom/google/api/client/http/HttpRequest;->unsuccessfulResponseHandler:Lcom/google/api/client/http/HttpUnsuccessfulResponseHandler;
|
|
|
|
.line 688
|
|
.line 689
|
|
if-eqz v5, :cond_1e
|
|
|
|
.line 690
|
|
.line 691
|
|
invoke-interface {v5, v1, v3, v2}, Lcom/google/api/client/http/HttpUnsuccessfulResponseHandler;->handleResponse(Lcom/google/api/client/http/HttpRequest;Lcom/google/api/client/http/HttpResponse;Z)Z
|
|
|
|
.line 692
|
|
.line 693
|
|
.line 694
|
|
move-result v5
|
|
|
|
.line 695
|
|
goto :goto_12
|
|
|
|
.line 696
|
|
:catchall_2
|
|
move-exception v0
|
|
|
|
.line 697
|
|
goto :goto_15
|
|
|
|
.line 698
|
|
:cond_1e
|
|
const/4 v5, 0x0
|
|
|
|
.line 699
|
|
:goto_12
|
|
if-nez v5, :cond_20
|
|
|
|
.line 700
|
|
.line 701
|
|
invoke-virtual {v3}, Lcom/google/api/client/http/HttpResponse;->getStatusCode()I
|
|
|
|
.line 702
|
|
.line 703
|
|
.line 704
|
|
move-result v6
|
|
|
|
.line 705
|
|
invoke-virtual {v3}, Lcom/google/api/client/http/HttpResponse;->getHeaders()Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 706
|
|
.line 707
|
|
.line 708
|
|
move-result-object v7
|
|
|
|
.line 709
|
|
invoke-virtual {v1, v6, v7}, Lcom/google/api/client/http/HttpRequest;->handleRedirect(ILcom/google/api/client/http/HttpHeaders;)Z
|
|
|
|
.line 710
|
|
.line 711
|
|
.line 712
|
|
move-result v6
|
|
|
|
.line 713
|
|
if-eqz v6, :cond_1f
|
|
|
|
.line 714
|
|
.line 715
|
|
:catch_1
|
|
:goto_13
|
|
const/4 v5, 0x1
|
|
|
|
.line 716
|
|
goto :goto_14
|
|
|
|
.line 717
|
|
:cond_1f
|
|
if-eqz v2, :cond_20
|
|
|
|
.line 718
|
|
.line 719
|
|
iget-object v6, v1, Lcom/google/api/client/http/HttpRequest;->backOffPolicy:Lcom/google/api/client/http/BackOffPolicy;
|
|
|
|
.line 720
|
|
.line 721
|
|
if-eqz v6, :cond_20
|
|
|
|
.line 722
|
|
.line 723
|
|
invoke-virtual {v3}, Lcom/google/api/client/http/HttpResponse;->getStatusCode()I
|
|
|
|
.line 724
|
|
.line 725
|
|
.line 726
|
|
move-result v7
|
|
|
|
.line 727
|
|
invoke-interface {v6, v7}, Lcom/google/api/client/http/BackOffPolicy;->isBackOffRequired(I)Z
|
|
|
|
.line 728
|
|
.line 729
|
|
.line 730
|
|
move-result v6
|
|
|
|
.line 731
|
|
if-eqz v6, :cond_20
|
|
|
|
.line 732
|
|
.line 733
|
|
iget-object v6, v1, Lcom/google/api/client/http/HttpRequest;->backOffPolicy:Lcom/google/api/client/http/BackOffPolicy;
|
|
|
|
.line 734
|
|
.line 735
|
|
invoke-interface {v6}, Lcom/google/api/client/http/BackOffPolicy;->getNextBackOffMillis()J
|
|
|
|
.line 736
|
|
.line 737
|
|
.line 738
|
|
move-result-wide v6
|
|
:try_end_4
|
|
.catchall {:try_start_4 .. :try_end_4} :catchall_2
|
|
|
|
.line 739
|
|
cmp-long v8, v6, v17
|
|
|
|
.line 740
|
|
.line 741
|
|
if-eqz v8, :cond_20
|
|
|
|
.line 742
|
|
.line 743
|
|
:try_start_5
|
|
iget-object v5, v1, Lcom/google/api/client/http/HttpRequest;->sleeper:Lcom/google/api/client/util/Sleeper;
|
|
|
|
.line 744
|
|
.line 745
|
|
invoke-interface {v5, v6, v7}, Lcom/google/api/client/util/Sleeper;->sleep(J)V
|
|
:try_end_5
|
|
.catch Ljava/lang/InterruptedException; {:try_start_5 .. :try_end_5} :catch_1
|
|
.catchall {:try_start_5 .. :try_end_5} :catchall_2
|
|
|
|
.line 746
|
|
.line 747
|
|
.line 748
|
|
goto :goto_13
|
|
|
|
.line 749
|
|
:cond_20
|
|
:goto_14
|
|
and-int/2addr v2, v5
|
|
|
|
.line 750
|
|
if-eqz v2, :cond_23
|
|
|
|
.line 751
|
|
.line 752
|
|
:try_start_6
|
|
invoke-virtual {v3}, Lcom/google/api/client/http/HttpResponse;->ignore()V
|
|
:try_end_6
|
|
.catchall {:try_start_6 .. :try_end_6} :catchall_2
|
|
|
|
.line 753
|
|
.line 754
|
|
.line 755
|
|
goto :goto_17
|
|
|
|
.line 756
|
|
:goto_15
|
|
invoke-virtual {v3}, Lcom/google/api/client/http/HttpResponse;->disconnect()V
|
|
|
|
.line 757
|
|
.line 758
|
|
.line 759
|
|
throw v0
|
|
|
|
.line 760
|
|
:cond_21
|
|
if-nez v3, :cond_22
|
|
|
|
.line 761
|
|
.line 762
|
|
const/4 v5, 0x1
|
|
|
|
.line 763
|
|
goto :goto_16
|
|
|
|
.line 764
|
|
:cond_22
|
|
const/4 v5, 0x0
|
|
|
|
.line 765
|
|
:goto_16
|
|
and-int/2addr v2, v5
|
|
|
|
.line 766
|
|
:cond_23
|
|
:goto_17
|
|
add-int/lit8 v6, v19, -0x1
|
|
|
|
.line 767
|
|
.line 768
|
|
if-nez v2, :cond_29
|
|
|
|
.line 769
|
|
.line 770
|
|
if-nez v3, :cond_24
|
|
|
|
.line 771
|
|
.line 772
|
|
move-object/from16 v5, v16
|
|
|
|
.line 773
|
|
.line 774
|
|
goto :goto_18
|
|
|
|
.line 775
|
|
:cond_24
|
|
invoke-virtual {v3}, Lcom/google/api/client/http/HttpResponse;->getStatusCode()I
|
|
|
|
.line 776
|
|
.line 777
|
|
.line 778
|
|
move-result v2
|
|
|
|
.line 779
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
.line 780
|
|
.line 781
|
|
.line 782
|
|
move-result-object v5
|
|
|
|
.line 783
|
|
:goto_18
|
|
|
|
.line 784
|
|
.line 785
|
|
.line 786
|
|
move-result-object v2
|
|
|
|
.line 787
|
|
|
|
.line 788
|
|
.line 789
|
|
.line 790
|
|
if-eqz v3, :cond_28
|
|
|
|
.line 791
|
|
.line 792
|
|
iget-object v0, v1, Lcom/google/api/client/http/HttpRequest;->responseInterceptor:Lcom/google/api/client/http/HttpResponseInterceptor;
|
|
|
|
.line 793
|
|
.line 794
|
|
if-eqz v0, :cond_25
|
|
|
|
.line 795
|
|
.line 796
|
|
invoke-interface {v0, v3}, Lcom/google/api/client/http/HttpResponseInterceptor;->interceptResponse(Lcom/google/api/client/http/HttpResponse;)V
|
|
|
|
.line 797
|
|
.line 798
|
|
.line 799
|
|
:cond_25
|
|
iget-boolean v0, v1, Lcom/google/api/client/http/HttpRequest;->throwExceptionOnExecuteError:Z
|
|
|
|
.line 800
|
|
.line 801
|
|
if-eqz v0, :cond_27
|
|
|
|
.line 802
|
|
.line 803
|
|
invoke-virtual {v3}, Lcom/google/api/client/http/HttpResponse;->isSuccessStatusCode()Z
|
|
|
|
.line 804
|
|
.line 805
|
|
.line 806
|
|
move-result v0
|
|
|
|
.line 807
|
|
if-eqz v0, :cond_26
|
|
|
|
.line 808
|
|
.line 809
|
|
goto :goto_19
|
|
|
|
.line 810
|
|
:cond_26
|
|
:try_start_7
|
|
new-instance v0, Lcom/google/api/client/http/HttpResponseException$Builder;
|
|
|
|
.line 811
|
|
.line 812
|
|
invoke-direct {v0, v3}, Lcom/google/api/client/http/HttpResponseException$Builder;-><init>(Lcom/google/api/client/http/HttpResponse;)V
|
|
|
|
.line 813
|
|
.line 814
|
|
.line 815
|
|
iget v2, v1, Lcom/google/api/client/http/HttpRequest;->numRetries:I
|
|
|
|
.line 816
|
|
.line 817
|
|
sub-int/2addr v2, v6
|
|
|
|
.line 818
|
|
invoke-virtual {v0, v2}, Lcom/google/api/client/http/HttpResponseException$Builder;->setAttemptCount(I)Lcom/google/api/client/http/HttpResponseException$Builder;
|
|
|
|
.line 819
|
|
.line 820
|
|
.line 821
|
|
move-result-object v0
|
|
|
|
.line 822
|
|
invoke-virtual {v0}, Lcom/google/api/client/http/HttpResponseException$Builder;->build()Lcom/google/api/client/http/HttpResponseException;
|
|
|
|
.line 823
|
|
.line 824
|
|
.line 825
|
|
move-result-object v0
|
|
|
|
.line 826
|
|
throw v0
|
|
:try_end_7
|
|
.catchall {:try_start_7 .. :try_end_7} :catchall_3
|
|
|
|
.line 827
|
|
:catchall_3
|
|
move-exception v0
|
|
|
|
.line 828
|
|
invoke-virtual {v3}, Lcom/google/api/client/http/HttpResponse;->disconnect()V
|
|
|
|
.line 829
|
|
.line 830
|
|
.line 831
|
|
throw v0
|
|
|
|
.line 832
|
|
:cond_27
|
|
:goto_19
|
|
return-object v3
|
|
|
|
.line 833
|
|
:cond_28
|
|
throw v0
|
|
|
|
.line 834
|
|
:cond_29
|
|
move-object v0, v3
|
|
|
|
.line 835
|
|
goto/16 :goto_1
|
|
|
|
.line 836
|
|
.line 837
|
|
:goto_1a
|
|
invoke-interface {v3}, Ljava/io/Closeable;->close()V
|
|
|
|
.line 838
|
|
.line 839
|
|
.line 840
|
|
throw v0
|
|
.end method
|
|
|
|
.method public executeAsync()Ljava/util/concurrent/Future;
|
|
.locals 2
|
|
.annotation build Lcom/google/api/client/util/Beta;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/concurrent/Future<",
|
|
"Lcom/google/api/client/http/HttpResponse;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 3
|
|
new-instance v0, Lcom/google/common/util/concurrent/ThreadFactoryBuilder;
|
|
|
|
invoke-direct {v0}, Lcom/google/common/util/concurrent/ThreadFactoryBuilder;-><init>()V
|
|
|
|
.line 4
|
|
sget-object v1, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;
|
|
|
|
iput-object v1, v0, Lcom/google/common/util/concurrent/ThreadFactoryBuilder;->b:Ljava/lang/Boolean;
|
|
|
|
.line 5
|
|
invoke-virtual {v0}, Lcom/google/common/util/concurrent/ThreadFactoryBuilder;->a()Ljava/util/concurrent/ThreadFactory;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-static {v1, v0}, Ljava/util/concurrent/Executors;->newFixedThreadPool(ILjava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ExecutorService;
|
|
|
|
move-result-object v0
|
|
|
|
.line 6
|
|
invoke-virtual {p0, v0}, Lcom/google/api/client/http/HttpRequest;->executeAsync(Ljava/util/concurrent/Executor;)Ljava/util/concurrent/Future;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public executeAsync(Ljava/util/concurrent/Executor;)Ljava/util/concurrent/Future;
|
|
.locals 2
|
|
.annotation build Lcom/google/api/client/util/Beta;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/concurrent/Executor;",
|
|
")",
|
|
"Ljava/util/concurrent/Future<",
|
|
"Lcom/google/api/client/http/HttpResponse;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Ljava/util/concurrent/FutureTask;
|
|
|
|
new-instance v1, Lcom/google/api/client/http/HttpRequest$1;
|
|
|
|
invoke-direct {v1, p0}, Lcom/google/api/client/http/HttpRequest$1;-><init>(Lcom/google/api/client/http/HttpRequest;)V
|
|
|
|
invoke-direct {v0, v1}, Ljava/util/concurrent/FutureTask;-><init>(Ljava/util/concurrent/Callable;)V
|
|
|
|
.line 2
|
|
invoke-interface {p1, v0}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getBackOffPolicy()Lcom/google/api/client/http/BackOffPolicy;
|
|
.locals 1
|
|
.annotation build Lcom/google/api/client/util/Beta;
|
|
.end annotation
|
|
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/api/client/http/HttpRequest;->backOffPolicy:Lcom/google/api/client/http/BackOffPolicy;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getConnectTimeout()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/api/client/http/HttpRequest;->connectTimeout:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getContent()Lcom/google/api/client/http/HttpContent;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/api/client/http/HttpRequest;->content:Lcom/google/api/client/http/HttpContent;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getContentLoggingLimit()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/api/client/http/HttpRequest;->contentLoggingLimit:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getEncoding()Lcom/google/api/client/http/HttpEncoding;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/api/client/http/HttpRequest;->encoding:Lcom/google/api/client/http/HttpEncoding;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getFollowRedirects()Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lcom/google/api/client/http/HttpRequest;->followRedirects:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getHeaders()Lcom/google/api/client/http/HttpHeaders;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/api/client/http/HttpRequest;->headers:Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getIOExceptionHandler()Lcom/google/api/client/http/HttpIOExceptionHandler;
|
|
.locals 1
|
|
.annotation build Lcom/google/api/client/util/Beta;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/api/client/http/HttpRequest;->ioExceptionHandler:Lcom/google/api/client/http/HttpIOExceptionHandler;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getInterceptor()Lcom/google/api/client/http/HttpExecuteInterceptor;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/api/client/http/HttpRequest;->executeInterceptor:Lcom/google/api/client/http/HttpExecuteInterceptor;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getNumberOfRetries()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/api/client/http/HttpRequest;->numRetries:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getParser()Lcom/google/api/client/util/ObjectParser;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/api/client/http/HttpRequest;->objectParser:Lcom/google/api/client/util/ObjectParser;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getReadTimeout()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/api/client/http/HttpRequest;->readTimeout:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getRequestMethod()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/api/client/http/HttpRequest;->requestMethod:Ljava/lang/String;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getResponseHeaders()Lcom/google/api/client/http/HttpHeaders;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/api/client/http/HttpRequest;->responseHeaders:Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getResponseInterceptor()Lcom/google/api/client/http/HttpResponseInterceptor;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/api/client/http/HttpRequest;->responseInterceptor:Lcom/google/api/client/http/HttpResponseInterceptor;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getResponseReturnRawInputStream()Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lcom/google/api/client/http/HttpRequest;->responseReturnRawInputStream:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getRetryOnExecuteIOException()Z
|
|
.locals 1
|
|
.annotation build Lcom/google/api/client/util/Beta;
|
|
.end annotation
|
|
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lcom/google/api/client/http/HttpRequest;->retryOnExecuteIOException:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getSleeper()Lcom/google/api/client/util/Sleeper;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/api/client/http/HttpRequest;->sleeper:Lcom/google/api/client/util/Sleeper;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getSuppressUserAgentSuffix()Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lcom/google/api/client/http/HttpRequest;->suppressUserAgentSuffix:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getThrowExceptionOnExecuteError()Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lcom/google/api/client/http/HttpRequest;->throwExceptionOnExecuteError:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getTransport()Lcom/google/api/client/http/HttpTransport;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/api/client/http/HttpRequest;->transport:Lcom/google/api/client/http/HttpTransport;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getUnsuccessfulResponseHandler()Lcom/google/api/client/http/HttpUnsuccessfulResponseHandler;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/api/client/http/HttpRequest;->unsuccessfulResponseHandler:Lcom/google/api/client/http/HttpUnsuccessfulResponseHandler;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getUrl()Lcom/google/api/client/http/GenericUrl;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/api/client/http/HttpRequest;->url:Lcom/google/api/client/http/GenericUrl;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getUseRawRedirectUrls()Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lcom/google/api/client/http/HttpRequest;->useRawRedirectUrls:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getWriteTimeout()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/api/client/http/HttpRequest;->writeTimeout:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public handleRedirect(ILcom/google/api/client/http/HttpHeaders;)Z
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-virtual {p2}, Lcom/google/api/client/http/HttpHeaders;->getLocation()Ljava/lang/String;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object p2
|
|
|
|
.line 5
|
|
invoke-virtual {p0}, Lcom/google/api/client/http/HttpRequest;->getFollowRedirects()Z
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result v0
|
|
|
|
.line 9
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-static {p1}, Lcom/google/api/client/http/HttpStatusCodes;->isRedirect(I)Z
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result v0
|
|
|
|
.line 15
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 16
|
|
.line 17
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 18
|
|
.line 19
|
|
new-instance v0, Lcom/google/api/client/http/GenericUrl;
|
|
|
|
.line 20
|
|
.line 21
|
|
iget-object v1, p0, Lcom/google/api/client/http/HttpRequest;->url:Lcom/google/api/client/http/GenericUrl;
|
|
|
|
.line 22
|
|
.line 23
|
|
invoke-virtual {v1, p2}, Lcom/google/api/client/http/GenericUrl;->toURL(Ljava/lang/String;)Ljava/net/URL;
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result-object p2
|
|
|
|
.line 27
|
|
iget-boolean v1, p0, Lcom/google/api/client/http/HttpRequest;->useRawRedirectUrls:Z
|
|
|
|
.line 28
|
|
.line 29
|
|
invoke-direct {v0, p2, v1}, Lcom/google/api/client/http/GenericUrl;-><init>(Ljava/net/URL;Z)V
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
invoke-virtual {p0, v0}, Lcom/google/api/client/http/HttpRequest;->setUrl(Lcom/google/api/client/http/GenericUrl;)Lcom/google/api/client/http/HttpRequest;
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
const/16 p2, 0x12f
|
|
|
|
.line 36
|
|
.line 37
|
|
const/4 v0, 0x0
|
|
|
|
.line 38
|
|
if-ne p1, p2, :cond_0
|
|
|
|
.line 39
|
|
.line 40
|
|
const-string p1, "GET"
|
|
|
|
.line 41
|
|
.line 42
|
|
invoke-virtual {p0, p1}, Lcom/google/api/client/http/HttpRequest;->setRequestMethod(Ljava/lang/String;)Lcom/google/api/client/http/HttpRequest;
|
|
|
|
.line 43
|
|
.line 44
|
|
.line 45
|
|
invoke-virtual {p0, v0}, Lcom/google/api/client/http/HttpRequest;->setContent(Lcom/google/api/client/http/HttpContent;)Lcom/google/api/client/http/HttpRequest;
|
|
|
|
.line 46
|
|
.line 47
|
|
.line 48
|
|
:cond_0
|
|
iget-object p1, p0, Lcom/google/api/client/http/HttpRequest;->headers:Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 49
|
|
.line 50
|
|
invoke-virtual {p1, v0}, Lcom/google/api/client/http/HttpHeaders;->setAuthorization(Ljava/lang/String;)Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 51
|
|
.line 52
|
|
.line 53
|
|
iget-object p1, p0, Lcom/google/api/client/http/HttpRequest;->headers:Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 54
|
|
.line 55
|
|
invoke-virtual {p1, v0}, Lcom/google/api/client/http/HttpHeaders;->setIfMatch(Ljava/lang/String;)Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 56
|
|
.line 57
|
|
.line 58
|
|
iget-object p1, p0, Lcom/google/api/client/http/HttpRequest;->headers:Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 59
|
|
.line 60
|
|
invoke-virtual {p1, v0}, Lcom/google/api/client/http/HttpHeaders;->setIfNoneMatch(Ljava/lang/String;)Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 61
|
|
.line 62
|
|
.line 63
|
|
iget-object p1, p0, Lcom/google/api/client/http/HttpRequest;->headers:Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 64
|
|
.line 65
|
|
invoke-virtual {p1, v0}, Lcom/google/api/client/http/HttpHeaders;->setIfModifiedSince(Ljava/lang/String;)Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 66
|
|
.line 67
|
|
.line 68
|
|
iget-object p1, p0, Lcom/google/api/client/http/HttpRequest;->headers:Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 69
|
|
.line 70
|
|
invoke-virtual {p1, v0}, Lcom/google/api/client/http/HttpHeaders;->setIfUnmodifiedSince(Ljava/lang/String;)Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 71
|
|
.line 72
|
|
.line 73
|
|
iget-object p1, p0, Lcom/google/api/client/http/HttpRequest;->headers:Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 74
|
|
.line 75
|
|
invoke-virtual {p1, v0}, Lcom/google/api/client/http/HttpHeaders;->setIfRange(Ljava/lang/String;)Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 76
|
|
.line 77
|
|
.line 78
|
|
const/4 p1, 0x1
|
|
|
|
.line 79
|
|
return p1
|
|
|
|
.line 80
|
|
:cond_1
|
|
const/4 p1, 0x0
|
|
|
|
.line 81
|
|
return p1
|
|
.end method
|
|
|
|
.method public isCurlLoggingEnabled()Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lcom/google/api/client/http/HttpRequest;->curlLoggingEnabled:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public isLoggingEnabled()Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lcom/google/api/client/http/HttpRequest;->loggingEnabled:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public setBackOffPolicy(Lcom/google/api/client/http/BackOffPolicy;)Lcom/google/api/client/http/HttpRequest;
|
|
.locals 0
|
|
.annotation build Lcom/google/api/client/util/Beta;
|
|
.end annotation
|
|
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iput-object p1, p0, Lcom/google/api/client/http/HttpRequest;->backOffPolicy:Lcom/google/api/client/http/BackOffPolicy;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setConnectTimeout(I)Lcom/google/api/client/http/HttpRequest;
|
|
.locals 1
|
|
|
|
.line 1
|
|
if-ltz p1, :cond_0
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v0, 0x1
|
|
|
|
.line 4
|
|
goto :goto_0
|
|
|
|
.line 5
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 6
|
|
:goto_0
|
|
invoke-static {v0}, Lcom/google/api/client/util/Preconditions;->checkArgument(Z)V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
iput p1, p0, Lcom/google/api/client/http/HttpRequest;->connectTimeout:I
|
|
|
|
.line 10
|
|
.line 11
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setContent(Lcom/google/api/client/http/HttpContent;)Lcom/google/api/client/http/HttpRequest;
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput-object p1, p0, Lcom/google/api/client/http/HttpRequest;->content:Lcom/google/api/client/http/HttpContent;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setContentLoggingLimit(I)Lcom/google/api/client/http/HttpRequest;
|
|
.locals 2
|
|
|
|
.line 1
|
|
if-ltz p1, :cond_0
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v0, 0x1
|
|
|
|
.line 4
|
|
goto :goto_0
|
|
|
|
.line 5
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 6
|
|
:goto_0
|
|
const-string v1, "The content logging limit must be non-negative."
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-static {v0, v1}, Lcom/google/api/client/util/Preconditions;->checkArgument(ZLjava/lang/Object;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
iput p1, p0, Lcom/google/api/client/http/HttpRequest;->contentLoggingLimit:I
|
|
|
|
.line 12
|
|
.line 13
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setCurlLoggingEnabled(Z)Lcom/google/api/client/http/HttpRequest;
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput-boolean p1, p0, Lcom/google/api/client/http/HttpRequest;->curlLoggingEnabled:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setEncoding(Lcom/google/api/client/http/HttpEncoding;)Lcom/google/api/client/http/HttpRequest;
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput-object p1, p0, Lcom/google/api/client/http/HttpRequest;->encoding:Lcom/google/api/client/http/HttpEncoding;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setFollowRedirects(Z)Lcom/google/api/client/http/HttpRequest;
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput-boolean p1, p0, Lcom/google/api/client/http/HttpRequest;->followRedirects:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setHeaders(Lcom/google/api/client/http/HttpHeaders;)Lcom/google/api/client/http/HttpRequest;
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static {p1}, Lcom/google/api/client/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object p1
|
|
|
|
.line 5
|
|
check-cast p1, Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 6
|
|
.line 7
|
|
iput-object p1, p0, Lcom/google/api/client/http/HttpRequest;->headers:Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 8
|
|
.line 9
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setIOExceptionHandler(Lcom/google/api/client/http/HttpIOExceptionHandler;)Lcom/google/api/client/http/HttpRequest;
|
|
.locals 0
|
|
.annotation build Lcom/google/api/client/util/Beta;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iput-object p1, p0, Lcom/google/api/client/http/HttpRequest;->ioExceptionHandler:Lcom/google/api/client/http/HttpIOExceptionHandler;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setInterceptor(Lcom/google/api/client/http/HttpExecuteInterceptor;)Lcom/google/api/client/http/HttpRequest;
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput-object p1, p0, Lcom/google/api/client/http/HttpRequest;->executeInterceptor:Lcom/google/api/client/http/HttpExecuteInterceptor;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setLoggingEnabled(Z)Lcom/google/api/client/http/HttpRequest;
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput-boolean p1, p0, Lcom/google/api/client/http/HttpRequest;->loggingEnabled:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setNumberOfRetries(I)Lcom/google/api/client/http/HttpRequest;
|
|
.locals 1
|
|
|
|
.line 1
|
|
if-ltz p1, :cond_0
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v0, 0x1
|
|
|
|
.line 4
|
|
goto :goto_0
|
|
|
|
.line 5
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 6
|
|
:goto_0
|
|
invoke-static {v0}, Lcom/google/api/client/util/Preconditions;->checkArgument(Z)V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
iput p1, p0, Lcom/google/api/client/http/HttpRequest;->numRetries:I
|
|
|
|
.line 10
|
|
.line 11
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setParser(Lcom/google/api/client/util/ObjectParser;)Lcom/google/api/client/http/HttpRequest;
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput-object p1, p0, Lcom/google/api/client/http/HttpRequest;->objectParser:Lcom/google/api/client/util/ObjectParser;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setReadTimeout(I)Lcom/google/api/client/http/HttpRequest;
|
|
.locals 1
|
|
|
|
.line 1
|
|
if-ltz p1, :cond_0
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v0, 0x1
|
|
|
|
.line 4
|
|
goto :goto_0
|
|
|
|
.line 5
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 6
|
|
:goto_0
|
|
invoke-static {v0}, Lcom/google/api/client/util/Preconditions;->checkArgument(Z)V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
iput p1, p0, Lcom/google/api/client/http/HttpRequest;->readTimeout:I
|
|
|
|
.line 10
|
|
.line 11
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setRequestMethod(Ljava/lang/String;)Lcom/google/api/client/http/HttpRequest;
|
|
.locals 1
|
|
|
|
.line 1
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1}, Lcom/google/api/client/http/HttpMediaType;->matchesToken(Ljava/lang/String;)Z
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result v0
|
|
|
|
.line 7
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
goto :goto_0
|
|
|
|
.line 10
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 11
|
|
goto :goto_1
|
|
|
|
.line 12
|
|
:cond_1
|
|
:goto_0
|
|
const/4 v0, 0x1
|
|
|
|
.line 13
|
|
:goto_1
|
|
invoke-static {v0}, Lcom/google/api/client/util/Preconditions;->checkArgument(Z)V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
iput-object p1, p0, Lcom/google/api/client/http/HttpRequest;->requestMethod:Ljava/lang/String;
|
|
|
|
.line 17
|
|
.line 18
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setResponseHeaders(Lcom/google/api/client/http/HttpHeaders;)Lcom/google/api/client/http/HttpRequest;
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static {p1}, Lcom/google/api/client/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object p1
|
|
|
|
.line 5
|
|
check-cast p1, Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 6
|
|
.line 7
|
|
iput-object p1, p0, Lcom/google/api/client/http/HttpRequest;->responseHeaders:Lcom/google/api/client/http/HttpHeaders;
|
|
|
|
.line 8
|
|
.line 9
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setResponseInterceptor(Lcom/google/api/client/http/HttpResponseInterceptor;)Lcom/google/api/client/http/HttpRequest;
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput-object p1, p0, Lcom/google/api/client/http/HttpRequest;->responseInterceptor:Lcom/google/api/client/http/HttpResponseInterceptor;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setResponseReturnRawInputStream(Z)Lcom/google/api/client/http/HttpRequest;
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput-boolean p1, p0, Lcom/google/api/client/http/HttpRequest;->responseReturnRawInputStream:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setRetryOnExecuteIOException(Z)Lcom/google/api/client/http/HttpRequest;
|
|
.locals 0
|
|
.annotation build Lcom/google/api/client/util/Beta;
|
|
.end annotation
|
|
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iput-boolean p1, p0, Lcom/google/api/client/http/HttpRequest;->retryOnExecuteIOException:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setSleeper(Lcom/google/api/client/util/Sleeper;)Lcom/google/api/client/http/HttpRequest;
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static {p1}, Lcom/google/api/client/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object p1
|
|
|
|
.line 5
|
|
check-cast p1, Lcom/google/api/client/util/Sleeper;
|
|
|
|
.line 6
|
|
.line 7
|
|
iput-object p1, p0, Lcom/google/api/client/http/HttpRequest;->sleeper:Lcom/google/api/client/util/Sleeper;
|
|
|
|
.line 8
|
|
.line 9
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setSuppressUserAgentSuffix(Z)Lcom/google/api/client/http/HttpRequest;
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput-boolean p1, p0, Lcom/google/api/client/http/HttpRequest;->suppressUserAgentSuffix:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setThrowExceptionOnExecuteError(Z)Lcom/google/api/client/http/HttpRequest;
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput-boolean p1, p0, Lcom/google/api/client/http/HttpRequest;->throwExceptionOnExecuteError:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setUnsuccessfulResponseHandler(Lcom/google/api/client/http/HttpUnsuccessfulResponseHandler;)Lcom/google/api/client/http/HttpRequest;
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput-object p1, p0, Lcom/google/api/client/http/HttpRequest;->unsuccessfulResponseHandler:Lcom/google/api/client/http/HttpUnsuccessfulResponseHandler;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setUrl(Lcom/google/api/client/http/GenericUrl;)Lcom/google/api/client/http/HttpRequest;
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static {p1}, Lcom/google/api/client/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object p1
|
|
|
|
.line 5
|
|
check-cast p1, Lcom/google/api/client/http/GenericUrl;
|
|
|
|
.line 6
|
|
.line 7
|
|
iput-object p1, p0, Lcom/google/api/client/http/HttpRequest;->url:Lcom/google/api/client/http/GenericUrl;
|
|
|
|
.line 8
|
|
.line 9
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setUseRawRedirectUrls(Z)Lcom/google/api/client/http/HttpRequest;
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput-boolean p1, p0, Lcom/google/api/client/http/HttpRequest;->useRawRedirectUrls:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setWriteTimeout(I)Lcom/google/api/client/http/HttpRequest;
|
|
.locals 1
|
|
|
|
.line 1
|
|
if-ltz p1, :cond_0
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v0, 0x1
|
|
|
|
.line 4
|
|
goto :goto_0
|
|
|
|
.line 5
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 6
|
|
:goto_0
|
|
invoke-static {v0}, Lcom/google/api/client/util/Preconditions;->checkArgument(Z)V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
iput p1, p0, Lcom/google/api/client/http/HttpRequest;->writeTimeout:I
|
|
|
|
.line 10
|
|
.line 11
|
|
return-object p0
|
|
.end method
|