951 lines
23 KiB
Smali
951 lines
23 KiB
Smali
.class abstract Lokhttp3/internal/huc/DelegatingHttpsURLConnection;
|
|
.super Ljavax/net/ssl/HttpsURLConnection;
|
|
.source "DelegatingHttpsURLConnection.java"
|
|
|
|
|
|
# instance fields
|
|
.field private final a:Ljava/net/HttpURLConnection;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/net/HttpURLConnection;)V
|
|
.locals 1
|
|
|
|
.line 45
|
|
invoke-virtual {p1}, Ljava/net/HttpURLConnection;->getURL()Ljava/net/URL;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p0, v0}, Ljavax/net/ssl/HttpsURLConnection;-><init>(Ljava/net/URL;)V
|
|
|
|
.line 46
|
|
iput-object p1, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method protected abstract a()Lokhttp3/Handshake;
|
|
.end method
|
|
|
|
.method public addRequestProperty(Ljava/lang/String;Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 192
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0, p1, p2}, Ljava/net/HttpURLConnection;->addRequestProperty(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public connect()V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 89
|
|
iput-boolean v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->connected:Z
|
|
|
|
.line 90
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->connect()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public disconnect()V
|
|
.locals 1
|
|
|
|
.line 94
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->disconnect()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public getAllowUserInteraction()Z
|
|
.locals 1
|
|
|
|
.line 130
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getAllowUserInteraction()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getCipherSuite()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 60
|
|
invoke-virtual {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a()Lokhttp3/Handshake;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 61
|
|
invoke-virtual {v0}, Lokhttp3/Handshake;->b()Lokhttp3/CipherSuite;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lokhttp3/CipherSuite;->a()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getConnectTimeout()I
|
|
.locals 1
|
|
|
|
.line 286
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getConnectTimeout()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getContent()Ljava/lang/Object;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 134
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getContent()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getContent([Ljava/lang/Class;)Ljava/lang/Object;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 139
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/net/HttpURLConnection;->getContent([Ljava/lang/Class;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public getContentEncoding()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 143
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getContentEncoding()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getContentLength()I
|
|
.locals 1
|
|
|
|
.line 147
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getContentLength()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getContentLengthLong()J
|
|
.locals 2
|
|
.annotation build Lorg/codehaus/mojo/animal_sniffer/IgnoreJRERequirement;
|
|
.end annotation
|
|
|
|
.line 152
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getContentLengthLong()J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public getContentType()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 156
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getContentType()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getDate()J
|
|
.locals 2
|
|
|
|
.line 160
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getDate()J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public getDefaultUseCaches()Z
|
|
.locals 1
|
|
|
|
.line 164
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getDefaultUseCaches()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getDoInput()Z
|
|
.locals 1
|
|
|
|
.line 168
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getDoInput()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getDoOutput()Z
|
|
.locals 1
|
|
|
|
.line 172
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getDoOutput()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getErrorStream()Ljava/io/InputStream;
|
|
.locals 1
|
|
|
|
.line 98
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getErrorStream()Ljava/io/InputStream;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getExpiration()J
|
|
.locals 2
|
|
|
|
.line 176
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getExpiration()J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public getHeaderField(I)Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 180
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/net/HttpURLConnection;->getHeaderField(I)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public getHeaderField(Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 196
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/net/HttpURLConnection;->getHeaderField(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public getHeaderFieldDate(Ljava/lang/String;J)J
|
|
.locals 1
|
|
|
|
.line 205
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0, p1, p2, p3}, Ljava/net/HttpURLConnection;->getHeaderFieldDate(Ljava/lang/String;J)J
|
|
|
|
move-result-wide p1
|
|
|
|
return-wide p1
|
|
.end method
|
|
|
|
.method public getHeaderFieldInt(Ljava/lang/String;I)I
|
|
.locals 1
|
|
|
|
.line 209
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0, p1, p2}, Ljava/net/HttpURLConnection;->getHeaderFieldInt(Ljava/lang/String;I)I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public getHeaderFieldKey(I)Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 213
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/net/HttpURLConnection;->getHeaderFieldKey(I)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public getHeaderFieldLong(Ljava/lang/String;J)J
|
|
.locals 1
|
|
.annotation build Lorg/codehaus/mojo/animal_sniffer/IgnoreJRERequirement;
|
|
.end annotation
|
|
|
|
.line 201
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0, p1, p2, p3}, Ljava/net/HttpURLConnection;->getHeaderFieldLong(Ljava/lang/String;J)J
|
|
|
|
move-result-wide p1
|
|
|
|
return-wide p1
|
|
.end method
|
|
|
|
.method public getHeaderFields()Ljava/util/Map;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/String;",
|
|
">;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 184
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getHeaderFields()Ljava/util/Map;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getIfModifiedSince()J
|
|
.locals 2
|
|
|
|
.line 217
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getIfModifiedSince()J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public getInputStream()Ljava/io/InputStream;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 221
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getInputStream()Ljava/io/InputStream;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getInstanceFollowRedirects()Z
|
|
.locals 1
|
|
|
|
.line 122
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getInstanceFollowRedirects()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getLastModified()J
|
|
.locals 2
|
|
|
|
.line 225
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getLastModified()J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public getLocalCertificates()[Ljava/security/cert/Certificate;
|
|
.locals 3
|
|
|
|
.line 65
|
|
invoke-virtual {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a()Lokhttp3/Handshake;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-object v1
|
|
|
|
.line 67
|
|
:cond_0
|
|
invoke-virtual {v0}, Lokhttp3/Handshake;->e()Ljava/util/List;
|
|
|
|
move-result-object v0
|
|
|
|
.line 68
|
|
invoke-interface {v0}, Ljava/util/List;->isEmpty()Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_1
|
|
|
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
|
|
|
move-result v1
|
|
|
|
new-array v1, v1, [Ljava/security/cert/Certificate;
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/List;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
move-object v1, v0
|
|
|
|
check-cast v1, [Ljava/security/cert/Certificate;
|
|
|
|
:cond_1
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public getLocalPrincipal()Ljava/security/Principal;
|
|
.locals 1
|
|
|
|
.line 84
|
|
invoke-virtual {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a()Lokhttp3/Handshake;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 85
|
|
invoke-virtual {v0}, Lokhttp3/Handshake;->f()Ljava/security/Principal;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getOutputStream()Ljava/io/OutputStream;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 229
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getOutputStream()Ljava/io/OutputStream;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getPeerPrincipal()Ljava/security/Principal;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljavax/net/ssl/SSLPeerUnverifiedException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 79
|
|
invoke-virtual {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a()Lokhttp3/Handshake;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 80
|
|
invoke-virtual {v0}, Lokhttp3/Handshake;->d()Ljava/security/Principal;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getPermission()Ljava/security/Permission;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 233
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getPermission()Ljava/security/Permission;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getReadTimeout()I
|
|
.locals 1
|
|
|
|
.line 294
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getReadTimeout()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getRequestMethod()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 102
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getRequestMethod()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getRequestProperties()Ljava/util/Map;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/String;",
|
|
">;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 188
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getRequestProperties()Ljava/util/Map;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getRequestProperty(Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 237
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/net/HttpURLConnection;->getRequestProperty(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public getResponseCode()I
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 106
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getResponseCode()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getResponseMessage()Ljava/lang/String;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 110
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getResponseMessage()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getServerCertificates()[Ljava/security/cert/Certificate;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljavax/net/ssl/SSLPeerUnverifiedException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 72
|
|
invoke-virtual {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a()Lokhttp3/Handshake;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-object v1
|
|
|
|
.line 74
|
|
:cond_0
|
|
invoke-virtual {v0}, Lokhttp3/Handshake;->c()Ljava/util/List;
|
|
|
|
move-result-object v0
|
|
|
|
.line 75
|
|
invoke-interface {v0}, Ljava/util/List;->isEmpty()Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_1
|
|
|
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
|
|
|
move-result v1
|
|
|
|
new-array v1, v1, [Ljava/security/cert/Certificate;
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/List;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
move-object v1, v0
|
|
|
|
check-cast v1, [Ljava/security/cert/Certificate;
|
|
|
|
:cond_1
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public getURL()Ljava/net/URL;
|
|
.locals 1
|
|
|
|
.line 241
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getURL()Ljava/net/URL;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getUseCaches()Z
|
|
.locals 1
|
|
|
|
.line 245
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getUseCaches()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public setAllowUserInteraction(Z)V
|
|
.locals 1
|
|
|
|
.line 249
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/net/HttpURLConnection;->setAllowUserInteraction(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setChunkedStreamingMode(I)V
|
|
.locals 1
|
|
|
|
.line 306
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/net/HttpURLConnection;->setChunkedStreamingMode(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setConnectTimeout(I)V
|
|
.locals 1
|
|
|
|
.line 282
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/net/HttpURLConnection;->setConnectTimeout(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setDefaultUseCaches(Z)V
|
|
.locals 1
|
|
|
|
.line 253
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/net/HttpURLConnection;->setDefaultUseCaches(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setDoInput(Z)V
|
|
.locals 1
|
|
|
|
.line 257
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/net/HttpURLConnection;->setDoInput(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setDoOutput(Z)V
|
|
.locals 1
|
|
|
|
.line 261
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/net/HttpURLConnection;->setDoOutput(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setFixedLengthStreamingMode(I)V
|
|
.locals 1
|
|
|
|
.line 302
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/net/HttpURLConnection;->setFixedLengthStreamingMode(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setFixedLengthStreamingMode(J)V
|
|
.locals 1
|
|
.annotation build Lorg/codehaus/mojo/animal_sniffer/IgnoreJRERequirement;
|
|
.end annotation
|
|
|
|
.line 266
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0, p1, p2}, Ljava/net/HttpURLConnection;->setFixedLengthStreamingMode(J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setIfModifiedSince(J)V
|
|
.locals 1
|
|
|
|
.line 270
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0, p1, p2}, Ljava/net/HttpURLConnection;->setIfModifiedSince(J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setInstanceFollowRedirects(Z)V
|
|
.locals 1
|
|
|
|
.line 126
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/net/HttpURLConnection;->setInstanceFollowRedirects(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setReadTimeout(I)V
|
|
.locals 1
|
|
|
|
.line 290
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/net/HttpURLConnection;->setReadTimeout(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setRequestMethod(Ljava/lang/String;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/net/ProtocolException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 114
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/net/HttpURLConnection;->setRequestMethod(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 274
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0, p1, p2}, Ljava/net/HttpURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setUseCaches(Z)V
|
|
.locals 1
|
|
|
|
.line 278
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/net/HttpURLConnection;->setUseCaches(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 298
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public usingProxy()Z
|
|
.locals 1
|
|
|
|
.line 118
|
|
iget-object v0, p0, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->a:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->usingProxy()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|