123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867 |
- .class public Lokhttp3/OkHttpClient;
- .super Ljava/lang/Object;
- .source ""
- # interfaces
- .implements Ljava/lang/Cloneable;
- .implements Lokhttp3/Call$Factory;
- .implements Lokhttp3/WebSocket$Factory;
- # annotations
- .annotation system Ldalvik/annotation/MemberClasses;
- value = {
- Lokhttp3/OkHttpClient$Builder;
- }
- .end annotation
- # static fields
- .field static final DEFAULT_CONNECTION_SPECS:Ljava/util/List;
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "Ljava/util/List<",
- "Lokhttp3/ConnectionSpec;",
- ">;"
- }
- .end annotation
- .end field
- .field static final DEFAULT_PROTOCOLS:Ljava/util/List;
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "Ljava/util/List<",
- "Lokhttp3/Protocol;",
- ">;"
- }
- .end annotation
- .end field
- # instance fields
- .field final authenticator:Lokhttp3/Authenticator;
- .field final cache:Lokhttp3/Cache;
- .field final certificateChainCleaner:Lokhttp3/internal/tls/CertificateChainCleaner;
- .field final certificatePinner:Lokhttp3/CertificatePinner;
- .field final connectTimeout:I
- .field final connectionPool:Lokhttp3/ConnectionPool;
- .field final connectionSpecs:Ljava/util/List;
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "Ljava/util/List<",
- "Lokhttp3/ConnectionSpec;",
- ">;"
- }
- .end annotation
- .end field
- .field final cookieJar:Lokhttp3/CookieJar;
- .field final dispatcher:Lokhttp3/Dispatcher;
- .field final dns:Lokhttp3/Dns;
- .field final eventListenerFactory:Lokhttp3/EventListener$Factory;
- .field final followRedirects:Z
- .field final followSslRedirects:Z
- .field final hostnameVerifier:Ljavax/net/ssl/HostnameVerifier;
- .field final interceptors:Ljava/util/List;
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "Ljava/util/List<",
- "Lokhttp3/Interceptor;",
- ">;"
- }
- .end annotation
- .end field
- .field final internalCache:Lokhttp3/internal/cache/InternalCache;
- .field final networkInterceptors:Ljava/util/List;
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "Ljava/util/List<",
- "Lokhttp3/Interceptor;",
- ">;"
- }
- .end annotation
- .end field
- .field final pingInterval:I
- .field final protocols:Ljava/util/List;
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "Ljava/util/List<",
- "Lokhttp3/Protocol;",
- ">;"
- }
- .end annotation
- .end field
- .field final proxy:Ljava/net/Proxy;
- .field final proxyAuthenticator:Lokhttp3/Authenticator;
- .field final proxySelector:Ljava/net/ProxySelector;
- .field final readTimeout:I
- .field final retryOnConnectionFailure:Z
- .field final socketFactory:Ljavax/net/SocketFactory;
- .field final sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
- .field final writeTimeout:I
- # direct methods
- .method static constructor <clinit>()V
- .locals 5
- const/4 v0, 0x2
- new-array v1, v0, [Lokhttp3/Protocol;
- sget-object v2, Lokhttp3/Protocol;->HTTP_2:Lokhttp3/Protocol;
- const/4 v3, 0x0
- aput-object v2, v1, v3
- sget-object v2, Lokhttp3/Protocol;->HTTP_1_1:Lokhttp3/Protocol;
- const/4 v4, 0x1
- aput-object v2, v1, v4
- invoke-static {v1}, Lokhttp3/internal/Util;->immutableList([Ljava/lang/Object;)Ljava/util/List;
- move-result-object v1
- sput-object v1, Lokhttp3/OkHttpClient;->DEFAULT_PROTOCOLS:Ljava/util/List;
- new-array v0, v0, [Lokhttp3/ConnectionSpec;
- sget-object v1, Lokhttp3/ConnectionSpec;->MODERN_TLS:Lokhttp3/ConnectionSpec;
- aput-object v1, v0, v3
- sget-object v1, Lokhttp3/ConnectionSpec;->CLEARTEXT:Lokhttp3/ConnectionSpec;
- aput-object v1, v0, v4
- invoke-static {v0}, Lokhttp3/internal/Util;->immutableList([Ljava/lang/Object;)Ljava/util/List;
- move-result-object v0
- sput-object v0, Lokhttp3/OkHttpClient;->DEFAULT_CONNECTION_SPECS:Ljava/util/List;
- new-instance v0, Lokhttp3/OkHttpClient$1;
- invoke-direct {v0}, Lokhttp3/OkHttpClient$1;-><init>()V
- sput-object v0, Lokhttp3/internal/Internal;->instance:Lokhttp3/internal/Internal;
- return-void
- .end method
- .method public constructor <init>()V
- .locals 1
- new-instance v0, Lokhttp3/OkHttpClient$Builder;
- invoke-direct {v0}, Lokhttp3/OkHttpClient$Builder;-><init>()V
- invoke-direct {p0, v0}, Lokhttp3/OkHttpClient;-><init>(Lokhttp3/OkHttpClient$Builder;)V
- return-void
- .end method
- .method constructor <init>(Lokhttp3/OkHttpClient$Builder;)V
- .locals 4
- invoke-direct {p0}, Ljava/lang/Object;-><init>()V
- iget-object v0, p1, Lokhttp3/OkHttpClient$Builder;->dispatcher:Lokhttp3/Dispatcher;
- iput-object v0, p0, Lokhttp3/OkHttpClient;->dispatcher:Lokhttp3/Dispatcher;
- iget-object v0, p1, Lokhttp3/OkHttpClient$Builder;->proxy:Ljava/net/Proxy;
- iput-object v0, p0, Lokhttp3/OkHttpClient;->proxy:Ljava/net/Proxy;
- iget-object v0, p1, Lokhttp3/OkHttpClient$Builder;->protocols:Ljava/util/List;
- iput-object v0, p0, Lokhttp3/OkHttpClient;->protocols:Ljava/util/List;
- iget-object v0, p1, Lokhttp3/OkHttpClient$Builder;->connectionSpecs:Ljava/util/List;
- iput-object v0, p0, Lokhttp3/OkHttpClient;->connectionSpecs:Ljava/util/List;
- iget-object v0, p1, Lokhttp3/OkHttpClient$Builder;->interceptors:Ljava/util/List;
- invoke-static {v0}, Lokhttp3/internal/Util;->immutableList(Ljava/util/List;)Ljava/util/List;
- move-result-object v0
- iput-object v0, p0, Lokhttp3/OkHttpClient;->interceptors:Ljava/util/List;
- iget-object v0, p1, Lokhttp3/OkHttpClient$Builder;->networkInterceptors:Ljava/util/List;
- invoke-static {v0}, Lokhttp3/internal/Util;->immutableList(Ljava/util/List;)Ljava/util/List;
- move-result-object v0
- iput-object v0, p0, Lokhttp3/OkHttpClient;->networkInterceptors:Ljava/util/List;
- iget-object v0, p1, Lokhttp3/OkHttpClient$Builder;->eventListenerFactory:Lokhttp3/EventListener$Factory;
- iput-object v0, p0, Lokhttp3/OkHttpClient;->eventListenerFactory:Lokhttp3/EventListener$Factory;
- iget-object v0, p1, Lokhttp3/OkHttpClient$Builder;->proxySelector:Ljava/net/ProxySelector;
- iput-object v0, p0, Lokhttp3/OkHttpClient;->proxySelector:Ljava/net/ProxySelector;
- iget-object v0, p1, Lokhttp3/OkHttpClient$Builder;->cookieJar:Lokhttp3/CookieJar;
- iput-object v0, p0, Lokhttp3/OkHttpClient;->cookieJar:Lokhttp3/CookieJar;
- iget-object v0, p1, Lokhttp3/OkHttpClient$Builder;->cache:Lokhttp3/Cache;
- iput-object v0, p0, Lokhttp3/OkHttpClient;->cache:Lokhttp3/Cache;
- iget-object v0, p1, Lokhttp3/OkHttpClient$Builder;->internalCache:Lokhttp3/internal/cache/InternalCache;
- iput-object v0, p0, Lokhttp3/OkHttpClient;->internalCache:Lokhttp3/internal/cache/InternalCache;
- iget-object v0, p1, Lokhttp3/OkHttpClient$Builder;->socketFactory:Ljavax/net/SocketFactory;
- iput-object v0, p0, Lokhttp3/OkHttpClient;->socketFactory:Ljavax/net/SocketFactory;
- iget-object v0, p0, Lokhttp3/OkHttpClient;->connectionSpecs:Ljava/util/List;
- invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
- move-result-object v0
- const/4 v1, 0x0
- :cond_0
- const/4 v2, 0x0
- :goto_0
- invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
- move-result v3
- if-eqz v3, :cond_2
- invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
- move-result-object v3
- check-cast v3, Lokhttp3/ConnectionSpec;
- if-nez v2, :cond_1
- invoke-virtual {v3}, Lokhttp3/ConnectionSpec;->isTls()Z
- move-result v2
- if-eqz v2, :cond_0
- :cond_1
- const/4 v2, 0x1
- goto :goto_0
- :cond_2
- iget-object v0, p1, Lokhttp3/OkHttpClient$Builder;->sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
- if-nez v0, :cond_4
- if-nez v2, :cond_3
- goto :goto_1
- :cond_3
- invoke-direct {p0}, Lokhttp3/OkHttpClient;->systemDefaultTrustManager()Ljavax/net/ssl/X509TrustManager;
- move-result-object v0
- invoke-direct {p0, v0}, Lokhttp3/OkHttpClient;->systemDefaultSslSocketFactory(Ljavax/net/ssl/X509TrustManager;)Ljavax/net/ssl/SSLSocketFactory;
- move-result-object v1
- iput-object v1, p0, Lokhttp3/OkHttpClient;->sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
- invoke-static {v0}, Lokhttp3/internal/tls/CertificateChainCleaner;->get(Ljavax/net/ssl/X509TrustManager;)Lokhttp3/internal/tls/CertificateChainCleaner;
- move-result-object v0
- goto :goto_2
- :cond_4
- :goto_1
- iget-object v0, p1, Lokhttp3/OkHttpClient$Builder;->sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
- iput-object v0, p0, Lokhttp3/OkHttpClient;->sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
- iget-object v0, p1, Lokhttp3/OkHttpClient$Builder;->certificateChainCleaner:Lokhttp3/internal/tls/CertificateChainCleaner;
- :goto_2
- iput-object v0, p0, Lokhttp3/OkHttpClient;->certificateChainCleaner:Lokhttp3/internal/tls/CertificateChainCleaner;
- iget-object v0, p1, Lokhttp3/OkHttpClient$Builder;->hostnameVerifier:Ljavax/net/ssl/HostnameVerifier;
- iput-object v0, p0, Lokhttp3/OkHttpClient;->hostnameVerifier:Ljavax/net/ssl/HostnameVerifier;
- iget-object v0, p1, Lokhttp3/OkHttpClient$Builder;->certificatePinner:Lokhttp3/CertificatePinner;
- iget-object v1, p0, Lokhttp3/OkHttpClient;->certificateChainCleaner:Lokhttp3/internal/tls/CertificateChainCleaner;
- invoke-virtual {v0, v1}, Lokhttp3/CertificatePinner;->withCertificateChainCleaner(Lokhttp3/internal/tls/CertificateChainCleaner;)Lokhttp3/CertificatePinner;
- move-result-object v0
- iput-object v0, p0, Lokhttp3/OkHttpClient;->certificatePinner:Lokhttp3/CertificatePinner;
- iget-object v0, p1, Lokhttp3/OkHttpClient$Builder;->proxyAuthenticator:Lokhttp3/Authenticator;
- iput-object v0, p0, Lokhttp3/OkHttpClient;->proxyAuthenticator:Lokhttp3/Authenticator;
- iget-object v0, p1, Lokhttp3/OkHttpClient$Builder;->authenticator:Lokhttp3/Authenticator;
- iput-object v0, p0, Lokhttp3/OkHttpClient;->authenticator:Lokhttp3/Authenticator;
- iget-object v0, p1, Lokhttp3/OkHttpClient$Builder;->connectionPool:Lokhttp3/ConnectionPool;
- iput-object v0, p0, Lokhttp3/OkHttpClient;->connectionPool:Lokhttp3/ConnectionPool;
- iget-object v0, p1, Lokhttp3/OkHttpClient$Builder;->dns:Lokhttp3/Dns;
- iput-object v0, p0, Lokhttp3/OkHttpClient;->dns:Lokhttp3/Dns;
- iget-boolean v0, p1, Lokhttp3/OkHttpClient$Builder;->followSslRedirects:Z
- iput-boolean v0, p0, Lokhttp3/OkHttpClient;->followSslRedirects:Z
- iget-boolean v0, p1, Lokhttp3/OkHttpClient$Builder;->followRedirects:Z
- iput-boolean v0, p0, Lokhttp3/OkHttpClient;->followRedirects:Z
- iget-boolean v0, p1, Lokhttp3/OkHttpClient$Builder;->retryOnConnectionFailure:Z
- iput-boolean v0, p0, Lokhttp3/OkHttpClient;->retryOnConnectionFailure:Z
- iget v0, p1, Lokhttp3/OkHttpClient$Builder;->connectTimeout:I
- iput v0, p0, Lokhttp3/OkHttpClient;->connectTimeout:I
- iget v0, p1, Lokhttp3/OkHttpClient$Builder;->readTimeout:I
- iput v0, p0, Lokhttp3/OkHttpClient;->readTimeout:I
- iget v0, p1, Lokhttp3/OkHttpClient$Builder;->writeTimeout:I
- iput v0, p0, Lokhttp3/OkHttpClient;->writeTimeout:I
- iget p1, p1, Lokhttp3/OkHttpClient$Builder;->pingInterval:I
- iput p1, p0, Lokhttp3/OkHttpClient;->pingInterval:I
- iget-object p1, p0, Lokhttp3/OkHttpClient;->interceptors:Ljava/util/List;
- const/4 v0, 0x0
- invoke-interface {p1, v0}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
- move-result p1
- if-nez p1, :cond_6
- iget-object p1, p0, Lokhttp3/OkHttpClient;->networkInterceptors:Ljava/util/List;
- invoke-interface {p1, v0}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
- move-result p1
- if-nez p1, :cond_5
- return-void
- :cond_5
- new-instance p1, Ljava/lang/IllegalStateException;
- new-instance v0, Ljava/lang/StringBuilder;
- invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
- const-string v1, "Null network interceptor: "
- invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
- iget-object v1, p0, Lokhttp3/OkHttpClient;->networkInterceptors:Ljava/util/List;
- invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
- invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
- move-result-object v0
- invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
- throw p1
- :cond_6
- new-instance p1, Ljava/lang/IllegalStateException;
- new-instance v0, Ljava/lang/StringBuilder;
- invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
- const-string v1, "Null interceptor: "
- invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
- iget-object v1, p0, Lokhttp3/OkHttpClient;->interceptors:Ljava/util/List;
- invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
- invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
- move-result-object v0
- invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
- goto :goto_4
- :goto_3
- throw p1
- :goto_4
- goto :goto_3
- .end method
- .method private systemDefaultSslSocketFactory(Ljavax/net/ssl/X509TrustManager;)Ljavax/net/ssl/SSLSocketFactory;
- .locals 3
- :try_start_0
- const-string v0, "TLS"
- invoke-static {v0}, Ljavax/net/ssl/SSLContext;->getInstance(Ljava/lang/String;)Ljavax/net/ssl/SSLContext;
- move-result-object v0
- const/4 v1, 0x1
- new-array v1, v1, [Ljavax/net/ssl/TrustManager;
- const/4 v2, 0x0
- aput-object p1, v1, v2
- const/4 p1, 0x0
- invoke-virtual {v0, p1, v1, p1}, Ljavax/net/ssl/SSLContext;->init([Ljavax/net/ssl/KeyManager;[Ljavax/net/ssl/TrustManager;Ljava/security/SecureRandom;)V
- invoke-virtual {v0}, Ljavax/net/ssl/SSLContext;->getSocketFactory()Ljavax/net/ssl/SSLSocketFactory;
- move-result-object p1
- :try_end_0
- .catch Ljava/security/GeneralSecurityException; {:try_start_0 .. :try_end_0} :catch_0
- return-object p1
- :catch_0
- move-exception p1
- const-string v0, "No System TLS"
- invoke-static {v0, p1}, Lokhttp3/internal/Util;->assertionError(Ljava/lang/String;Ljava/lang/Exception;)Ljava/lang/AssertionError;
- move-result-object p1
- throw p1
- .end method
- .method private systemDefaultTrustManager()Ljavax/net/ssl/X509TrustManager;
- .locals 4
- :try_start_0
- invoke-static {}, Ljavax/net/ssl/TrustManagerFactory;->getDefaultAlgorithm()Ljava/lang/String;
- move-result-object v0
- invoke-static {v0}, Ljavax/net/ssl/TrustManagerFactory;->getInstance(Ljava/lang/String;)Ljavax/net/ssl/TrustManagerFactory;
- move-result-object v0
- const/4 v1, 0x0
- invoke-virtual {v0, v1}, Ljavax/net/ssl/TrustManagerFactory;->init(Ljava/security/KeyStore;)V
- invoke-virtual {v0}, Ljavax/net/ssl/TrustManagerFactory;->getTrustManagers()[Ljavax/net/ssl/TrustManager;
- move-result-object v0
- array-length v1, v0
- const/4 v2, 0x1
- if-ne v1, v2, :cond_0
- const/4 v1, 0x0
- aget-object v2, v0, v1
- instance-of v2, v2, Ljavax/net/ssl/X509TrustManager;
- if-eqz v2, :cond_0
- aget-object v0, v0, v1
- check-cast v0, Ljavax/net/ssl/X509TrustManager;
- return-object v0
- :cond_0
- new-instance v1, Ljava/lang/IllegalStateException;
- new-instance v2, Ljava/lang/StringBuilder;
- invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
- const-string v3, "Unexpected default trust managers:"
- invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
- invoke-static {v0}, Ljava/util/Arrays;->toString([Ljava/lang/Object;)Ljava/lang/String;
- move-result-object v0
- invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
- invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
- move-result-object v0
- invoke-direct {v1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
- throw v1
- :try_end_0
- .catch Ljava/security/GeneralSecurityException; {:try_start_0 .. :try_end_0} :catch_0
- :catch_0
- move-exception v0
- const-string v1, "No System TLS"
- invoke-static {v1, v0}, Lokhttp3/internal/Util;->assertionError(Ljava/lang/String;Ljava/lang/Exception;)Ljava/lang/AssertionError;
- move-result-object v0
- throw v0
- .end method
- # virtual methods
- .method public authenticator()Lokhttp3/Authenticator;
- .locals 1
- iget-object v0, p0, Lokhttp3/OkHttpClient;->authenticator:Lokhttp3/Authenticator;
- return-object v0
- .end method
- .method public cache()Lokhttp3/Cache;
- .locals 1
- iget-object v0, p0, Lokhttp3/OkHttpClient;->cache:Lokhttp3/Cache;
- return-object v0
- .end method
- .method public certificatePinner()Lokhttp3/CertificatePinner;
- .locals 1
- iget-object v0, p0, Lokhttp3/OkHttpClient;->certificatePinner:Lokhttp3/CertificatePinner;
- return-object v0
- .end method
- .method public connectTimeoutMillis()I
- .locals 1
- iget v0, p0, Lokhttp3/OkHttpClient;->connectTimeout:I
- return v0
- .end method
- .method public connectionPool()Lokhttp3/ConnectionPool;
- .locals 1
- iget-object v0, p0, Lokhttp3/OkHttpClient;->connectionPool:Lokhttp3/ConnectionPool;
- return-object v0
- .end method
- .method public connectionSpecs()Ljava/util/List;
- .locals 1
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "()",
- "Ljava/util/List<",
- "Lokhttp3/ConnectionSpec;",
- ">;"
- }
- .end annotation
- iget-object v0, p0, Lokhttp3/OkHttpClient;->connectionSpecs:Ljava/util/List;
- return-object v0
- .end method
- .method public cookieJar()Lokhttp3/CookieJar;
- .locals 1
- iget-object v0, p0, Lokhttp3/OkHttpClient;->cookieJar:Lokhttp3/CookieJar;
- return-object v0
- .end method
- .method public dispatcher()Lokhttp3/Dispatcher;
- .locals 1
- iget-object v0, p0, Lokhttp3/OkHttpClient;->dispatcher:Lokhttp3/Dispatcher;
- return-object v0
- .end method
- .method public dns()Lokhttp3/Dns;
- .locals 1
- iget-object v0, p0, Lokhttp3/OkHttpClient;->dns:Lokhttp3/Dns;
- return-object v0
- .end method
- .method public eventListenerFactory()Lokhttp3/EventListener$Factory;
- .locals 1
- iget-object v0, p0, Lokhttp3/OkHttpClient;->eventListenerFactory:Lokhttp3/EventListener$Factory;
- return-object v0
- .end method
- .method public followRedirects()Z
- .locals 1
- iget-boolean v0, p0, Lokhttp3/OkHttpClient;->followRedirects:Z
- return v0
- .end method
- .method public followSslRedirects()Z
- .locals 1
- iget-boolean v0, p0, Lokhttp3/OkHttpClient;->followSslRedirects:Z
- return v0
- .end method
- .method public hostnameVerifier()Ljavax/net/ssl/HostnameVerifier;
- .locals 1
- iget-object v0, p0, Lokhttp3/OkHttpClient;->hostnameVerifier:Ljavax/net/ssl/HostnameVerifier;
- return-object v0
- .end method
- .method public interceptors()Ljava/util/List;
- .locals 1
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "()",
- "Ljava/util/List<",
- "Lokhttp3/Interceptor;",
- ">;"
- }
- .end annotation
- iget-object v0, p0, Lokhttp3/OkHttpClient;->interceptors:Ljava/util/List;
- return-object v0
- .end method
- .method internalCache()Lokhttp3/internal/cache/InternalCache;
- .locals 1
- iget-object v0, p0, Lokhttp3/OkHttpClient;->cache:Lokhttp3/Cache;
- if-eqz v0, :cond_0
- iget-object v0, v0, Lokhttp3/Cache;->internalCache:Lokhttp3/internal/cache/InternalCache;
- goto :goto_0
- :cond_0
- iget-object v0, p0, Lokhttp3/OkHttpClient;->internalCache:Lokhttp3/internal/cache/InternalCache;
- :goto_0
- return-object v0
- .end method
- .method public networkInterceptors()Ljava/util/List;
- .locals 1
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "()",
- "Ljava/util/List<",
- "Lokhttp3/Interceptor;",
- ">;"
- }
- .end annotation
- iget-object v0, p0, Lokhttp3/OkHttpClient;->networkInterceptors:Ljava/util/List;
- return-object v0
- .end method
- .method public newBuilder()Lokhttp3/OkHttpClient$Builder;
- .locals 1
- new-instance v0, Lokhttp3/OkHttpClient$Builder;
- invoke-direct {v0, p0}, Lokhttp3/OkHttpClient$Builder;-><init>(Lokhttp3/OkHttpClient;)V
- return-object v0
- .end method
- .method public newCall(Lokhttp3/Request;)Lokhttp3/Call;
- .locals 1
- const/4 v0, 0x0
- invoke-static {p0, p1, v0}, Lokhttp3/RealCall;->newRealCall(Lokhttp3/OkHttpClient;Lokhttp3/Request;Z)Lokhttp3/RealCall;
- move-result-object p1
- return-object p1
- .end method
- .method public newWebSocket(Lokhttp3/Request;Lokhttp3/WebSocketListener;)Lokhttp3/WebSocket;
- .locals 2
- new-instance v0, Lokhttp3/internal/ws/RealWebSocket;
- new-instance v1, Ljava/util/Random;
- invoke-direct {v1}, Ljava/util/Random;-><init>()V
- invoke-direct {v0, p1, p2, v1}, Lokhttp3/internal/ws/RealWebSocket;-><init>(Lokhttp3/Request;Lokhttp3/WebSocketListener;Ljava/util/Random;)V
- invoke-virtual {v0, p0}, Lokhttp3/internal/ws/RealWebSocket;->connect(Lokhttp3/OkHttpClient;)V
- return-object v0
- .end method
- .method public pingIntervalMillis()I
- .locals 1
- iget v0, p0, Lokhttp3/OkHttpClient;->pingInterval:I
- return v0
- .end method
- .method public protocols()Ljava/util/List;
- .locals 1
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "()",
- "Ljava/util/List<",
- "Lokhttp3/Protocol;",
- ">;"
- }
- .end annotation
- iget-object v0, p0, Lokhttp3/OkHttpClient;->protocols:Ljava/util/List;
- return-object v0
- .end method
- .method public proxy()Ljava/net/Proxy;
- .locals 1
- iget-object v0, p0, Lokhttp3/OkHttpClient;->proxy:Ljava/net/Proxy;
- return-object v0
- .end method
- .method public proxyAuthenticator()Lokhttp3/Authenticator;
- .locals 1
- iget-object v0, p0, Lokhttp3/OkHttpClient;->proxyAuthenticator:Lokhttp3/Authenticator;
- return-object v0
- .end method
- .method public proxySelector()Ljava/net/ProxySelector;
- .locals 1
- iget-object v0, p0, Lokhttp3/OkHttpClient;->proxySelector:Ljava/net/ProxySelector;
- return-object v0
- .end method
- .method public readTimeoutMillis()I
- .locals 1
- iget v0, p0, Lokhttp3/OkHttpClient;->readTimeout:I
- return v0
- .end method
- .method public retryOnConnectionFailure()Z
- .locals 1
- iget-boolean v0, p0, Lokhttp3/OkHttpClient;->retryOnConnectionFailure:Z
- return v0
- .end method
- .method public socketFactory()Ljavax/net/SocketFactory;
- .locals 1
- iget-object v0, p0, Lokhttp3/OkHttpClient;->socketFactory:Ljavax/net/SocketFactory;
- return-object v0
- .end method
- .method public sslSocketFactory()Ljavax/net/ssl/SSLSocketFactory;
- .locals 1
- iget-object v0, p0, Lokhttp3/OkHttpClient;->sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
- return-object v0
- .end method
- .method public writeTimeoutMillis()I
- .locals 1
- iget v0, p0, Lokhttp3/OkHttpClient;->writeTimeout:I
- return v0
- .end method
|