Weather/smali_classes4/okhttp3/internal/huc/OkHttpsURLConnection.smali
2021-05-10 10:13:34 +02:00

829 lines
21 KiB
Smali

.class public final Lokhttp3/internal/huc/OkHttpsURLConnection;
.super Lokhttp3/internal/huc/DelegatingHttpsURLConnection;
.source "OkHttpsURLConnection.java"
# instance fields
.field private final a:Lokhttp3/internal/huc/OkHttpURLConnection;
# direct methods
.method public constructor <init>(Ljava/net/URL;Lokhttp3/OkHttpClient;Lokhttp3/internal/URLFilter;)V
.locals 1
.line 34
new-instance v0, Lokhttp3/internal/huc/OkHttpURLConnection;
invoke-direct {v0, p1, p2, p3}, Lokhttp3/internal/huc/OkHttpURLConnection;-><init>(Ljava/net/URL;Lokhttp3/OkHttpClient;Lokhttp3/internal/URLFilter;)V
invoke-direct {p0, v0}, Lokhttp3/internal/huc/OkHttpsURLConnection;-><init>(Lokhttp3/internal/huc/OkHttpURLConnection;)V
return-void
.end method
.method public constructor <init>(Lokhttp3/internal/huc/OkHttpURLConnection;)V
.locals 0
.line 38
invoke-direct {p0, p1}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;-><init>(Ljava/net/HttpURLConnection;)V
.line 39
iput-object p1, p0, Lokhttp3/internal/huc/OkHttpsURLConnection;->a:Lokhttp3/internal/huc/OkHttpURLConnection;
return-void
.end method
# virtual methods
.method protected a()Lokhttp3/Handshake;
.locals 2
.line 43
iget-object v0, p0, Lokhttp3/internal/huc/OkHttpsURLConnection;->a:Lokhttp3/internal/huc/OkHttpURLConnection;
iget-object v0, v0, Lokhttp3/internal/huc/OkHttpURLConnection;->d:Lokhttp3/Call;
if-eqz v0, :cond_0
.line 47
iget-object v0, p0, Lokhttp3/internal/huc/OkHttpsURLConnection;->a:Lokhttp3/internal/huc/OkHttpURLConnection;
iget-object v0, v0, Lokhttp3/internal/huc/OkHttpURLConnection;->i:Lokhttp3/Handshake;
return-object v0
.line 44
:cond_0
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "Connection has not yet been established"
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public bridge synthetic addRequestProperty(Ljava/lang/String;Ljava/lang/String;)V
.locals 0
.line 26
invoke-super {p0, p1, p2}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->addRequestProperty(Ljava/lang/String;Ljava/lang/String;)V
return-void
.end method
.method public bridge synthetic connect()V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->connect()V
return-void
.end method
.method public bridge synthetic disconnect()V
.locals 0
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->disconnect()V
return-void
.end method
.method public bridge synthetic getAllowUserInteraction()Z
.locals 1
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getAllowUserInteraction()Z
move-result v0
return v0
.end method
.method public bridge synthetic getCipherSuite()Ljava/lang/String;
.locals 1
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getCipherSuite()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic getConnectTimeout()I
.locals 1
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getConnectTimeout()I
move-result v0
return v0
.end method
.method public bridge synthetic getContent()Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getContent()Ljava/lang/Object;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic getContent([Ljava/lang/Class;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 26
invoke-super {p0, p1}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getContent([Ljava/lang/Class;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
.method public bridge synthetic getContentEncoding()Ljava/lang/String;
.locals 1
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getContentEncoding()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic getContentLength()I
.locals 1
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getContentLength()I
move-result v0
return v0
.end method
.method public bridge synthetic getContentLengthLong()J
.locals 2
.annotation build Lorg/codehaus/mojo/animal_sniffer/IgnoreJRERequirement;
.end annotation
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getContentLengthLong()J
move-result-wide v0
return-wide v0
.end method
.method public bridge synthetic getContentType()Ljava/lang/String;
.locals 1
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getContentType()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic getDate()J
.locals 2
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getDate()J
move-result-wide v0
return-wide v0
.end method
.method public bridge synthetic getDefaultUseCaches()Z
.locals 1
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getDefaultUseCaches()Z
move-result v0
return v0
.end method
.method public bridge synthetic getDoInput()Z
.locals 1
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getDoInput()Z
move-result v0
return v0
.end method
.method public bridge synthetic getDoOutput()Z
.locals 1
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getDoOutput()Z
move-result v0
return v0
.end method
.method public bridge synthetic getErrorStream()Ljava/io/InputStream;
.locals 1
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getErrorStream()Ljava/io/InputStream;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic getExpiration()J
.locals 2
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getExpiration()J
move-result-wide v0
return-wide v0
.end method
.method public bridge synthetic getHeaderField(I)Ljava/lang/String;
.locals 0
.line 26
invoke-super {p0, p1}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getHeaderField(I)Ljava/lang/String;
move-result-object p1
return-object p1
.end method
.method public bridge synthetic getHeaderField(Ljava/lang/String;)Ljava/lang/String;
.locals 0
.line 26
invoke-super {p0, p1}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getHeaderField(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
return-object p1
.end method
.method public bridge synthetic getHeaderFieldDate(Ljava/lang/String;J)J
.locals 0
.line 26
invoke-super {p0, p1, p2, p3}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getHeaderFieldDate(Ljava/lang/String;J)J
move-result-wide p1
return-wide p1
.end method
.method public bridge synthetic getHeaderFieldInt(Ljava/lang/String;I)I
.locals 0
.line 26
invoke-super {p0, p1, p2}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getHeaderFieldInt(Ljava/lang/String;I)I
move-result p1
return p1
.end method
.method public bridge synthetic getHeaderFieldKey(I)Ljava/lang/String;
.locals 0
.line 26
invoke-super {p0, p1}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getHeaderFieldKey(I)Ljava/lang/String;
move-result-object p1
return-object p1
.end method
.method public bridge synthetic getHeaderFieldLong(Ljava/lang/String;J)J
.locals 0
.annotation build Lorg/codehaus/mojo/animal_sniffer/IgnoreJRERequirement;
.end annotation
.line 26
invoke-super {p0, p1, p2, p3}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getHeaderFieldLong(Ljava/lang/String;J)J
move-result-wide p1
return-wide p1
.end method
.method public bridge synthetic getHeaderFields()Ljava/util/Map;
.locals 1
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getHeaderFields()Ljava/util/Map;
move-result-object v0
return-object v0
.end method
.method public getHostnameVerifier()Ljavax/net/ssl/HostnameVerifier;
.locals 1
.line 57
iget-object v0, p0, Lokhttp3/internal/huc/OkHttpsURLConnection;->a:Lokhttp3/internal/huc/OkHttpURLConnection;
iget-object v0, v0, Lokhttp3/internal/huc/OkHttpURLConnection;->c:Lokhttp3/OkHttpClient;
invoke-virtual {v0}, Lokhttp3/OkHttpClient;->l()Ljavax/net/ssl/HostnameVerifier;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic getIfModifiedSince()J
.locals 2
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getIfModifiedSince()J
move-result-wide v0
return-wide v0
.end method
.method public bridge synthetic getInputStream()Ljava/io/InputStream;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getInputStream()Ljava/io/InputStream;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic getInstanceFollowRedirects()Z
.locals 1
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getInstanceFollowRedirects()Z
move-result v0
return v0
.end method
.method public bridge synthetic getLastModified()J
.locals 2
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getLastModified()J
move-result-wide v0
return-wide v0
.end method
.method public bridge synthetic getLocalCertificates()[Ljava/security/cert/Certificate;
.locals 1
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getLocalCertificates()[Ljava/security/cert/Certificate;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic getLocalPrincipal()Ljava/security/Principal;
.locals 1
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getLocalPrincipal()Ljava/security/Principal;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic getOutputStream()Ljava/io/OutputStream;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getOutputStream()Ljava/io/OutputStream;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic getPeerPrincipal()Ljava/security/Principal;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljavax/net/ssl/SSLPeerUnverifiedException;
}
.end annotation
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getPeerPrincipal()Ljava/security/Principal;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic getPermission()Ljava/security/Permission;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getPermission()Ljava/security/Permission;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic getReadTimeout()I
.locals 1
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getReadTimeout()I
move-result v0
return v0
.end method
.method public bridge synthetic getRequestMethod()Ljava/lang/String;
.locals 1
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getRequestMethod()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic getRequestProperties()Ljava/util/Map;
.locals 1
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getRequestProperties()Ljava/util/Map;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic getRequestProperty(Ljava/lang/String;)Ljava/lang/String;
.locals 0
.line 26
invoke-super {p0, p1}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getRequestProperty(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
return-object p1
.end method
.method public bridge synthetic getResponseCode()I
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getResponseCode()I
move-result v0
return v0
.end method
.method public bridge synthetic getResponseMessage()Ljava/lang/String;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getResponseMessage()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public getSSLSocketFactory()Ljavax/net/ssl/SSLSocketFactory;
.locals 1
.line 68
iget-object v0, p0, Lokhttp3/internal/huc/OkHttpsURLConnection;->a:Lokhttp3/internal/huc/OkHttpURLConnection;
iget-object v0, v0, Lokhttp3/internal/huc/OkHttpURLConnection;->c:Lokhttp3/OkHttpClient;
invoke-virtual {v0}, Lokhttp3/OkHttpClient;->k()Ljavax/net/ssl/SSLSocketFactory;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic getServerCertificates()[Ljava/security/cert/Certificate;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljavax/net/ssl/SSLPeerUnverifiedException;
}
.end annotation
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getServerCertificates()[Ljava/security/cert/Certificate;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic getURL()Ljava/net/URL;
.locals 1
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getURL()Ljava/net/URL;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic getUseCaches()Z
.locals 1
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->getUseCaches()Z
move-result v0
return v0
.end method
.method public bridge synthetic setAllowUserInteraction(Z)V
.locals 0
.line 26
invoke-super {p0, p1}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->setAllowUserInteraction(Z)V
return-void
.end method
.method public bridge synthetic setChunkedStreamingMode(I)V
.locals 0
.line 26
invoke-super {p0, p1}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->setChunkedStreamingMode(I)V
return-void
.end method
.method public bridge synthetic setConnectTimeout(I)V
.locals 0
.line 26
invoke-super {p0, p1}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->setConnectTimeout(I)V
return-void
.end method
.method public bridge synthetic setDefaultUseCaches(Z)V
.locals 0
.line 26
invoke-super {p0, p1}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->setDefaultUseCaches(Z)V
return-void
.end method
.method public bridge synthetic setDoInput(Z)V
.locals 0
.line 26
invoke-super {p0, p1}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->setDoInput(Z)V
return-void
.end method
.method public bridge synthetic setDoOutput(Z)V
.locals 0
.line 26
invoke-super {p0, p1}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->setDoOutput(Z)V
return-void
.end method
.method public bridge synthetic setFixedLengthStreamingMode(I)V
.locals 0
.line 26
invoke-super {p0, p1}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->setFixedLengthStreamingMode(I)V
return-void
.end method
.method public bridge synthetic setFixedLengthStreamingMode(J)V
.locals 0
.annotation build Lorg/codehaus/mojo/animal_sniffer/IgnoreJRERequirement;
.end annotation
.line 26
invoke-super {p0, p1, p2}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->setFixedLengthStreamingMode(J)V
return-void
.end method
.method public setHostnameVerifier(Ljavax/net/ssl/HostnameVerifier;)V
.locals 2
.line 51
iget-object v0, p0, Lokhttp3/internal/huc/OkHttpsURLConnection;->a:Lokhttp3/internal/huc/OkHttpURLConnection;
iget-object v1, p0, Lokhttp3/internal/huc/OkHttpsURLConnection;->a:Lokhttp3/internal/huc/OkHttpURLConnection;
iget-object v1, v1, Lokhttp3/internal/huc/OkHttpURLConnection;->c:Lokhttp3/OkHttpClient;
invoke-virtual {v1}, Lokhttp3/OkHttpClient;->y()Lokhttp3/OkHttpClient$Builder;
move-result-object v1
.line 52
invoke-virtual {v1, p1}, Lokhttp3/OkHttpClient$Builder;->a(Ljavax/net/ssl/HostnameVerifier;)Lokhttp3/OkHttpClient$Builder;
move-result-object p1
.line 53
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->c()Lokhttp3/OkHttpClient;
move-result-object p1
iput-object p1, v0, Lokhttp3/internal/huc/OkHttpURLConnection;->c:Lokhttp3/OkHttpClient;
return-void
.end method
.method public bridge synthetic setIfModifiedSince(J)V
.locals 0
.line 26
invoke-super {p0, p1, p2}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->setIfModifiedSince(J)V
return-void
.end method
.method public bridge synthetic setInstanceFollowRedirects(Z)V
.locals 0
.line 26
invoke-super {p0, p1}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->setInstanceFollowRedirects(Z)V
return-void
.end method
.method public bridge synthetic setReadTimeout(I)V
.locals 0
.line 26
invoke-super {p0, p1}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->setReadTimeout(I)V
return-void
.end method
.method public bridge synthetic setRequestMethod(Ljava/lang/String;)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/net/ProtocolException;
}
.end annotation
.line 26
invoke-super {p0, p1}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->setRequestMethod(Ljava/lang/String;)V
return-void
.end method
.method public bridge synthetic setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V
.locals 0
.line 26
invoke-super {p0, p1, p2}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V
return-void
.end method
.method public setSSLSocketFactory(Ljavax/net/ssl/SSLSocketFactory;)V
.locals 2
.line 62
iget-object v0, p0, Lokhttp3/internal/huc/OkHttpsURLConnection;->a:Lokhttp3/internal/huc/OkHttpURLConnection;
iget-object v1, p0, Lokhttp3/internal/huc/OkHttpsURLConnection;->a:Lokhttp3/internal/huc/OkHttpURLConnection;
iget-object v1, v1, Lokhttp3/internal/huc/OkHttpURLConnection;->c:Lokhttp3/OkHttpClient;
invoke-virtual {v1}, Lokhttp3/OkHttpClient;->y()Lokhttp3/OkHttpClient$Builder;
move-result-object v1
.line 63
invoke-virtual {v1, p1}, Lokhttp3/OkHttpClient$Builder;->a(Ljavax/net/ssl/SSLSocketFactory;)Lokhttp3/OkHttpClient$Builder;
move-result-object p1
.line 64
invoke-virtual {p1}, Lokhttp3/OkHttpClient$Builder;->c()Lokhttp3/OkHttpClient;
move-result-object p1
iput-object p1, v0, Lokhttp3/internal/huc/OkHttpURLConnection;->c:Lokhttp3/OkHttpClient;
return-void
.end method
.method public bridge synthetic setUseCaches(Z)V
.locals 0
.line 26
invoke-super {p0, p1}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->setUseCaches(Z)V
return-void
.end method
.method public bridge synthetic toString()Ljava/lang/String;
.locals 1
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic usingProxy()Z
.locals 1
.line 26
invoke-super {p0}, Lokhttp3/internal/huc/DelegatingHttpsURLConnection;->usingProxy()Z
move-result v0
return v0
.end method