META-INF/
META-INF/MANIFEST.MF
com/
com/squareup/
com/squareup/okhttp/
com/squareup/okhttp/internal/
com/squareup/okhttp/internal/framed/
com/squareup/okhttp/internal/http/
com/squareup/okhttp/internal/io/
com/squareup/okhttp/internal/tls/
com/squareup/okhttp/Address.classAddress.java
package com.squareup.okhttp
public final com.squareup.okhttp.Address extends java.lang.Object {
final java.net.Proxy proxy
final String uriHost
final int uriPort
final javax.net.SocketFactory socketFactory
final javax.net.ssl.SSLSocketFactory sslSocketFactory
final javax.net.ssl.HostnameVerifier hostnameVerifier
final com.squareup.okhttp.CertificatePinner certificatePinner
final com.squareup.okhttp.Authenticator authenticator
final java.util.List protocols
final java.util.List connectionSpecs
final java.net.ProxySelector proxySelector
public void (java.lang.String, int, javax.net.SocketFactory, javax.net.ssl.SSLSocketFactory, javax.net.ssl.HostnameVerifier, com.squareup.okhttp.CertificatePinner, com.squareup.okhttp.Authenticator, java.net.Proxy, java.util.List, java.util.List, java.net.ProxySelector)
String uriHost
int uriPort
javax.net.SocketFactory socketFactory
javax.net.ssl.SSLSocketFactory sslSocketFactory
javax.net.ssl.HostnameVerifier hostnameVerifier
com.squareup.okhttp.CertificatePinner certificatePinner
com.squareup.okhttp.Authenticator authenticator
java.net.Proxy proxy
java.util.List protocols
java.util.List connectionSpecs
java.net.ProxySelector proxySelector
public java.lang.String getUriHost ()
public int getUriPort ()
public javax.net.SocketFactory getSocketFactory ()
public javax.net.ssl.SSLSocketFactory getSslSocketFactory ()
public javax.net.ssl.HostnameVerifier getHostnameVerifier ()
public com.squareup.okhttp.Authenticator getAuthenticator ()
public java.util.List getProtocols ()
public java.util.List getConnectionSpecs ()
public java.net.Proxy getProxy ()
public java.net.ProxySelector getProxySelector ()
public com.squareup.okhttp.CertificatePinner getCertificatePinner ()
public boolean equals (java.lang.Object)
com.squareup.okhttp.Address that
Object other
public int hashCode ()
int result
}
com/squareup/okhttp/Authenticator.classAuthenticator.java
package com.squareup.okhttp
public abstract com.squareup.okhttp.Authenticator extends java.lang.Object {
public abstract com.squareup.okhttp.Request authenticate (java.net.Proxy, com.squareup.okhttp.Response) throws java.io.IOException
public abstract com.squareup.okhttp.Request authenticateProxy (java.net.Proxy, com.squareup.okhttp.Response) throws java.io.IOException
}
com/squareup/okhttp/Cache$1.classCache.java
package com.squareup.okhttp
com.squareup.okhttp.Cache$1 extends java.lang.Object implements com.squareup.okhttp.internal.InternalCache {
final com.squareup.okhttp.Cache this$0
void (com.squareup.okhttp.Cache)
com.squareup.okhttp.Cache this$0
public com.squareup.okhttp.Response get (com.squareup.okhttp.Request) throws java.io.IOException
com.squareup.okhttp.Request request
public com.squareup.okhttp.internal.http.CacheRequest put (com.squareup.okhttp.Response) throws java.io.IOException
com.squareup.okhttp.Response response
public void remove (com.squareup.okhttp.Request) throws java.io.IOException
com.squareup.okhttp.Request request
public void update (com.squareup.okhttp.Response, com.squareup.okhttp.Response) throws java.io.IOException
com.squareup.okhttp.Response cached
com.squareup.okhttp.Response network
public void trackConditionalCacheHit ()
public void trackResponse (com.squareup.okhttp.internal.http.CacheStrategy)
com.squareup.okhttp.internal.http.CacheStrategy cacheStrategy
}
com/squareup/okhttp/Cache$2.classCache.java
package com.squareup.okhttp
com.squareup.okhttp.Cache$2 extends java.lang.Object implements java.util.Iterator {
final java.util.Iterator delegate
String nextUrl
boolean canRemove
final com.squareup.okhttp.Cache this$0
void (com.squareup.okhttp.Cache) throws java.io.IOException
com.squareup.okhttp.Cache this$0
public boolean hasNext ()
okio.BufferedSource metadata
com.squareup.okhttp.internal.DiskLruCache$Snapshot snapshot
public java.lang.String next ()
String result
public void remove ()
public volatile java.lang.Object next ()
}
com/squareup/okhttp/Cache$CacheRequestImpl$1.classCache.java
package com.squareup.okhttp
com.squareup.okhttp.Cache$CacheRequestImpl$1 extends okio.ForwardingSink {
final com.squareup.okhttp.Cache val$this$0
final com.squareup.okhttp.internal.DiskLruCache$Editor val$editor
final com.squareup.okhttp.Cache$CacheRequestImpl this$1
void (com.squareup.okhttp.Cache$CacheRequestImpl, okio.Sink, com.squareup.okhttp.Cache, com.squareup.okhttp.internal.DiskLruCache$Editor)
com.squareup.okhttp.Cache$CacheRequestImpl this$1
okio.Sink x0
public void close () throws java.io.IOException
}
com/squareup/okhttp/Cache$CacheRequestImpl.classCache.java
package com.squareup.okhttp
final com.squareup.okhttp.Cache$CacheRequestImpl extends java.lang.Object implements com.squareup.okhttp.internal.http.CacheRequest {
private final com.squareup.okhttp.internal.DiskLruCache$Editor editor
private okio.Sink cacheOut
private boolean done
private okio.Sink body
final com.squareup.okhttp.Cache this$0
public void (com.squareup.okhttp.Cache, com.squareup.okhttp.internal.DiskLruCache$Editor) throws java.io.IOException
com.squareup.okhttp.internal.DiskLruCache$Editor editor
public void abort ()
public okio.Sink body ()
static boolean access$700 (com.squareup.okhttp.Cache$CacheRequestImpl)
com.squareup.okhttp.Cache$CacheRequestImpl x0
static boolean access$702 (com.squareup.okhttp.Cache$CacheRequestImpl, boolean)
com.squareup.okhttp.Cache$CacheRequestImpl x0
boolean x1
}
com/squareup/okhttp/Cache$CacheResponseBody$1.classCache.java
package com.squareup.okhttp
com.squareup.okhttp.Cache$CacheResponseBody$1 extends okio.ForwardingSource {
final com.squareup.okhttp.internal.DiskLruCache$Snapshot val$snapshot
final com.squareup.okhttp.Cache$CacheResponseBody this$0
void (com.squareup.okhttp.Cache$CacheResponseBody, okio.Source, com.squareup.okhttp.internal.DiskLruCache$Snapshot)
com.squareup.okhttp.Cache$CacheResponseBody this$0
okio.Source x0
public void close () throws java.io.IOException
}
com/squareup/okhttp/Cache$CacheResponseBody.classCache.java
package com.squareup.okhttp
com.squareup.okhttp.Cache$CacheResponseBody extends com.squareup.okhttp.ResponseBody {
private final com.squareup.okhttp.internal.DiskLruCache$Snapshot snapshot
private final okio.BufferedSource bodySource
private final String contentType
private final String contentLength
public void (com.squareup.okhttp.internal.DiskLruCache$Snapshot, java.lang.String, java.lang.String)
com.squareup.okhttp.internal.DiskLruCache$Snapshot snapshot
String contentType
String contentLength
okio.Source source
public com.squareup.okhttp.MediaType contentType ()
public long contentLength ()
NumberFormatException e
public okio.BufferedSource source ()
static com.squareup.okhttp.internal.DiskLruCache$Snapshot access$500 (com.squareup.okhttp.Cache$CacheResponseBody)
com.squareup.okhttp.Cache$CacheResponseBody x0
}
com/squareup/okhttp/Cache$Entry.classCache.java
package com.squareup.okhttp
final com.squareup.okhttp.Cache$Entry extends java.lang.Object {
private final String url
private final com.squareup.okhttp.Headers varyHeaders
private final String requestMethod
private final com.squareup.okhttp.Protocol protocol
private final int code
private final String message
private final com.squareup.okhttp.Headers responseHeaders
private final com.squareup.okhttp.Handshake handshake
public void (okio.Source) throws java.io.IOException
int i
int i
String blank
String cipherSuite
java.util.List peerCertificates
java.util.List localCertificates
okio.BufferedSource source
com.squareup.okhttp.Headers$Builder varyHeadersBuilder
int varyRequestHeaderLineCount
com.squareup.okhttp.internal.http.StatusLine statusLine
com.squareup.okhttp.Headers$Builder responseHeadersBuilder
int responseHeaderLineCount
okio.Source in
public void (com.squareup.okhttp.Response)
com.squareup.okhttp.Response response
public void writeTo (com.squareup.okhttp.internal.DiskLruCache$Editor) throws java.io.IOException
int i
int size
int i
int size
com.squareup.okhttp.internal.DiskLruCache$Editor editor
okio.BufferedSink sink
private boolean isHttps ()
private java.util.List readCertificateList (okio.BufferedSource) throws java.io.IOException
String line
okio.Buffer bytes
int i
java.security.cert.CertificateFactory certificateFactory
java.util.List result
java.security.cert.CertificateException e
okio.BufferedSource source
int length
private void writeCertList (okio.BufferedSink, java.util.List) throws java.io.IOException
byte[] bytes
String line
int i
int size
java.security.cert.CertificateEncodingException e
okio.BufferedSink sink
java.util.List certificates
public boolean matches (com.squareup.okhttp.Request, com.squareup.okhttp.Response)
com.squareup.okhttp.Request request
com.squareup.okhttp.Response response
public com.squareup.okhttp.Response response (com.squareup.okhttp.Request, com.squareup.okhttp.internal.DiskLruCache$Snapshot)
com.squareup.okhttp.Request request
com.squareup.okhttp.internal.DiskLruCache$Snapshot snapshot
String contentType
String contentLength
com.squareup.okhttp.Request cacheRequest
}
com/squareup/okhttp/Cache.classCache.java
package com.squareup.okhttp
public final com.squareup.okhttp.Cache extends java.lang.Object {
private static final int VERSION
private static final int ENTRY_METADATA
private static final int ENTRY_BODY
private static final int ENTRY_COUNT
final com.squareup.okhttp.internal.InternalCache internalCache
private final com.squareup.okhttp.internal.DiskLruCache cache
private int writeSuccessCount
private int writeAbortCount
private int networkCount
private int hitCount
private int requestCount
public void (java.io.File, long)
java.io.File directory
long maxSize
void (java.io.File, long, com.squareup.okhttp.internal.io.FileSystem)
java.io.File directory
long maxSize
com.squareup.okhttp.internal.io.FileSystem fileSystem
private static java.lang.String urlToKey (com.squareup.okhttp.Request)
com.squareup.okhttp.Request request
com.squareup.okhttp.Response get (com.squareup.okhttp.Request)
java.io.IOException e
java.io.IOException e
com.squareup.okhttp.Request request
String key
com.squareup.okhttp.internal.DiskLruCache$Snapshot snapshot
com.squareup.okhttp.internal.DiskLruCache$Snapshot snapshot
com.squareup.okhttp.Cache$Entry entry
com.squareup.okhttp.Cache$Entry entry
com.squareup.okhttp.Response response
private com.squareup.okhttp.internal.http.CacheRequest put (com.squareup.okhttp.Response) throws java.io.IOException
java.io.IOException e
com.squareup.okhttp.Response response
String requestMethod
com.squareup.okhttp.Cache$Entry entry
com.squareup.okhttp.internal.DiskLruCache$Editor editor
private void remove (com.squareup.okhttp.Request) throws java.io.IOException
com.squareup.okhttp.Request request
private void update (com.squareup.okhttp.Response, com.squareup.okhttp.Response)
java.io.IOException e
com.squareup.okhttp.Response cached
com.squareup.okhttp.Response network
com.squareup.okhttp.Cache$Entry entry
com.squareup.okhttp.internal.DiskLruCache$Snapshot snapshot
com.squareup.okhttp.internal.DiskLruCache$Editor editor
private void abortQuietly (com.squareup.okhttp.internal.DiskLruCache$Editor)
com.squareup.okhttp.internal.DiskLruCache$Editor editor
public void initialize () throws java.io.IOException
public void delete () throws java.io.IOException
public void evictAll () throws java.io.IOException
public java.util.Iterator urls () throws java.io.IOException
public synchronized int getWriteAbortCount ()
public synchronized int getWriteSuccessCount ()
public long getSize () throws java.io.IOException
public long getMaxSize ()
public void flush () throws java.io.IOException
public void close () throws java.io.IOException
public java.io.File getDirectory ()
public boolean isClosed ()
private synchronized void trackResponse (com.squareup.okhttp.internal.http.CacheStrategy)
com.squareup.okhttp.internal.http.CacheStrategy cacheStrategy
private synchronized void trackConditionalCacheHit ()
public synchronized int getNetworkCount ()
public synchronized int getHitCount ()
public synchronized int getRequestCount ()
private static int readInt (okio.BufferedSource) throws java.io.IOException
long result
String line
NumberFormatException e
okio.BufferedSource source
static com.squareup.okhttp.internal.http.CacheRequest access$000 (com.squareup.okhttp.Cache, com.squareup.okhttp.Response) throws java.io.IOException
com.squareup.okhttp.Cache x0
com.squareup.okhttp.Response x1
static void access$100 (com.squareup.okhttp.Cache, com.squareup.okhttp.Request) throws java.io.IOException
com.squareup.okhttp.Cache x0
com.squareup.okhttp.Request x1
static void access$200 (com.squareup.okhttp.Cache, com.squareup.okhttp.Response, com.squareup.okhttp.Response)
com.squareup.okhttp.Cache x0
com.squareup.okhttp.Response x1
com.squareup.okhttp.Response x2
static void access$300 (com.squareup.okhttp.Cache)
com.squareup.okhttp.Cache x0
static void access$400 (com.squareup.okhttp.Cache, com.squareup.okhttp.internal.http.CacheStrategy)
com.squareup.okhttp.Cache x0
com.squareup.okhttp.internal.http.CacheStrategy x1
static com.squareup.okhttp.internal.DiskLruCache access$600 (com.squareup.okhttp.Cache)
com.squareup.okhttp.Cache x0
static int access$808 (com.squareup.okhttp.Cache)
com.squareup.okhttp.Cache x0
static int access$908 (com.squareup.okhttp.Cache)
com.squareup.okhttp.Cache x0
static int access$1000 (okio.BufferedSource) throws java.io.IOException
okio.BufferedSource x0
}
com/squareup/okhttp/CacheControl$1.classCacheControl.java
package com.squareup.okhttp
com.squareup.okhttp.CacheControl$1 extends java.lang.Object {
}
com/squareup/okhttp/CacheControl$Builder.classCacheControl.java
package com.squareup.okhttp
public final com.squareup.okhttp.CacheControl$Builder extends java.lang.Object {
boolean noCache
boolean noStore
int maxAgeSeconds
int maxStaleSeconds
int minFreshSeconds
boolean onlyIfCached
boolean noTransform
public void ()
public com.squareup.okhttp.CacheControl$Builder noCache ()
public com.squareup.okhttp.CacheControl$Builder noStore ()
public com.squareup.okhttp.CacheControl$Builder maxAge (int, java.util.concurrent.TimeUnit)
int maxAge
java.util.concurrent.TimeUnit timeUnit
long maxAgeSecondsLong
public com.squareup.okhttp.CacheControl$Builder maxStale (int, java.util.concurrent.TimeUnit)
int maxStale
java.util.concurrent.TimeUnit timeUnit
long maxStaleSecondsLong
public com.squareup.okhttp.CacheControl$Builder minFresh (int, java.util.concurrent.TimeUnit)
int minFresh
java.util.concurrent.TimeUnit timeUnit
long minFreshSecondsLong
public com.squareup.okhttp.CacheControl$Builder onlyIfCached ()
public com.squareup.okhttp.CacheControl$Builder noTransform ()
public com.squareup.okhttp.CacheControl build ()
}
com/squareup/okhttp/CacheControl.classCacheControl.java
package com.squareup.okhttp
public final com.squareup.okhttp.CacheControl extends java.lang.Object {
public static final com.squareup.okhttp.CacheControl FORCE_NETWORK
public static final com.squareup.okhttp.CacheControl FORCE_CACHE
private final boolean noCache
private final boolean noStore
private final int maxAgeSeconds
private final int sMaxAgeSeconds
private final boolean isPrivate
private final boolean isPublic
private final boolean mustRevalidate
private final int maxStaleSeconds
private final int minFreshSeconds
private final boolean onlyIfCached
private final boolean noTransform
String headerValue
private void (boolean, boolean, int, int, boolean, boolean, boolean, int, int, boolean, boolean, java.lang.String)
boolean noCache
boolean noStore
int maxAgeSeconds
int sMaxAgeSeconds
boolean isPrivate
boolean isPublic
boolean mustRevalidate
int maxStaleSeconds
int minFreshSeconds
boolean onlyIfCached
boolean noTransform
String headerValue
private void (com.squareup.okhttp.CacheControl$Builder)
com.squareup.okhttp.CacheControl$Builder builder
public boolean noCache ()
public boolean noStore ()
public int maxAgeSeconds ()
public int sMaxAgeSeconds ()
public boolean isPrivate ()
public boolean isPublic ()
public boolean mustRevalidate ()
public int maxStaleSeconds ()
public int minFreshSeconds ()
public boolean onlyIfCached ()
public boolean noTransform ()
public static com.squareup.okhttp.CacheControl parse (com.squareup.okhttp.Headers)
String parameter
int parameterStart
String parameter
int parameterStart
int tokenStart
String directive
String parameter
String name
String value
int pos
int i
int size
com.squareup.okhttp.Headers headers
boolean noCache
boolean noStore
int maxAgeSeconds
int sMaxAgeSeconds
boolean isPrivate
boolean isPublic
boolean mustRevalidate
int maxStaleSeconds
int minFreshSeconds
boolean onlyIfCached
boolean noTransform
boolean canUseHeaderValue
String headerValue
public java.lang.String toString ()
String result
private java.lang.String headerValue ()
StringBuilder result
void (com.squareup.okhttp.CacheControl$Builder, com.squareup.okhttp.CacheControl$1)
com.squareup.okhttp.CacheControl$Builder x0
com.squareup.okhttp.CacheControl$1 x1
static void ()
}
com/squareup/okhttp/Call$1.classCall.java
package com.squareup.okhttp
com.squareup.okhttp.Call$1 extends java.lang.Object {
}
com/squareup/okhttp/Call$ApplicationInterceptorChain.classCall.java
package com.squareup.okhttp
com.squareup.okhttp.Call$ApplicationInterceptorChain extends java.lang.Object implements com.squareup.okhttp.Interceptor$Chain {
private final int index
private final com.squareup.okhttp.Request request
private final boolean forWebSocket
final com.squareup.okhttp.Call this$0
void (com.squareup.okhttp.Call, int, com.squareup.okhttp.Request, boolean)
com.squareup.okhttp.Call this$0
int index
com.squareup.okhttp.Request request
boolean forWebSocket
public com.squareup.okhttp.Connection connection ()
public com.squareup.okhttp.Request request ()
public com.squareup.okhttp.Response proceed (com.squareup.okhttp.Request) throws java.io.IOException
com.squareup.okhttp.Interceptor$Chain chain
com.squareup.okhttp.Request request
}
com/squareup/okhttp/Call$AsyncCall.classCall.java
package com.squareup.okhttp
final com.squareup.okhttp.Call$AsyncCall extends com.squareup.okhttp.internal.NamedRunnable {
private final com.squareup.okhttp.Callback responseCallback
private final boolean forWebSocket
final com.squareup.okhttp.Call this$0
private void (com.squareup.okhttp.Call, com.squareup.okhttp.Callback, boolean)
com.squareup.okhttp.Call this$0
com.squareup.okhttp.Callback responseCallback
boolean forWebSocket
java.lang.String host ()
com.squareup.okhttp.Request request ()
java.lang.Object tag ()
void cancel ()
com.squareup.okhttp.Call get ()
protected void execute ()
com.squareup.okhttp.Response response
java.io.IOException e
boolean signalledCallback
void (com.squareup.okhttp.Call, com.squareup.okhttp.Callback, boolean, com.squareup.okhttp.Call$1)
com.squareup.okhttp.Call x0
com.squareup.okhttp.Callback x1
boolean x2
com.squareup.okhttp.Call$1 x3
}
com/squareup/okhttp/Call.classCall.java
package com.squareup.okhttp
public com.squareup.okhttp.Call extends java.lang.Object {
private final com.squareup.okhttp.OkHttpClient client
private boolean executed
volatile boolean canceled
com.squareup.okhttp.Request originalRequest
com.squareup.okhttp.internal.http.HttpEngine engine
protected void (com.squareup.okhttp.OkHttpClient, com.squareup.okhttp.Request)
com.squareup.okhttp.OkHttpClient client
com.squareup.okhttp.Request originalRequest
public com.squareup.okhttp.Response execute () throws java.io.IOException
com.squareup.okhttp.Response result
java.lang.Object tag ()
public void enqueue (com.squareup.okhttp.Callback)
com.squareup.okhttp.Callback responseCallback
void enqueue (com.squareup.okhttp.Callback, boolean)
com.squareup.okhttp.Callback responseCallback
boolean forWebSocket
public void cancel ()
public boolean isCanceled ()
private java.lang.String toLoggableString ()
String string
com.squareup.okhttp.HttpUrl redactedUrl
private com.squareup.okhttp.Response getResponseWithInterceptorChain (boolean) throws java.io.IOException
boolean forWebSocket
com.squareup.okhttp.Interceptor$Chain chain
com.squareup.okhttp.Response getResponse (com.squareup.okhttp.Request, boolean) throws java.io.IOException
com.squareup.okhttp.Request$Builder requestBuilder
com.squareup.okhttp.MediaType contentType
long contentLength
com.squareup.okhttp.internal.http.RequestException e
com.squareup.okhttp.internal.http.HttpEngine retryEngine
com.squareup.okhttp.internal.http.RouteException e
com.squareup.okhttp.internal.http.HttpEngine retryEngine
java.io.IOException e
com.squareup.okhttp.Response response
com.squareup.okhttp.Request followUp
com.squareup.okhttp.Connection connection
com.squareup.okhttp.Request request
boolean forWebSocket
com.squareup.okhttp.RequestBody body
int followUpCount
static com.squareup.okhttp.Response access$100 (com.squareup.okhttp.Call, boolean) throws java.io.IOException
com.squareup.okhttp.Call x0
boolean x1
static java.lang.String access$200 (com.squareup.okhttp.Call)
com.squareup.okhttp.Call x0
static com.squareup.okhttp.OkHttpClient access$300 (com.squareup.okhttp.Call)
com.squareup.okhttp.Call x0
}
com/squareup/okhttp/Callback.classCallback.java
package com.squareup.okhttp
public abstract com.squareup.okhttp.Callback extends java.lang.Object {
public abstract void onFailure (com.squareup.okhttp.Request, java.io.IOException)
public abstract void onResponse (com.squareup.okhttp.Response) throws java.io.IOException
}
com/squareup/okhttp/CertificatePinner$1.classCertificatePinner.java
package com.squareup.okhttp
com.squareup.okhttp.CertificatePinner$1 extends java.lang.Object {
}
com/squareup/okhttp/CertificatePinner$Builder.classCertificatePinner.java
package com.squareup.okhttp
public final com.squareup.okhttp.CertificatePinner$Builder extends java.lang.Object {
private final java.util.Map hostnameToPins
public void ()
public transient com.squareup.okhttp.CertificatePinner$Builder add (java.lang.String, java.lang.String[])
okio.ByteString decodedPin
String pin
String hostname
String[] pins
java.util.Set hostPins
java.util.Set previousPins
public com.squareup.okhttp.CertificatePinner build ()
static java.util.Map access$000 (com.squareup.okhttp.CertificatePinner$Builder)
com.squareup.okhttp.CertificatePinner$Builder x0
}
com/squareup/okhttp/CertificatePinner.classCertificatePinner.java
package com.squareup.okhttp
public final com.squareup.okhttp.CertificatePinner extends java.lang.Object {
public static final com.squareup.okhttp.CertificatePinner DEFAULT
private final java.util.Map hostnameToPins
private void (com.squareup.okhttp.CertificatePinner$Builder)
com.squareup.okhttp.CertificatePinner$Builder builder
public void check (java.lang.String, java.util.List) throws javax.net.ssl.SSLPeerUnverifiedException
java.security.cert.X509Certificate x509Certificate
int i
int size
java.security.cert.X509Certificate x509Certificate
int i
int size
okio.ByteString pin
String hostname
java.util.List peerCertificates
java.util.Set pins
StringBuilder message
public transient void check (java.lang.String, java.security.cert.Certificate[]) throws javax.net.ssl.SSLPeerUnverifiedException
String hostname
java.security.cert.Certificate[] peerCertificates
java.util.Set findMatchingPins (java.lang.String)
java.util.Set pins
String hostname
java.util.Set directPins
java.util.Set wildcardPins
int indexOfFirstDot
int indexOfLastDot
public static java.lang.String pin (java.security.cert.Certificate)
java.security.cert.Certificate certificate
private static okio.ByteString sha1 (java.security.cert.X509Certificate)
java.security.cert.X509Certificate x509Certificate
void (com.squareup.okhttp.CertificatePinner$Builder, com.squareup.okhttp.CertificatePinner$1)
com.squareup.okhttp.CertificatePinner$Builder x0
com.squareup.okhttp.CertificatePinner$1 x1
static void ()
}
com/squareup/okhttp/Challenge.classChallenge.java
package com.squareup.okhttp
public final com.squareup.okhttp.Challenge extends java.lang.Object {
private final String scheme
private final String realm
public void (java.lang.String, java.lang.String)
String scheme
String realm
public java.lang.String getScheme ()
public java.lang.String getRealm ()
public boolean equals (java.lang.Object)
Object o
public int hashCode ()
int result
public java.lang.String toString ()
}
com/squareup/okhttp/CipherSuite.classCipherSuite.java
package com.squareup.okhttp
public final com.squareup.okhttp.CipherSuite extends java.lang.Enum {
public static final com.squareup.okhttp.CipherSuite TLS_RSA_WITH_NULL_MD5
public static final com.squareup.okhttp.CipherSuite TLS_RSA_WITH_NULL_SHA
public static final com.squareup.okhttp.CipherSuite TLS_RSA_EXPORT_WITH_RC4_40_MD5
public static final com.squareup.okhttp.CipherSuite TLS_RSA_WITH_RC4_128_MD5
public static final com.squareup.okhttp.CipherSuite TLS_RSA_WITH_RC4_128_SHA
public static final com.squareup.okhttp.CipherSuite TLS_RSA_EXPORT_WITH_DES40_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_RSA_WITH_DES_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_RSA_WITH_3DES_EDE_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_DHE_DSS_WITH_DES_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_DHE_RSA_WITH_DES_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_DH_anon_EXPORT_WITH_RC4_40_MD5
public static final com.squareup.okhttp.CipherSuite TLS_DH_anon_WITH_RC4_128_MD5
public static final com.squareup.okhttp.CipherSuite TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_DH_anon_WITH_DES_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_DH_anon_WITH_3DES_EDE_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_KRB5_WITH_DES_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_KRB5_WITH_3DES_EDE_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_KRB5_WITH_RC4_128_SHA
public static final com.squareup.okhttp.CipherSuite TLS_KRB5_WITH_DES_CBC_MD5
public static final com.squareup.okhttp.CipherSuite TLS_KRB5_WITH_3DES_EDE_CBC_MD5
public static final com.squareup.okhttp.CipherSuite TLS_KRB5_WITH_RC4_128_MD5
public static final com.squareup.okhttp.CipherSuite TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA
public static final com.squareup.okhttp.CipherSuite TLS_KRB5_EXPORT_WITH_RC4_40_SHA
public static final com.squareup.okhttp.CipherSuite TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5
public static final com.squareup.okhttp.CipherSuite TLS_KRB5_EXPORT_WITH_RC4_40_MD5
public static final com.squareup.okhttp.CipherSuite TLS_RSA_WITH_AES_128_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_DHE_DSS_WITH_AES_128_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_DHE_RSA_WITH_AES_128_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_DH_anon_WITH_AES_128_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_RSA_WITH_AES_256_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_DHE_DSS_WITH_AES_256_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_DHE_RSA_WITH_AES_256_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_DH_anon_WITH_AES_256_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_RSA_WITH_NULL_SHA256
public static final com.squareup.okhttp.CipherSuite TLS_RSA_WITH_AES_128_CBC_SHA256
public static final com.squareup.okhttp.CipherSuite TLS_RSA_WITH_AES_256_CBC_SHA256
public static final com.squareup.okhttp.CipherSuite TLS_DHE_DSS_WITH_AES_128_CBC_SHA256
public static final com.squareup.okhttp.CipherSuite TLS_DHE_RSA_WITH_AES_128_CBC_SHA256
public static final com.squareup.okhttp.CipherSuite TLS_DHE_DSS_WITH_AES_256_CBC_SHA256
public static final com.squareup.okhttp.CipherSuite TLS_DHE_RSA_WITH_AES_256_CBC_SHA256
public static final com.squareup.okhttp.CipherSuite TLS_DH_anon_WITH_AES_128_CBC_SHA256
public static final com.squareup.okhttp.CipherSuite TLS_DH_anon_WITH_AES_256_CBC_SHA256
public static final com.squareup.okhttp.CipherSuite TLS_RSA_WITH_AES_128_GCM_SHA256
public static final com.squareup.okhttp.CipherSuite TLS_RSA_WITH_AES_256_GCM_SHA384
public static final com.squareup.okhttp.CipherSuite TLS_DHE_RSA_WITH_AES_128_GCM_SHA256
public static final com.squareup.okhttp.CipherSuite TLS_DHE_RSA_WITH_AES_256_GCM_SHA384
public static final com.squareup.okhttp.CipherSuite TLS_DHE_DSS_WITH_AES_128_GCM_SHA256
public static final com.squareup.okhttp.CipherSuite TLS_DHE_DSS_WITH_AES_256_GCM_SHA384
public static final com.squareup.okhttp.CipherSuite TLS_DH_anon_WITH_AES_128_GCM_SHA256
public static final com.squareup.okhttp.CipherSuite TLS_DH_anon_WITH_AES_256_GCM_SHA384
public static final com.squareup.okhttp.CipherSuite TLS_EMPTY_RENEGOTIATION_INFO_SCSV
public static final com.squareup.okhttp.CipherSuite TLS_ECDH_ECDSA_WITH_NULL_SHA
public static final com.squareup.okhttp.CipherSuite TLS_ECDH_ECDSA_WITH_RC4_128_SHA
public static final com.squareup.okhttp.CipherSuite TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_ECDHE_ECDSA_WITH_NULL_SHA
public static final com.squareup.okhttp.CipherSuite TLS_ECDHE_ECDSA_WITH_RC4_128_SHA
public static final com.squareup.okhttp.CipherSuite TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_ECDH_RSA_WITH_NULL_SHA
public static final com.squareup.okhttp.CipherSuite TLS_ECDH_RSA_WITH_RC4_128_SHA
public static final com.squareup.okhttp.CipherSuite TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_ECDH_RSA_WITH_AES_128_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_ECDH_RSA_WITH_AES_256_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_ECDHE_RSA_WITH_NULL_SHA
public static final com.squareup.okhttp.CipherSuite TLS_ECDHE_RSA_WITH_RC4_128_SHA
public static final com.squareup.okhttp.CipherSuite TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_ECDH_anon_WITH_NULL_SHA
public static final com.squareup.okhttp.CipherSuite TLS_ECDH_anon_WITH_RC4_128_SHA
public static final com.squareup.okhttp.CipherSuite TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_ECDH_anon_WITH_AES_128_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_ECDH_anon_WITH_AES_256_CBC_SHA
public static final com.squareup.okhttp.CipherSuite TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
public static final com.squareup.okhttp.CipherSuite TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384
public static final com.squareup.okhttp.CipherSuite TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256
public static final com.squareup.okhttp.CipherSuite TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384
public static final com.squareup.okhttp.CipherSuite TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
public static final com.squareup.okhttp.CipherSuite TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
public static final com.squareup.okhttp.CipherSuite TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256
public static final com.squareup.okhttp.CipherSuite TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384
public static final com.squareup.okhttp.CipherSuite TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
public static final com.squareup.okhttp.CipherSuite TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
public static final com.squareup.okhttp.CipherSuite TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256
public static final com.squareup.okhttp.CipherSuite TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384
public static final com.squareup.okhttp.CipherSuite TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
public static final com.squareup.okhttp.CipherSuite TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
public static final com.squareup.okhttp.CipherSuite TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256
public static final com.squareup.okhttp.CipherSuite TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384
final String javaName
private static final com.squareup.okhttp.CipherSuite[] $VALUES
public static com.squareup.okhttp.CipherSuite[] values ()
public static com.squareup.okhttp.CipherSuite valueOf (java.lang.String)
String name
private void (java.lang.String, int, java.lang.String, int, int, int, int)
String javaName
int value
int rfc
int sinceJavaVersion
int sinceAndroidVersion
public static com.squareup.okhttp.CipherSuite forJavaName (java.lang.String)
String javaName
static void ()
}
com/squareup/okhttp/Connection.classConnection.java
package com.squareup.okhttp
public final com.squareup.okhttp.Connection extends java.lang.Object {
private final com.squareup.okhttp.ConnectionPool pool
private final com.squareup.okhttp.Route route
private java.net.Socket socket
private boolean connected
private com.squareup.okhttp.internal.http.HttpConnection httpConnection
private com.squareup.okhttp.internal.framed.FramedConnection framedConnection
private com.squareup.okhttp.Protocol protocol
private long idleStartTimeNs
private com.squareup.okhttp.Handshake handshake
private int recycleCount
private Object owner
public void (com.squareup.okhttp.ConnectionPool, com.squareup.okhttp.Route)
com.squareup.okhttp.ConnectionPool pool
com.squareup.okhttp.Route route
java.lang.Object getOwner ()
void setOwner (java.lang.Object)
Object owner
boolean clearOwner ()
void closeIfOwnedBy (java.lang.Object) throws java.io.IOException
Object owner
void connect (int, int, int, com.squareup.okhttp.Request, java.util.List, boolean) throws com.squareup.okhttp.internal.http.RouteException
java.io.IOException e
int connectTimeout
int readTimeout
int writeTimeout
com.squareup.okhttp.Request request
java.util.List connectionSpecs
boolean connectionRetryEnabled
com.squareup.okhttp.internal.http.RouteException routeException
com.squareup.okhttp.internal.ConnectionSpecSelector connectionSpecSelector
java.net.Proxy proxy
com.squareup.okhttp.Address address
private void connectSocket (int, int, int, com.squareup.okhttp.Request, com.squareup.okhttp.internal.ConnectionSpecSelector) throws java.io.IOException
int connectTimeout
int readTimeout
int writeTimeout
com.squareup.okhttp.Request request
com.squareup.okhttp.internal.ConnectionSpecSelector connectionSpecSelector
private void connectTls (int, int, com.squareup.okhttp.Request, com.squareup.okhttp.internal.ConnectionSpecSelector) throws java.io.IOException
java.security.cert.X509Certificate cert
com.squareup.okhttp.ConnectionSpec connectionSpec
com.squareup.okhttp.Handshake unverifiedHandshake
String maybeProtocol
AssertionError e
int readTimeout
int writeTimeout
com.squareup.okhttp.Request request
com.squareup.okhttp.internal.ConnectionSpecSelector connectionSpecSelector
com.squareup.okhttp.Address address
javax.net.ssl.SSLSocketFactory sslSocketFactory
boolean success
javax.net.ssl.SSLSocket sslSocket
private void createTunnel (int, int, com.squareup.okhttp.Request) throws java.io.IOException
com.squareup.okhttp.Response response
long contentLength
okio.Source body
int readTimeout
int writeTimeout
com.squareup.okhttp.Request request
com.squareup.okhttp.Request tunnelRequest
com.squareup.okhttp.internal.http.HttpConnection tunnelConnection
com.squareup.okhttp.HttpUrl url
String requestLine
private com.squareup.okhttp.Request createTunnelRequest (com.squareup.okhttp.Request) throws java.io.IOException
com.squareup.okhttp.Request request
com.squareup.okhttp.HttpUrl tunnelUrl
com.squareup.okhttp.Request$Builder result
String userAgent
String proxyAuthorization
void connectAndSetOwner (com.squareup.okhttp.OkHttpClient, java.lang.Object, com.squareup.okhttp.Request) throws com.squareup.okhttp.internal.http.RouteException
java.util.List connectionSpecs
com.squareup.okhttp.OkHttpClient client
Object owner
com.squareup.okhttp.Request request
boolean isConnected ()
public com.squareup.okhttp.Route getRoute ()
public java.net.Socket getSocket ()
okio.BufferedSource rawSource ()
okio.BufferedSink rawSink ()
boolean isAlive ()
boolean isReadable ()
void resetIdleStartTime ()
boolean isIdle ()
long getIdleStartTimeNs ()
public com.squareup.okhttp.Handshake getHandshake ()
com.squareup.okhttp.internal.http.Transport newTransport (com.squareup.okhttp.internal.http.HttpEngine) throws java.io.IOException
com.squareup.okhttp.internal.http.HttpEngine httpEngine
boolean isFramed ()
public com.squareup.okhttp.Protocol getProtocol ()
void setProtocol (com.squareup.okhttp.Protocol)
com.squareup.okhttp.Protocol protocol
void setTimeouts (int, int) throws com.squareup.okhttp.internal.http.RouteException
java.io.IOException e
int readTimeoutMillis
int writeTimeoutMillis
void incrementRecycleCount ()
int recycleCount ()
public java.lang.String toString ()
}
com/squareup/okhttp/ConnectionPool$1.classConnectionPool.java
package com.squareup.okhttp
com.squareup.okhttp.ConnectionPool$1 extends java.lang.Object implements java.lang.Runnable {
final com.squareup.okhttp.ConnectionPool this$0
void (com.squareup.okhttp.ConnectionPool)
com.squareup.okhttp.ConnectionPool this$0
public void run ()
}
com/squareup/okhttp/ConnectionPool.classConnectionPool.java
package com.squareup.okhttp
public final com.squareup.okhttp.ConnectionPool extends java.lang.Object {
private static final long DEFAULT_KEEP_ALIVE_DURATION_MS
private static final com.squareup.okhttp.ConnectionPool systemDefault
private final int maxIdleConnections
private final long keepAliveDurationNs
private final java.util.LinkedList connections
private java.util.concurrent.Executor executor
private final Runnable connectionsCleanupRunnable
public void (int, long)
int maxIdleConnections
long keepAliveDurationMs
public static com.squareup.okhttp.ConnectionPool getDefault ()
public synchronized int getConnectionCount ()
public synchronized int getSpdyConnectionCount ()
public synchronized int getMultiplexedConnectionCount ()
com.squareup.okhttp.Connection connection
int total
public synchronized int getHttpConnectionCount ()
public synchronized com.squareup.okhttp.Connection get (com.squareup.okhttp.Address)
java.net.SocketException e
com.squareup.okhttp.Connection connection
java.util.ListIterator i
com.squareup.okhttp.Address address
com.squareup.okhttp.Connection foundConnection
void recycle (com.squareup.okhttp.Connection)
java.net.SocketException e
com.squareup.okhttp.Connection connection
private void addConnection (com.squareup.okhttp.Connection)
com.squareup.okhttp.Connection connection
boolean empty
void share (com.squareup.okhttp.Connection)
com.squareup.okhttp.Connection connection
public void evictAll ()
int i
int size
java.util.List toEvict
private void runCleanupUntilPoolIsEmpty ()
boolean performCleanup ()
com.squareup.okhttp.Connection connection
long nanosUntilEviction
java.util.ListIterator i
com.squareup.okhttp.Connection connection
java.util.ListIterator i
long millisUntilNextEviction
long remainderNanos
int idleConnectionCount
long now
long nanosUntilNextEviction
com.squareup.okhttp.Connection expiredConnection
int i
int size
java.util.List evictableConnections
void replaceCleanupExecutorForTests (java.util.concurrent.Executor)
java.util.concurrent.Executor cleanupExecutor
synchronized java.util.List getConnections ()
static void access$000 (com.squareup.okhttp.ConnectionPool)
com.squareup.okhttp.ConnectionPool x0
static void ()
String keepAlive
String keepAliveDuration
String maxIdleConnections
long keepAliveDurationMs
}
com/squareup/okhttp/ConnectionSpec$1.classConnectionSpec.java
package com.squareup.okhttp
com.squareup.okhttp.ConnectionSpec$1 extends java.lang.Object {
}
com/squareup/okhttp/ConnectionSpec$Builder.classConnectionSpec.java
package com.squareup.okhttp
public final com.squareup.okhttp.ConnectionSpec$Builder extends java.lang.Object {
private boolean tls
private String[] cipherSuites
private String[] tlsVersions
private boolean supportsTlsExtensions
void (boolean)
boolean tls
public void (com.squareup.okhttp.ConnectionSpec)
com.squareup.okhttp.ConnectionSpec connectionSpec
public transient com.squareup.okhttp.ConnectionSpec$Builder cipherSuites (com.squareup.okhttp.CipherSuite[])
int i
com.squareup.okhttp.CipherSuite[] cipherSuites
String[] strings
public transient com.squareup.okhttp.ConnectionSpec$Builder cipherSuites (java.lang.String[])
String[] cipherSuites
public transient com.squareup.okhttp.ConnectionSpec$Builder tlsVersions (com.squareup.okhttp.TlsVersion[])
int i
com.squareup.okhttp.TlsVersion[] tlsVersions
String[] strings
public transient com.squareup.okhttp.ConnectionSpec$Builder tlsVersions (java.lang.String[])
String[] tlsVersions
public com.squareup.okhttp.ConnectionSpec$Builder supportsTlsExtensions (boolean)
boolean supportsTlsExtensions
public com.squareup.okhttp.ConnectionSpec build ()
static boolean access$000 (com.squareup.okhttp.ConnectionSpec$Builder)
com.squareup.okhttp.ConnectionSpec$Builder x0
static java.lang.String[] access$100 (com.squareup.okhttp.ConnectionSpec$Builder)
com.squareup.okhttp.ConnectionSpec$Builder x0
static java.lang.String[] access$200 (com.squareup.okhttp.ConnectionSpec$Builder)
com.squareup.okhttp.ConnectionSpec$Builder x0
static boolean access$300 (com.squareup.okhttp.ConnectionSpec$Builder)
com.squareup.okhttp.ConnectionSpec$Builder x0
}
com/squareup/okhttp/ConnectionSpec.classConnectionSpec.java
package com.squareup.okhttp
public final com.squareup.okhttp.ConnectionSpec extends java.lang.Object {
private static final com.squareup.okhttp.CipherSuite[] APPROVED_CIPHER_SUITES
public static final com.squareup.okhttp.ConnectionSpec MODERN_TLS
public static final com.squareup.okhttp.ConnectionSpec COMPATIBLE_TLS
public static final com.squareup.okhttp.ConnectionSpec CLEARTEXT
final boolean tls
private final String[] cipherSuites
private final String[] tlsVersions
final boolean supportsTlsExtensions
private void (com.squareup.okhttp.ConnectionSpec$Builder)
com.squareup.okhttp.ConnectionSpec$Builder builder
public boolean isTls ()
public java.util.List cipherSuites ()
int i
com.squareup.okhttp.CipherSuite[] result
public java.util.List tlsVersions ()
int i
com.squareup.okhttp.TlsVersion[] result
public boolean supportsTlsExtensions ()
void apply (javax.net.ssl.SSLSocket, boolean)
javax.net.ssl.SSLSocket sslSocket
boolean isFallback
com.squareup.okhttp.ConnectionSpec specToApply
String[] cipherSuitesToEnable
private com.squareup.okhttp.ConnectionSpec supportedSpec (javax.net.ssl.SSLSocket, boolean)
String[] cipherSuitesToSelectFrom
String[] oldEnabledCipherSuites
String[] newEnabledCipherSuites
String fallbackScsv
boolean socketSupportsFallbackScsv
javax.net.ssl.SSLSocket sslSocket
boolean isFallback
String[] cipherSuitesToEnable
String[] protocolsToSelectFrom
String[] protocolsToEnable
public boolean isCompatible (javax.net.ssl.SSLSocket)
boolean requiredCiphersEnabled
String[] enabledCipherSuites
javax.net.ssl.SSLSocket socket
String[] enabledProtocols
boolean requiredProtocolsEnabled
boolean requiredCiphersEnabled
private static boolean nonEmptyIntersection (java.lang.String[], java.lang.String[])
String toFind
String[] a
String[] b
private static boolean contains (java.lang.Object[], java.lang.Object)
Object arrayValue
Object[] array
Object value
public boolean equals (java.lang.Object)
Object other
com.squareup.okhttp.ConnectionSpec that
public int hashCode ()
int result
public java.lang.String toString ()
java.util.List cipherSuites
String cipherSuitesString
static java.lang.String[] access$400 (com.squareup.okhttp.ConnectionSpec)
com.squareup.okhttp.ConnectionSpec x0
static java.lang.String[] access$500 (com.squareup.okhttp.ConnectionSpec)
com.squareup.okhttp.ConnectionSpec x0
void (com.squareup.okhttp.ConnectionSpec$Builder, com.squareup.okhttp.ConnectionSpec$1)
com.squareup.okhttp.ConnectionSpec$Builder x0
com.squareup.okhttp.ConnectionSpec$1 x1
static void ()
}
com/squareup/okhttp/Credentials.classCredentials.java
package com.squareup.okhttp
public final com.squareup.okhttp.Credentials extends java.lang.Object {
private void ()
public static java.lang.String basic (java.lang.String, java.lang.String)
String usernameAndPassword
byte[] bytes
String encoded
java.io.UnsupportedEncodingException e
String userName
String password
}
com/squareup/okhttp/Dispatcher.classDispatcher.java
package com.squareup.okhttp
public final com.squareup.okhttp.Dispatcher extends java.lang.Object {
private int maxRequests
private int maxRequestsPerHost
private java.util.concurrent.ExecutorService executorService
private final java.util.Deque readyCalls
private final java.util.Deque runningCalls
private final java.util.Deque executedCalls
public void (java.util.concurrent.ExecutorService)
java.util.concurrent.ExecutorService executorService
public void ()
public synchronized java.util.concurrent.ExecutorService getExecutorService ()
public synchronized void setMaxRequests (int)
int maxRequests
public synchronized int getMaxRequests ()
public synchronized void setMaxRequestsPerHost (int)
int maxRequestsPerHost
public synchronized int getMaxRequestsPerHost ()
synchronized void enqueue (com.squareup.okhttp.Call$AsyncCall)
com.squareup.okhttp.Call$AsyncCall call
public synchronized void cancel (java.lang.Object)
com.squareup.okhttp.Call$AsyncCall call
com.squareup.okhttp.internal.http.HttpEngine engine
com.squareup.okhttp.Call$AsyncCall call
com.squareup.okhttp.Call call
Object tag
synchronized void finished (com.squareup.okhttp.Call$AsyncCall)
com.squareup.okhttp.Call$AsyncCall call
private void promoteCalls ()
com.squareup.okhttp.Call$AsyncCall call
java.util.Iterator i
private int runningCallsForHost (com.squareup.okhttp.Call$AsyncCall)
com.squareup.okhttp.Call$AsyncCall c
com.squareup.okhttp.Call$AsyncCall call
int result
synchronized void executed (com.squareup.okhttp.Call)
com.squareup.okhttp.Call call
synchronized void finished (com.squareup.okhttp.Call)
com.squareup.okhttp.Call call
public synchronized int getRunningCallCount ()
public synchronized int getQueuedCallCount ()
}
com/squareup/okhttp/FormEncodingBuilder.classFormEncodingBuilder.java
package com.squareup.okhttp
public final com.squareup.okhttp.FormEncodingBuilder extends java.lang.Object {
private static final com.squareup.okhttp.MediaType CONTENT_TYPE
private final okio.Buffer content
public void ()
public com.squareup.okhttp.FormEncodingBuilder add (java.lang.String, java.lang.String)
String name
String value
public com.squareup.okhttp.FormEncodingBuilder addEncoded (java.lang.String, java.lang.String)
String name
String value
public com.squareup.okhttp.RequestBody build ()
static void ()
}
com/squareup/okhttp/Handshake.classHandshake.java
package com.squareup.okhttp
public final com.squareup.okhttp.Handshake extends java.lang.Object {
private final String cipherSuite
private final java.util.List peerCertificates
private final java.util.List localCertificates
private void (java.lang.String, java.util.List, java.util.List)
String cipherSuite
java.util.List peerCertificates
java.util.List localCertificates
public static com.squareup.okhttp.Handshake get (javax.net.ssl.SSLSession)
javax.net.ssl.SSLPeerUnverifiedException ignored
javax.net.ssl.SSLSession session
String cipherSuite
java.security.cert.Certificate[] peerCertificates
java.security.cert.Certificate[] peerCertificates
java.util.List peerCertificatesList
java.security.cert.Certificate[] localCertificates
java.util.List localCertificatesList
public static com.squareup.okhttp.Handshake get (java.lang.String, java.util.List, java.util.List)
String cipherSuite
java.util.List peerCertificates
java.util.List localCertificates
public java.lang.String cipherSuite ()
public java.util.List peerCertificates ()
public java.security.Principal peerPrincipal ()
public java.util.List localCertificates ()
public java.security.Principal localPrincipal ()
public boolean equals (java.lang.Object)
Object other
com.squareup.okhttp.Handshake that
public int hashCode ()
int result
}
com/squareup/okhttp/Headers$1.classHeaders.java
package com.squareup.okhttp
com.squareup.okhttp.Headers$1 extends java.lang.Object {
}
com/squareup/okhttp/Headers$Builder.classHeaders.java
package com.squareup.okhttp
public final com.squareup.okhttp.Headers$Builder extends java.lang.Object {
private final java.util.List namesAndValues
public void ()
com.squareup.okhttp.Headers$Builder addLenient (java.lang.String)
String line
int index
public com.squareup.okhttp.Headers$Builder add (java.lang.String)
String line
int index
public com.squareup.okhttp.Headers$Builder add (java.lang.String, java.lang.String)
String name
String value
com.squareup.okhttp.Headers$Builder addLenient (java.lang.String, java.lang.String)
String name
String value
public com.squareup.okhttp.Headers$Builder removeAll (java.lang.String)
int i
String name
public com.squareup.okhttp.Headers$Builder set (java.lang.String, java.lang.String)
String name
String value
private void checkNameAndValue (java.lang.String, java.lang.String)
char c
int i
int length
char c
int i
int length
String name
String value
public java.lang.String get (java.lang.String)
int i
String name
public com.squareup.okhttp.Headers build ()
static java.util.List access$000 (com.squareup.okhttp.Headers$Builder)
com.squareup.okhttp.Headers$Builder x0
}
com/squareup/okhttp/Headers.classHeaders.java
package com.squareup.okhttp
public final com.squareup.okhttp.Headers extends java.lang.Object {
private final String[] namesAndValues
private void (com.squareup.okhttp.Headers$Builder)
com.squareup.okhttp.Headers$Builder builder
private void (java.lang.String[])
String[] namesAndValues
public java.lang.String get (java.lang.String)
String name
public java.util.Date getDate (java.lang.String)
String name
String value
public int size ()
public java.lang.String name (int)
int index
int nameIndex
public java.lang.String value (int)
int index
int valueIndex
public java.util.Set names ()
int i
int size
java.util.TreeSet result
public java.util.List values (java.lang.String)
int i
int size
String name
java.util.List result
public com.squareup.okhttp.Headers$Builder newBuilder ()
com.squareup.okhttp.Headers$Builder result
public java.lang.String toString ()
int i
int size
StringBuilder result
public java.util.Map toMultimap ()
String name
java.util.List values
int i
int size
java.util.Map result
private static java.lang.String get (java.lang.String[], java.lang.String)
int i
String[] namesAndValues
String name
public static transient com.squareup.okhttp.Headers of (java.lang.String[])
int i
String name
String value
int i
String[] namesAndValues
public static com.squareup.okhttp.Headers of (java.util.Map)
String name
String value
java.util.Map$Entry header
java.util.Map headers
String[] namesAndValues
int i
void (com.squareup.okhttp.Headers$Builder, com.squareup.okhttp.Headers$1)
com.squareup.okhttp.Headers$Builder x0
com.squareup.okhttp.Headers$1 x1
}
com/squareup/okhttp/HttpUrl$1.classHttpUrl.java
package com.squareup.okhttp
com.squareup.okhttp.HttpUrl$1 extends java.lang.Object {
}
com/squareup/okhttp/HttpUrl$Builder.classHttpUrl.java
package com.squareup.okhttp
public final com.squareup.okhttp.HttpUrl$Builder extends java.lang.Object {
String scheme
String encodedUsername
String encodedPassword
String host
int port
final java.util.List encodedPathSegments
java.util.List encodedQueryNamesAndValues
String encodedFragment
public void ()
public com.squareup.okhttp.HttpUrl$Builder scheme (java.lang.String)
String scheme
public com.squareup.okhttp.HttpUrl$Builder username (java.lang.String)
String username
public com.squareup.okhttp.HttpUrl$Builder encodedUsername (java.lang.String)
String encodedUsername
public com.squareup.okhttp.HttpUrl$Builder password (java.lang.String)
String password
public com.squareup.okhttp.HttpUrl$Builder encodedPassword (java.lang.String)
String encodedPassword
public com.squareup.okhttp.HttpUrl$Builder host (java.lang.String)
String host
String encoded
public com.squareup.okhttp.HttpUrl$Builder port (int)
int port
int effectivePort ()
public com.squareup.okhttp.HttpUrl$Builder addPathSegment (java.lang.String)
String pathSegment
public com.squareup.okhttp.HttpUrl$Builder addEncodedPathSegment (java.lang.String)
String encodedPathSegment
public com.squareup.okhttp.HttpUrl$Builder setPathSegment (int, java.lang.String)
int index
String pathSegment
String canonicalPathSegment
public com.squareup.okhttp.HttpUrl$Builder setEncodedPathSegment (int, java.lang.String)
int index
String encodedPathSegment
String canonicalPathSegment
public com.squareup.okhttp.HttpUrl$Builder removePathSegment (int)
int index
public com.squareup.okhttp.HttpUrl$Builder encodedPath (java.lang.String)
String encodedPath
public com.squareup.okhttp.HttpUrl$Builder query (java.lang.String)
String query
public com.squareup.okhttp.HttpUrl$Builder encodedQuery (java.lang.String)
String encodedQuery
public com.squareup.okhttp.HttpUrl$Builder addQueryParameter (java.lang.String, java.lang.String)
String name
String value
public com.squareup.okhttp.HttpUrl$Builder addEncodedQueryParameter (java.lang.String, java.lang.String)
String encodedName
String encodedValue
public com.squareup.okhttp.HttpUrl$Builder setQueryParameter (java.lang.String, java.lang.String)
String name
String value
public com.squareup.okhttp.HttpUrl$Builder setEncodedQueryParameter (java.lang.String, java.lang.String)
String encodedName
String encodedValue
public com.squareup.okhttp.HttpUrl$Builder removeAllQueryParameters (java.lang.String)
String name
String nameToRemove
public com.squareup.okhttp.HttpUrl$Builder removeAllEncodedQueryParameters (java.lang.String)
String encodedName
private void removeAllCanonicalQueryParameters (java.lang.String)
int i
String canonicalName
public com.squareup.okhttp.HttpUrl$Builder fragment (java.lang.String)
String fragment
public com.squareup.okhttp.HttpUrl$Builder encodedFragment (java.lang.String)
String encodedFragment
public com.squareup.okhttp.HttpUrl build ()
public java.lang.String toString ()
StringBuilder result
int effectivePort
com.squareup.okhttp.HttpUrl parse (com.squareup.okhttp.HttpUrl, java.lang.String)
int passwordColonOffset
String canonicalUsername
int portColonOffset
int componentDelimiterOffset
int c
int queryDelimiterOffset
com.squareup.okhttp.HttpUrl base
String input
int pos
int limit
int schemeDelimiterOffset
boolean hasUsername
boolean hasPassword
int slashCount
int pathDelimiterOffset
private void resolvePath (java.lang.String, int, int)
int pathSegmentDelimiterOffset
boolean segmentHasTrailingSlash
int i
String input
int pos
int limit
char c
private void push (java.lang.String, int, int, boolean, boolean)
String input
int pos
int limit
boolean addTrailingSlash
boolean alreadyEncoded
String segment
private boolean isDot (java.lang.String)
String input
private boolean isDotDot (java.lang.String)
String input
private void pop ()
String removed
private int skipLeadingAsciiWhitespace (java.lang.String, int, int)
int i
String input
int pos
int limit
private int skipTrailingAsciiWhitespace (java.lang.String, int, int)
int i
String input
int pos
int limit
private static int schemeDelimiterOffset (java.lang.String, int, int)
char c
int i
String input
int pos
int limit
char c0
private static int slashCount (java.lang.String, int, int)
char c
String input
int pos
int limit
int slashCount
private static int portColonOffset (java.lang.String, int, int)
int i
String input
int pos
int limit
private static java.lang.String canonicalizeHost (java.lang.String, int, int)
java.net.InetAddress inetAddress
byte[] address
String input
int pos
int limit
String percentDecoded
String idnDecoded
int length
private static java.net.InetAddress decodeIpv6 (java.lang.String, int, int)
char c
int hexDigit
int value
int groupLength
int i
java.net.UnknownHostException e
String input
int pos
int limit
byte[] address
int b
int compress
int groupOffset
private static boolean decodeIpv4Suffix (java.lang.String, int, int, byte[], int)
char c
int value
int groupOffset
int groupLength
int i
String input
int pos
int limit
byte[] address
int addressOffset
int b
private static java.lang.String domainToAscii (java.lang.String)
String result
IllegalArgumentException e
String input
private static java.lang.String inet6AddressToAscii (byte[])
int currentRunOffset
int currentRunLength
int i
int group
int i
byte[] address
int longestRunOffset
int longestRunLength
okio.Buffer result
private static int parsePort (java.lang.String, int, int)
String portString
int i
NumberFormatException e
String input
int pos
int limit
}
com/squareup/okhttp/HttpUrl.classHttpUrl.java
package com.squareup.okhttp
public final com.squareup.okhttp.HttpUrl extends java.lang.Object {
private static final char[] HEX_DIGITS
static final String USERNAME_ENCODE_SET
static final String PASSWORD_ENCODE_SET
static final String PATH_SEGMENT_ENCODE_SET
static final String QUERY_ENCODE_SET
static final String QUERY_COMPONENT_ENCODE_SET
static final String FORM_ENCODE_SET
static final String FRAGMENT_ENCODE_SET
private final String scheme
private final String username
private final String password
private final String host
private final int port
private final java.util.List pathSegments
private final java.util.List queryNamesAndValues
private final String fragment
private final String url
private void (com.squareup.okhttp.HttpUrl$Builder)
com.squareup.okhttp.HttpUrl$Builder builder
public java.net.URL url ()
java.net.MalformedURLException e
public java.net.URI uri ()
java.net.URISyntaxException e
public java.lang.String scheme ()
public boolean isHttps ()
public java.lang.String encodedUsername ()
int usernameStart
int usernameEnd
public java.lang.String username ()
public java.lang.String encodedPassword ()
int passwordStart
int passwordEnd
public java.lang.String password ()
public java.lang.String host ()
public int port ()
public static int defaultPort (java.lang.String)
String scheme
public int pathSize ()
public java.lang.String encodedPath ()
int pathStart
int pathEnd
static void pathSegmentsToString (java.lang.StringBuilder, java.util.List)
int i
int size
StringBuilder out
java.util.List pathSegments
public java.util.List encodedPathSegments ()
int segmentEnd
int i
int pathStart
int pathEnd
java.util.List result
public java.util.List pathSegments ()
public java.lang.String encodedQuery ()
int queryStart
int queryEnd
static void namesAndValuesToQueryString (java.lang.StringBuilder, java.util.List)
String name
String value
int i
int size
StringBuilder out
java.util.List namesAndValues
static java.util.List queryStringToNamesAndValues (java.lang.String)
int ampersandOffset
int equalsOffset
int pos
String encodedQuery
java.util.List result
public java.lang.String query ()
StringBuilder result
public int querySize ()
public java.lang.String queryParameter (java.lang.String)
int i
int size
String name
public java.util.Set queryParameterNames ()
int i
int size
java.util.Set result
public java.util.List queryParameterValues (java.lang.String)
int i
int size
String name
java.util.List result
public java.lang.String queryParameterName (int)
int index
public java.lang.String queryParameterValue (int)
int index
public java.lang.String encodedFragment ()
int fragmentStart
public java.lang.String fragment ()
public com.squareup.okhttp.HttpUrl resolve (java.lang.String)
String link
public com.squareup.okhttp.HttpUrl$Builder newBuilder ()
com.squareup.okhttp.HttpUrl$Builder result
public static com.squareup.okhttp.HttpUrl parse (java.lang.String)
String url
public static com.squareup.okhttp.HttpUrl get (java.net.URL)
java.net.URL url
public static com.squareup.okhttp.HttpUrl get (java.net.URI)
java.net.URI uri
public boolean equals (java.lang.Object)
Object o
public int hashCode ()
public java.lang.String toString ()
private static int delimiterOffset (java.lang.String, int, int, java.lang.String)
int i
String input
int pos
int limit
String delimiters
static java.lang.String percentDecode (java.lang.String)
String encoded
private java.util.List percentDecode (java.util.List)
String s
java.util.List list
java.util.List result
static java.lang.String percentDecode (java.lang.String, int, int)
okio.Buffer out
char c
int i
String encoded
int pos
int limit
static void percentDecode (okio.Buffer, java.lang.String, int, int)
int d1
int d2
int codePoint
int i
okio.Buffer out
String encoded
int pos
int limit
static int decodeHexDigit (char)
char c
static java.lang.String canonicalize (java.lang.String, int, int, java.lang.String, boolean, boolean)
okio.Buffer out
int codePoint
int i
String input
int pos
int limit
String encodeSet
boolean alreadyEncoded
boolean query
static void canonicalize (okio.Buffer, java.lang.String, int, int, java.lang.String, boolean, boolean)
int b
int codePoint
int i
okio.Buffer out
String input
int pos
int limit
String encodeSet
boolean alreadyEncoded
boolean query
okio.Buffer utf8Buffer
static java.lang.String canonicalize (java.lang.String, java.lang.String, boolean, boolean)
String input
String encodeSet
boolean alreadyEncoded
boolean query
void (com.squareup.okhttp.HttpUrl$Builder, com.squareup.okhttp.HttpUrl$1)
com.squareup.okhttp.HttpUrl$Builder x0
com.squareup.okhttp.HttpUrl$1 x1
static java.lang.String access$100 (com.squareup.okhttp.HttpUrl)
com.squareup.okhttp.HttpUrl x0
static int access$200 (java.lang.String, int, int, java.lang.String)
String x0
int x1
int x2
String x3
static java.lang.String access$300 (com.squareup.okhttp.HttpUrl)
com.squareup.okhttp.HttpUrl x0
static int access$400 (com.squareup.okhttp.HttpUrl)
com.squareup.okhttp.HttpUrl x0
static void ()
}
com/squareup/okhttp/Interceptor$Chain.classInterceptor.java
package com.squareup.okhttp
public abstract com.squareup.okhttp.Interceptor$Chain extends java.lang.Object {
public abstract com.squareup.okhttp.Request request ()
public abstract com.squareup.okhttp.Response proceed (com.squareup.okhttp.Request) throws java.io.IOException
public abstract com.squareup.okhttp.Connection connection ()
}
com/squareup/okhttp/Interceptor.classInterceptor.java
package com.squareup.okhttp
public abstract com.squareup.okhttp.Interceptor extends java.lang.Object {
public abstract com.squareup.okhttp.Response intercept (com.squareup.okhttp.Interceptor$Chain) throws java.io.IOException
}
com/squareup/okhttp/internal/ConnectionSpecSelector.classConnectionSpecSelector.java
package com.squareup.okhttp.internal
public final com.squareup.okhttp.internal.ConnectionSpecSelector extends java.lang.Object {
private final java.util.List connectionSpecs
private int nextModeIndex
private boolean isFallbackPossible
private boolean isFallback
public void (java.util.List)
java.util.List connectionSpecs
public com.squareup.okhttp.ConnectionSpec configureSecureSocket (javax.net.ssl.SSLSocket) throws java.io.IOException
com.squareup.okhttp.ConnectionSpec connectionSpec
int i
int size
javax.net.ssl.SSLSocket sslSocket
com.squareup.okhttp.ConnectionSpec tlsConfiguration
public boolean connectionFailed (java.io.IOException)
java.io.IOException e
private boolean isFallbackPossible (javax.net.ssl.SSLSocket)
int i
javax.net.ssl.SSLSocket socket
}
com/squareup/okhttp/internal/DiskLruCache$1.classDiskLruCache.java
package com.squareup.okhttp.internal
com.squareup.okhttp.internal.DiskLruCache$1 extends java.lang.Object implements java.lang.Runnable {
final com.squareup.okhttp.internal.DiskLruCache this$0
void (com.squareup.okhttp.internal.DiskLruCache)
com.squareup.okhttp.internal.DiskLruCache this$0
public void run ()
java.io.IOException e
}
com/squareup/okhttp/internal/DiskLruCache$2.classDiskLruCache.java
package com.squareup.okhttp.internal
com.squareup.okhttp.internal.DiskLruCache$2 extends com.squareup.okhttp.internal.FaultHidingSink {
static final boolean $assertionsDisabled
final com.squareup.okhttp.internal.DiskLruCache this$0
void (com.squareup.okhttp.internal.DiskLruCache, okio.Sink)
com.squareup.okhttp.internal.DiskLruCache this$0
okio.Sink delegate
protected void onException (java.io.IOException)
java.io.IOException e
static void ()
}
com/squareup/okhttp/internal/DiskLruCache$3.classDiskLruCache.java
package com.squareup.okhttp.internal
com.squareup.okhttp.internal.DiskLruCache$3 extends java.lang.Object implements java.util.Iterator {
final java.util.Iterator delegate
com.squareup.okhttp.internal.DiskLruCache$Snapshot nextSnapshot
com.squareup.okhttp.internal.DiskLruCache$Snapshot removeSnapshot
final com.squareup.okhttp.internal.DiskLruCache this$0
void (com.squareup.okhttp.internal.DiskLruCache)
com.squareup.okhttp.internal.DiskLruCache this$0
public boolean hasNext ()
com.squareup.okhttp.internal.DiskLruCache$Entry entry
com.squareup.okhttp.internal.DiskLruCache$Snapshot snapshot
public com.squareup.okhttp.internal.DiskLruCache$Snapshot next ()
public void remove ()
public volatile java.lang.Object next ()
}
com/squareup/okhttp/internal/DiskLruCache$4.classDiskLruCache.java
package com.squareup.okhttp.internal
final com.squareup.okhttp.internal.DiskLruCache$4 extends java.lang.Object implements okio.Sink {
void ()
public void write (okio.Buffer, long) throws java.io.IOException
okio.Buffer source
long byteCount
public void flush () throws java.io.IOException
public okio.Timeout timeout ()
public void close () throws java.io.IOException
}
com/squareup/okhttp/internal/DiskLruCache$Editor$1.classDiskLruCache.java
package com.squareup.okhttp.internal
com.squareup.okhttp.internal.DiskLruCache$Editor$1 extends com.squareup.okhttp.internal.FaultHidingSink {
final com.squareup.okhttp.internal.DiskLruCache$Editor this$1
void (com.squareup.okhttp.internal.DiskLruCache$Editor, okio.Sink)
com.squareup.okhttp.internal.DiskLruCache$Editor this$1
okio.Sink delegate
protected void onException (java.io.IOException)
java.io.IOException e
}
com/squareup/okhttp/internal/DiskLruCache$Editor.classDiskLruCache.java
package com.squareup.okhttp.internal
public final com.squareup.okhttp.internal.DiskLruCache$Editor extends java.lang.Object {
private final com.squareup.okhttp.internal.DiskLruCache$Entry entry
private final boolean[] written
private boolean hasErrors
private boolean committed
final com.squareup.okhttp.internal.DiskLruCache this$0
private void (com.squareup.okhttp.internal.DiskLruCache, com.squareup.okhttp.internal.DiskLruCache$Entry)
com.squareup.okhttp.internal.DiskLruCache this$0
com.squareup.okhttp.internal.DiskLruCache$Entry entry
public okio.Source newSource (int) throws java.io.IOException
java.io.FileNotFoundException e
int index
public okio.Sink newSink (int) throws java.io.IOException
java.io.FileNotFoundException e
java.io.File dirtyFile
okio.Sink sink
okio.Sink sink
int index
public void commit () throws java.io.IOException
public void abort () throws java.io.IOException
public void abortUnlessCommitted ()
void (com.squareup.okhttp.internal.DiskLruCache, com.squareup.okhttp.internal.DiskLruCache$Entry, com.squareup.okhttp.internal.DiskLruCache$1)
com.squareup.okhttp.internal.DiskLruCache x0
com.squareup.okhttp.internal.DiskLruCache$Entry x1
com.squareup.okhttp.internal.DiskLruCache$1 x2
static com.squareup.okhttp.internal.DiskLruCache$Entry access$1700 (com.squareup.okhttp.internal.DiskLruCache$Editor)
com.squareup.okhttp.internal.DiskLruCache$Editor x0
static boolean[] access$1800 (com.squareup.okhttp.internal.DiskLruCache$Editor)
com.squareup.okhttp.internal.DiskLruCache$Editor x0
static boolean access$1902 (com.squareup.okhttp.internal.DiskLruCache$Editor, boolean)
com.squareup.okhttp.internal.DiskLruCache$Editor x0
boolean x1
}
com/squareup/okhttp/internal/DiskLruCache$Entry.classDiskLruCache.java
package com.squareup.okhttp.internal
final com.squareup.okhttp.internal.DiskLruCache$Entry extends java.lang.Object {
private final String key
private final long[] lengths
private final java.io.File[] cleanFiles
private final java.io.File[] dirtyFiles
private boolean readable
private com.squareup.okhttp.internal.DiskLruCache$Editor currentEditor
private long sequenceNumber
final com.squareup.okhttp.internal.DiskLruCache this$0
private void (com.squareup.okhttp.internal.DiskLruCache, java.lang.String)
int i
String key
StringBuilder fileBuilder
int truncateTo
private void setLengths (java.lang.String[]) throws java.io.IOException
int i
NumberFormatException e
String[] strings
void writeLengths (okio.BufferedSink) throws java.io.IOException
long length
okio.BufferedSink writer
private java.io.IOException invalidLengths (java.lang.String[]) throws java.io.IOException
String[] strings
com.squareup.okhttp.internal.DiskLruCache$Snapshot snapshot ()
int i
int i
java.io.FileNotFoundException e
okio.Source[] sources
long[] lengths
void (com.squareup.okhttp.internal.DiskLruCache, java.lang.String, com.squareup.okhttp.internal.DiskLruCache$1)
com.squareup.okhttp.internal.DiskLruCache x0
String x1
com.squareup.okhttp.internal.DiskLruCache$1 x2
static boolean access$802 (com.squareup.okhttp.internal.DiskLruCache$Entry, boolean)
com.squareup.okhttp.internal.DiskLruCache$Entry x0
boolean x1
static com.squareup.okhttp.internal.DiskLruCache$Editor access$902 (com.squareup.okhttp.internal.DiskLruCache$Entry, com.squareup.okhttp.internal.DiskLruCache$Editor)
com.squareup.okhttp.internal.DiskLruCache$Entry x0
com.squareup.okhttp.internal.DiskLruCache$Editor x1
static void access$1000 (com.squareup.okhttp.internal.DiskLruCache$Entry, java.lang.String[]) throws java.io.IOException
com.squareup.okhttp.internal.DiskLruCache$Entry x0
String[] x1
static com.squareup.okhttp.internal.DiskLruCache$Editor access$900 (com.squareup.okhttp.internal.DiskLruCache$Entry)
com.squareup.okhttp.internal.DiskLruCache$Entry x0
static long[] access$1200 (com.squareup.okhttp.internal.DiskLruCache$Entry)
com.squareup.okhttp.internal.DiskLruCache$Entry x0
static java.io.File[] access$1300 (com.squareup.okhttp.internal.DiskLruCache$Entry)
com.squareup.okhttp.internal.DiskLruCache$Entry x0
static java.io.File[] access$1400 (com.squareup.okhttp.internal.DiskLruCache$Entry)
com.squareup.okhttp.internal.DiskLruCache$Entry x0
static java.lang.String access$1500 (com.squareup.okhttp.internal.DiskLruCache$Entry)
com.squareup.okhttp.internal.DiskLruCache$Entry x0
static boolean access$800 (com.squareup.okhttp.internal.DiskLruCache$Entry)
com.squareup.okhttp.internal.DiskLruCache$Entry x0
static long access$1600 (com.squareup.okhttp.internal.DiskLruCache$Entry)
com.squareup.okhttp.internal.DiskLruCache$Entry x0
static long access$1602 (com.squareup.okhttp.internal.DiskLruCache$Entry, long)
com.squareup.okhttp.internal.DiskLruCache$Entry x0
long x1
}
com/squareup/okhttp/internal/DiskLruCache$Snapshot.classDiskLruCache.java
package com.squareup.okhttp.internal
public final com.squareup.okhttp.internal.DiskLruCache$Snapshot extends java.lang.Object implements java.io.Closeable {
private final String key
private final long sequenceNumber
private final okio.Source[] sources
private final long[] lengths
final com.squareup.okhttp.internal.DiskLruCache this$0
private void (com.squareup.okhttp.internal.DiskLruCache, java.lang.String, long, okio.Source[], long[])
com.squareup.okhttp.internal.DiskLruCache this$0
String key
long sequenceNumber
okio.Source[] sources
long[] lengths
public java.lang.String key ()
public com.squareup.okhttp.internal.DiskLruCache$Editor edit () throws java.io.IOException
public okio.Source getSource (int)
int index
public long getLength (int)
int index
public void close ()
okio.Source in
static java.lang.String access$2100 (com.squareup.okhttp.internal.DiskLruCache$Snapshot)
com.squareup.okhttp.internal.DiskLruCache$Snapshot x0
void (com.squareup.okhttp.internal.DiskLruCache, java.lang.String, long, okio.Source[], long[], com.squareup.okhttp.internal.DiskLruCache$1)
com.squareup.okhttp.internal.DiskLruCache x0
String x1
long x2
okio.Source[] x3
long[] x4
com.squareup.okhttp.internal.DiskLruCache$1 x5
}
com/squareup/okhttp/internal/DiskLruCache.classDiskLruCache.java
package com.squareup.okhttp.internal
public final com.squareup.okhttp.internal.DiskLruCache extends java.lang.Object implements java.io.Closeable {
static final String JOURNAL_FILE
static final String JOURNAL_FILE_TEMP
static final String JOURNAL_FILE_BACKUP
static final String MAGIC
static final String VERSION_1
static final long ANY_SEQUENCE_NUMBER
static final java.util.regex.Pattern LEGAL_KEY_PATTERN
private static final String CLEAN
private static final String DIRTY
private static final String REMOVE
private static final String READ
private final com.squareup.okhttp.internal.io.FileSystem fileSystem
private final java.io.File directory
private final java.io.File journalFile
private final java.io.File journalFileTmp
private final java.io.File journalFileBackup
private final int appVersion
private long maxSize
private final int valueCount
private long size
private okio.BufferedSink journalWriter
private final java.util.LinkedHashMap lruEntries
private int redundantOpCount
private boolean hasJournalErrors
private boolean initialized
private boolean closed
private long nextSequenceNumber
private final java.util.concurrent.Executor executor
private final Runnable cleanupRunnable
private static final okio.Sink NULL_SINK
static final boolean $assertionsDisabled
void (com.squareup.okhttp.internal.io.FileSystem, java.io.File, int, int, long, java.util.concurrent.Executor)
com.squareup.okhttp.internal.io.FileSystem fileSystem
java.io.File directory
int appVersion
int valueCount
long maxSize
java.util.concurrent.Executor executor
public synchronized void initialize () throws java.io.IOException
java.io.IOException journalIsCorrupt
public static com.squareup.okhttp.internal.DiskLruCache create (com.squareup.okhttp.internal.io.FileSystem, java.io.File, int, int, long)
com.squareup.okhttp.internal.io.FileSystem fileSystem
java.io.File directory
int appVersion
int valueCount
long maxSize
java.util.concurrent.Executor executor
private void readJournal () throws java.io.IOException
java.io.EOFException endOfJournal
String magic
String version
String appVersionString
String valueCountString
String blank
int lineCount
okio.BufferedSource source
private okio.BufferedSink newJournalWriter () throws java.io.FileNotFoundException
okio.Sink fileSink
okio.Sink faultHidingSink
private void readJournalLine (java.lang.String) throws java.io.IOException
String key
String[] parts
String line
int firstSpace
int keyBegin
int secondSpace
String key
com.squareup.okhttp.internal.DiskLruCache$Entry entry
private void processJournal () throws java.io.IOException
int t
int t
com.squareup.okhttp.internal.DiskLruCache$Entry entry
java.util.Iterator i
private synchronized void rebuildJournal () throws java.io.IOException
com.squareup.okhttp.internal.DiskLruCache$Entry entry
okio.BufferedSink writer
public synchronized com.squareup.okhttp.internal.DiskLruCache$Snapshot get (java.lang.String) throws java.io.IOException
String key
com.squareup.okhttp.internal.DiskLruCache$Entry entry
com.squareup.okhttp.internal.DiskLruCache$Snapshot snapshot
public com.squareup.okhttp.internal.DiskLruCache$Editor edit (java.lang.String) throws java.io.IOException
String key
private synchronized com.squareup.okhttp.internal.DiskLruCache$Editor edit (java.lang.String, long) throws java.io.IOException
String key
long expectedSequenceNumber
com.squareup.okhttp.internal.DiskLruCache$Entry entry
com.squareup.okhttp.internal.DiskLruCache$Editor editor
public java.io.File getDirectory ()
public synchronized long getMaxSize ()
public synchronized void setMaxSize (long)
long maxSize
public synchronized long size () throws java.io.IOException
private synchronized void completeEdit (com.squareup.okhttp.internal.DiskLruCache$Editor, boolean) throws java.io.IOException
int i
java.io.File clean
long oldLength
long newLength
java.io.File dirty
int i
com.squareup.okhttp.internal.DiskLruCache$Editor editor
boolean success
com.squareup.okhttp.internal.DiskLruCache$Entry entry
private boolean journalRebuildRequired ()
int redundantOpCompactThreshold
public synchronized boolean remove (java.lang.String) throws java.io.IOException
String key
com.squareup.okhttp.internal.DiskLruCache$Entry entry
private boolean removeEntry (com.squareup.okhttp.internal.DiskLruCache$Entry) throws java.io.IOException
int i
com.squareup.okhttp.internal.DiskLruCache$Entry entry
public synchronized boolean isClosed ()
private synchronized void checkNotClosed ()
public synchronized void flush () throws java.io.IOException
public synchronized void close () throws java.io.IOException
com.squareup.okhttp.internal.DiskLruCache$Entry entry
private void trimToSize () throws java.io.IOException
com.squareup.okhttp.internal.DiskLruCache$Entry toEvict
public void delete () throws java.io.IOException
public synchronized void evictAll () throws java.io.IOException
com.squareup.okhttp.internal.DiskLruCache$Entry entry
private void validateKey (java.lang.String)
String key
java.util.regex.Matcher matcher
public synchronized java.util.Iterator snapshots () throws java.io.IOException
static boolean access$000 (com.squareup.okhttp.internal.DiskLruCache)
com.squareup.okhttp.internal.DiskLruCache x0
static boolean access$100 (com.squareup.okhttp.internal.DiskLruCache)
com.squareup.okhttp.internal.DiskLruCache x0
static void access$200 (com.squareup.okhttp.internal.DiskLruCache) throws java.io.IOException
com.squareup.okhttp.internal.DiskLruCache x0
static boolean access$300 (com.squareup.okhttp.internal.DiskLruCache)
com.squareup.okhttp.internal.DiskLruCache x0
static void access$400 (com.squareup.okhttp.internal.DiskLruCache) throws java.io.IOException
com.squareup.okhttp.internal.DiskLruCache x0
static int access$502 (com.squareup.okhttp.internal.DiskLruCache, int)
com.squareup.okhttp.internal.DiskLruCache x0
int x1
static boolean access$602 (com.squareup.okhttp.internal.DiskLruCache, boolean)
com.squareup.okhttp.internal.DiskLruCache x0
boolean x1
static java.util.LinkedHashMap access$2000 (com.squareup.okhttp.internal.DiskLruCache)
com.squareup.okhttp.internal.DiskLruCache x0
static com.squareup.okhttp.internal.DiskLruCache$Editor access$2200 (com.squareup.okhttp.internal.DiskLruCache, java.lang.String, long) throws java.io.IOException
com.squareup.okhttp.internal.DiskLruCache x0
String x1
long x2
static int access$2300 (com.squareup.okhttp.internal.DiskLruCache)
com.squareup.okhttp.internal.DiskLruCache x0
static com.squareup.okhttp.internal.io.FileSystem access$2400 (com.squareup.okhttp.internal.DiskLruCache)
com.squareup.okhttp.internal.DiskLruCache x0
static okio.Sink access$2500 ()
static void access$2600 (com.squareup.okhttp.internal.DiskLruCache, com.squareup.okhttp.internal.DiskLruCache$Editor, boolean) throws java.io.IOException
com.squareup.okhttp.internal.DiskLruCache x0
com.squareup.okhttp.internal.DiskLruCache$Editor x1
boolean x2
static boolean access$2700 (com.squareup.okhttp.internal.DiskLruCache, com.squareup.okhttp.internal.DiskLruCache$Entry) throws java.io.IOException
com.squareup.okhttp.internal.DiskLruCache x0
com.squareup.okhttp.internal.DiskLruCache$Entry x1
static java.io.File access$2800 (com.squareup.okhttp.internal.DiskLruCache)
com.squareup.okhttp.internal.DiskLruCache x0
static void ()
}
com/squareup/okhttp/internal/FaultHidingSink.classFaultHidingSink.java
package com.squareup.okhttp.internal
com.squareup.okhttp.internal.FaultHidingSink extends okio.ForwardingSink {
private boolean hasErrors
public void (okio.Sink)
okio.Sink delegate
public void write (okio.Buffer, long) throws java.io.IOException
java.io.IOException e
okio.Buffer source
long byteCount
public void flush () throws java.io.IOException
java.io.IOException e
public void close () throws java.io.IOException
java.io.IOException e
protected void onException (java.io.IOException)
java.io.IOException e
}
com/squareup/okhttp/internal/framed/ErrorCode.classErrorCode.java
package com.squareup.okhttp.internal.framed
public final com.squareup.okhttp.internal.framed.ErrorCode extends java.lang.Enum {
public static final com.squareup.okhttp.internal.framed.ErrorCode NO_ERROR
public static final com.squareup.okhttp.internal.framed.ErrorCode PROTOCOL_ERROR
public static final com.squareup.okhttp.internal.framed.ErrorCode INVALID_STREAM
public static final com.squareup.okhttp.internal.framed.ErrorCode UNSUPPORTED_VERSION
public static final com.squareup.okhttp.internal.framed.ErrorCode STREAM_IN_USE
public static final com.squareup.okhttp.internal.framed.ErrorCode STREAM_ALREADY_CLOSED
public static final com.squareup.okhttp.internal.framed.ErrorCode INTERNAL_ERROR
public static final com.squareup.okhttp.internal.framed.ErrorCode FLOW_CONTROL_ERROR
public static final com.squareup.okhttp.internal.framed.ErrorCode STREAM_CLOSED
public static final com.squareup.okhttp.internal.framed.ErrorCode FRAME_TOO_LARGE
public static final com.squareup.okhttp.internal.framed.ErrorCode REFUSED_STREAM
public static final com.squareup.okhttp.internal.framed.ErrorCode CANCEL
public static final com.squareup.okhttp.internal.framed.ErrorCode COMPRESSION_ERROR
public static final com.squareup.okhttp.internal.framed.ErrorCode CONNECT_ERROR
public static final com.squareup.okhttp.internal.framed.ErrorCode ENHANCE_YOUR_CALM
public static final com.squareup.okhttp.internal.framed.ErrorCode INADEQUATE_SECURITY
public static final com.squareup.okhttp.internal.framed.ErrorCode HTTP_1_1_REQUIRED
public static final com.squareup.okhttp.internal.framed.ErrorCode INVALID_CREDENTIALS
public final int httpCode
public final int spdyRstCode
public final int spdyGoAwayCode
private static final com.squareup.okhttp.internal.framed.ErrorCode[] $VALUES
public static com.squareup.okhttp.internal.framed.ErrorCode[] values ()
public static com.squareup.okhttp.internal.framed.ErrorCode valueOf (java.lang.String)
String name
private void (java.lang.String, int, int, int, int)
int httpCode
int spdyRstCode
int spdyGoAwayCode
public static com.squareup.okhttp.internal.framed.ErrorCode fromSpdy3Rst (int)
com.squareup.okhttp.internal.framed.ErrorCode errorCode
int code
public static com.squareup.okhttp.internal.framed.ErrorCode fromHttp2 (int)
com.squareup.okhttp.internal.framed.ErrorCode errorCode
int code
public static com.squareup.okhttp.internal.framed.ErrorCode fromSpdyGoAway (int)
com.squareup.okhttp.internal.framed.ErrorCode errorCode
int code
static void ()
}
com/squareup/okhttp/internal/framed/FramedConnection$1.classFramedConnection.java
package com.squareup.okhttp.internal.framed
com.squareup.okhttp.internal.framed.FramedConnection$1 extends com.squareup.okhttp.internal.NamedRunnable {
final int val$streamId
final com.squareup.okhttp.internal.framed.ErrorCode val$errorCode
final com.squareup.okhttp.internal.framed.FramedConnection this$0
transient void (com.squareup.okhttp.internal.framed.FramedConnection, java.lang.String, java.lang.Object[], int, com.squareup.okhttp.internal.framed.ErrorCode)
com.squareup.okhttp.internal.framed.FramedConnection this$0
String format
Object[] args
public void execute ()
}
com/squareup/okhttp/internal/framed/FramedConnection$2.classFramedConnection.java
package com.squareup.okhttp.internal.framed
com.squareup.okhttp.internal.framed.FramedConnection$2 extends com.squareup.okhttp.internal.NamedRunnable {
final int val$streamId
final long val$unacknowledgedBytesRead
final com.squareup.okhttp.internal.framed.FramedConnection this$0
transient void (com.squareup.okhttp.internal.framed.FramedConnection, java.lang.String, java.lang.Object[], int, long)
com.squareup.okhttp.internal.framed.FramedConnection this$0
String format
Object[] args
public void execute ()
}
com/squareup/okhttp/internal/framed/FramedConnection$3.classFramedConnection.java
package com.squareup.okhttp.internal.framed
com.squareup.okhttp.internal.framed.FramedConnection$3 extends com.squareup.okhttp.internal.NamedRunnable {
final boolean val$reply
final int val$payload1
final int val$payload2
final com.squareup.okhttp.internal.framed.Ping val$ping
final com.squareup.okhttp.internal.framed.FramedConnection this$0
transient void (com.squareup.okhttp.internal.framed.FramedConnection, java.lang.String, java.lang.Object[], boolean, int, int, com.squareup.okhttp.internal.framed.Ping)
com.squareup.okhttp.internal.framed.FramedConnection this$0
String format
Object[] args
public void execute ()
}
com/squareup/okhttp/internal/framed/FramedConnection$4.classFramedConnection.java
package com.squareup.okhttp.internal.framed
com.squareup.okhttp.internal.framed.FramedConnection$4 extends com.squareup.okhttp.internal.NamedRunnable {
final int val$streamId
final java.util.List val$requestHeaders
final com.squareup.okhttp.internal.framed.FramedConnection this$0
transient void (com.squareup.okhttp.internal.framed.FramedConnection, java.lang.String, java.lang.Object[], int, java.util.List)
com.squareup.okhttp.internal.framed.FramedConnection this$0
String format
Object[] args
public void execute ()
boolean cancel
}
com/squareup/okhttp/internal/framed/FramedConnection$5.classFramedConnection.java
package com.squareup.okhttp.internal.framed
com.squareup.okhttp.internal.framed.FramedConnection$5 extends com.squareup.okhttp.internal.NamedRunnable {
final int val$streamId
final java.util.List val$requestHeaders
final boolean val$inFinished
final com.squareup.okhttp.internal.framed.FramedConnection this$0
transient void (com.squareup.okhttp.internal.framed.FramedConnection, java.lang.String, java.lang.Object[], int, java.util.List, boolean)
com.squareup.okhttp.internal.framed.FramedConnection this$0
String format
Object[] args
public void execute ()
boolean cancel
}
com/squareup/okhttp/internal/framed/FramedConnection$6.classFramedConnection.java
package com.squareup.okhttp.internal.framed
com.squareup.okhttp.internal.framed.FramedConnection$6 extends com.squareup.okhttp.internal.NamedRunnable {
final int val$streamId
final okio.Buffer val$buffer
final int val$byteCount
final boolean val$inFinished
final com.squareup.okhttp.internal.framed.FramedConnection this$0
transient void (com.squareup.okhttp.internal.framed.FramedConnection, java.lang.String, java.lang.Object[], int, okio.Buffer, int, boolean)
com.squareup.okhttp.internal.framed.FramedConnection this$0
String format
Object[] args
public void execute ()
boolean cancel
}
com/squareup/okhttp/internal/framed/FramedConnection$7.classFramedConnection.java
package com.squareup.okhttp.internal.framed
com.squareup.okhttp.internal.framed.FramedConnection$7 extends com.squareup.okhttp.internal.NamedRunnable {
final int val$streamId
final com.squareup.okhttp.internal.framed.ErrorCode val$errorCode
final com.squareup.okhttp.internal.framed.FramedConnection this$0
transient void (com.squareup.okhttp.internal.framed.FramedConnection, java.lang.String, java.lang.Object[], int, com.squareup.okhttp.internal.framed.ErrorCode)
com.squareup.okhttp.internal.framed.FramedConnection this$0
String format
Object[] args
public void execute ()
}
com/squareup/okhttp/internal/framed/FramedConnection$Builder.classFramedConnection.java
package com.squareup.okhttp.internal.framed
public com.squareup.okhttp.internal.framed.FramedConnection$Builder extends java.lang.Object {
private String hostName
private java.net.Socket socket
private com.squareup.okhttp.internal.framed.IncomingStreamHandler handler
private com.squareup.okhttp.Protocol protocol
private com.squareup.okhttp.internal.framed.PushObserver pushObserver
private boolean client
public void (boolean, java.net.Socket) throws java.io.IOException
boolean client
java.net.Socket socket
public void (java.lang.String, boolean, java.net.Socket) throws java.io.IOException
String hostName
boolean client
java.net.Socket socket
public com.squareup.okhttp.internal.framed.FramedConnection$Builder handler (com.squareup.okhttp.internal.framed.IncomingStreamHandler)
com.squareup.okhttp.internal.framed.IncomingStreamHandler handler
public com.squareup.okhttp.internal.framed.FramedConnection$Builder protocol (com.squareup.okhttp.Protocol)
com.squareup.okhttp.Protocol protocol
public com.squareup.okhttp.internal.framed.FramedConnection$Builder pushObserver (com.squareup.okhttp.internal.framed.PushObserver)
com.squareup.okhttp.internal.framed.PushObserver pushObserver
public com.squareup.okhttp.internal.framed.FramedConnection build () throws java.io.IOException
static com.squareup.okhttp.Protocol access$000 (com.squareup.okhttp.internal.framed.FramedConnection$Builder)
com.squareup.okhttp.internal.framed.FramedConnection$Builder x0
static com.squareup.okhttp.internal.framed.PushObserver access$100 (com.squareup.okhttp.internal.framed.FramedConnection$Builder)
com.squareup.okhttp.internal.framed.FramedConnection$Builder x0
static boolean access$200 (com.squareup.okhttp.internal.framed.FramedConnection$Builder)
com.squareup.okhttp.internal.framed.FramedConnection$Builder x0
static com.squareup.okhttp.internal.framed.IncomingStreamHandler access$300 (com.squareup.okhttp.internal.framed.FramedConnection$Builder)
com.squareup.okhttp.internal.framed.FramedConnection$Builder x0
static java.lang.String access$400 (com.squareup.okhttp.internal.framed.FramedConnection$Builder)
com.squareup.okhttp.internal.framed.FramedConnection$Builder x0
static java.net.Socket access$500 (com.squareup.okhttp.internal.framed.FramedConnection$Builder)
com.squareup.okhttp.internal.framed.FramedConnection$Builder x0
}
com/squareup/okhttp/internal/framed/FramedConnection$Reader$1.classFramedConnection.java
package com.squareup.okhttp.internal.framed
com.squareup.okhttp.internal.framed.FramedConnection$Reader$1 extends com.squareup.okhttp.internal.NamedRunnable {
final com.squareup.okhttp.internal.framed.FramedStream val$newStream
final com.squareup.okhttp.internal.framed.FramedConnection$Reader this$1
transient void (com.squareup.okhttp.internal.framed.FramedConnection$Reader, java.lang.String, java.lang.Object[], com.squareup.okhttp.internal.framed.FramedStream)
com.squareup.okhttp.internal.framed.FramedConnection$Reader this$1
String format
Object[] args
public void execute ()
java.io.IOException e
}
com/squareup/okhttp/internal/framed/FramedConnection$Reader$2.classFramedConnection.java
package com.squareup.okhttp.internal.framed
com.squareup.okhttp.internal.framed.FramedConnection$Reader$2 extends com.squareup.okhttp.internal.NamedRunnable {
final com.squareup.okhttp.internal.framed.Settings val$peerSettings
final com.squareup.okhttp.internal.framed.FramedConnection$Reader this$1
transient void (com.squareup.okhttp.internal.framed.FramedConnection$Reader, java.lang.String, java.lang.Object[], com.squareup.okhttp.internal.framed.Settings)
com.squareup.okhttp.internal.framed.FramedConnection$Reader this$1
String format
Object[] args
public void execute ()
}
com/squareup/okhttp/internal/framed/FramedConnection$Reader.classFramedConnection.java
package com.squareup.okhttp.internal.framed
com.squareup.okhttp.internal.framed.FramedConnection$Reader extends com.squareup.okhttp.internal.NamedRunnable implements com.squareup.okhttp.internal.framed.FrameReader$Handler {
com.squareup.okhttp.internal.framed.FrameReader frameReader
final com.squareup.okhttp.internal.framed.FramedConnection this$0
private void (com.squareup.okhttp.internal.framed.FramedConnection)
com.squareup.okhttp.internal.framed.FramedConnection this$0
protected void execute ()
java.io.IOException e
com.squareup.okhttp.internal.framed.ErrorCode connectionErrorCode
com.squareup.okhttp.internal.framed.ErrorCode streamErrorCode
public void data (boolean, int, okio.BufferedSource, int) throws java.io.IOException
boolean inFinished
int streamId
okio.BufferedSource source
int length
com.squareup.okhttp.internal.framed.FramedStream dataStream
public void headers (boolean, boolean, int, int, java.util.List, com.squareup.okhttp.internal.framed.HeadersMode)
com.squareup.okhttp.internal.framed.FramedStream newStream
boolean outFinished
boolean inFinished
int streamId
int associatedStreamId
java.util.List headerBlock
com.squareup.okhttp.internal.framed.HeadersMode headersMode
com.squareup.okhttp.internal.framed.FramedStream stream
public void rstStream (int, com.squareup.okhttp.internal.framed.ErrorCode)
int streamId
com.squareup.okhttp.internal.framed.ErrorCode errorCode
com.squareup.okhttp.internal.framed.FramedStream rstStream
public void settings (boolean, com.squareup.okhttp.internal.framed.Settings)
int priorWriteWindowSize
int peerInitialWindowSize
com.squareup.okhttp.internal.framed.FramedStream stream
boolean clearPrevious
com.squareup.okhttp.internal.framed.Settings newSettings
long delta
com.squareup.okhttp.internal.framed.FramedStream[] streamsToNotify
private void ackSettingsLater (com.squareup.okhttp.internal.framed.Settings)
com.squareup.okhttp.internal.framed.Settings peerSettings
public void ackSettings ()
public void ping (boolean, int, int)
com.squareup.okhttp.internal.framed.Ping ping
boolean reply
int payload1
int payload2
public void goAway (int, com.squareup.okhttp.internal.framed.ErrorCode, okio.ByteString)
com.squareup.okhttp.internal.framed.FramedStream framedStream
int lastGoodStreamId
com.squareup.okhttp.internal.framed.ErrorCode errorCode
okio.ByteString debugData
com.squareup.okhttp.internal.framed.FramedStream[] streamsCopy
public void windowUpdate (int, long)
com.squareup.okhttp.internal.framed.FramedStream stream
int streamId
long windowSizeIncrement
public void priority (int, int, int, boolean)
int streamId
int streamDependency
int weight
boolean exclusive
public void pushPromise (int, int, java.util.List)
int streamId
int promisedStreamId
java.util.List requestHeaders
public void alternateService (int, java.lang.String, okio.ByteString, java.lang.String, int, long)
int streamId
String origin
okio.ByteString protocol
String host
int port
long maxAge
void (com.squareup.okhttp.internal.framed.FramedConnection, com.squareup.okhttp.internal.framed.FramedConnection$1)
com.squareup.okhttp.internal.framed.FramedConnection x0
com.squareup.okhttp.internal.framed.FramedConnection$1 x1
}
com/squareup/okhttp/internal/framed/FramedConnection.classFramedConnection.java
package com.squareup.okhttp.internal.framed
public final com.squareup.okhttp.internal.framed.FramedConnection extends java.lang.Object implements java.io.Closeable {
private static final java.util.concurrent.ExecutorService executor
final com.squareup.okhttp.Protocol protocol
final boolean client
private final com.squareup.okhttp.internal.framed.IncomingStreamHandler handler
private final java.util.Map streams
private final String hostName
private int lastGoodStreamId
private int nextStreamId
private boolean shutdown
private long idleStartTimeNs
private final java.util.concurrent.ExecutorService pushExecutor
private java.util.Map pings
private final com.squareup.okhttp.internal.framed.PushObserver pushObserver
private int nextPingId
long unacknowledgedBytesRead
long bytesLeftInWriteWindow
final com.squareup.okhttp.internal.framed.Settings okHttpSettings
private static final int OKHTTP_CLIENT_WINDOW_SIZE
final com.squareup.okhttp.internal.framed.Settings peerSettings
private boolean receivedInitialPeerSettings
final com.squareup.okhttp.internal.framed.Variant variant
final java.net.Socket socket
final com.squareup.okhttp.internal.framed.FrameWriter frameWriter
final com.squareup.okhttp.internal.framed.FramedConnection$Reader readerRunnable
private final java.util.Set currentPushRequests
static final boolean $assertionsDisabled
private void (com.squareup.okhttp.internal.framed.FramedConnection$Builder) throws java.io.IOException
com.squareup.okhttp.internal.framed.FramedConnection$Builder builder
public com.squareup.okhttp.Protocol getProtocol ()
public synchronized int openStreamCount ()
synchronized com.squareup.okhttp.internal.framed.FramedStream getStream (int)
int id
synchronized com.squareup.okhttp.internal.framed.FramedStream removeStream (int)
int streamId
com.squareup.okhttp.internal.framed.FramedStream stream
private synchronized void setIdle (boolean)
boolean value
public synchronized boolean isIdle ()
public synchronized long getIdleStartTimeNs ()
public com.squareup.okhttp.internal.framed.FramedStream pushStream (int, java.util.List, boolean) throws java.io.IOException
int associatedStreamId
java.util.List requestHeaders
boolean out
public com.squareup.okhttp.internal.framed.FramedStream newStream (java.util.List, boolean, boolean) throws java.io.IOException
java.util.List requestHeaders
boolean out
boolean in
private com.squareup.okhttp.internal.framed.FramedStream newStream (int, java.util.List, boolean, boolean) throws java.io.IOException
int associatedStreamId
java.util.List requestHeaders
boolean out
boolean in
boolean outFinished
boolean inFinished
com.squareup.okhttp.internal.framed.FramedStream stream
int streamId
void writeSynReply (int, boolean, java.util.List) throws java.io.IOException
int streamId
boolean outFinished
java.util.List alternating
public void writeData (int, boolean, okio.Buffer, long) throws java.io.IOException
InterruptedException e
int toWrite
int streamId
boolean outFinished
okio.Buffer buffer
long byteCount
void addBytesToWriteWindow (long)
long delta
void writeSynResetLater (int, com.squareup.okhttp.internal.framed.ErrorCode)
int streamId
com.squareup.okhttp.internal.framed.ErrorCode errorCode
void writeSynReset (int, com.squareup.okhttp.internal.framed.ErrorCode) throws java.io.IOException
int streamId
com.squareup.okhttp.internal.framed.ErrorCode statusCode
void writeWindowUpdateLater (int, long)
int streamId
long unacknowledgedBytesRead
public com.squareup.okhttp.internal.framed.Ping ping () throws java.io.IOException
com.squareup.okhttp.internal.framed.Ping ping
int pingId
private void writePingLater (boolean, int, int, com.squareup.okhttp.internal.framed.Ping)
boolean reply
int payload1
int payload2
com.squareup.okhttp.internal.framed.Ping ping
private void writePing (boolean, int, int, com.squareup.okhttp.internal.framed.Ping) throws java.io.IOException
boolean reply
int payload1
int payload2
com.squareup.okhttp.internal.framed.Ping ping
private synchronized com.squareup.okhttp.internal.framed.Ping removePing (int)
int id
public void flush () throws java.io.IOException
public void shutdown (com.squareup.okhttp.internal.framed.ErrorCode) throws java.io.IOException
int lastGoodStreamId
com.squareup.okhttp.internal.framed.ErrorCode statusCode
public void close () throws java.io.IOException
private void close (com.squareup.okhttp.internal.framed.ErrorCode, com.squareup.okhttp.internal.framed.ErrorCode) throws java.io.IOException
java.io.IOException e
java.io.IOException e
com.squareup.okhttp.internal.framed.FramedStream stream
com.squareup.okhttp.internal.framed.Ping ping
java.io.IOException e
java.io.IOException e
com.squareup.okhttp.internal.framed.ErrorCode connectionCode
com.squareup.okhttp.internal.framed.ErrorCode streamCode
java.io.IOException thrown
com.squareup.okhttp.internal.framed.FramedStream[] streamsToClose
com.squareup.okhttp.internal.framed.Ping[] pingsToCancel
public void sendConnectionPreface () throws java.io.IOException
int windowSize
private boolean pushedStream (int)
int streamId
private void pushRequestLater (int, java.util.List)
int streamId
java.util.List requestHeaders
private void pushHeadersLater (int, java.util.List, boolean)
int streamId
java.util.List requestHeaders
boolean inFinished
private void pushDataLater (int, okio.BufferedSource, int, boolean) throws java.io.IOException
int streamId
okio.BufferedSource source
int byteCount
boolean inFinished
okio.Buffer buffer
private void pushResetLater (int, com.squareup.okhttp.internal.framed.ErrorCode)
int streamId
com.squareup.okhttp.internal.framed.ErrorCode errorCode
static void access$700 (com.squareup.okhttp.internal.framed.FramedConnection, boolean, int, int, com.squareup.okhttp.internal.framed.Ping) throws java.io.IOException
com.squareup.okhttp.internal.framed.FramedConnection x0
boolean x1
int x2
int x3
com.squareup.okhttp.internal.framed.Ping x4
void (com.squareup.okhttp.internal.framed.FramedConnection$Builder, com.squareup.okhttp.internal.framed.FramedConnection$1) throws java.io.IOException
com.squareup.okhttp.internal.framed.FramedConnection$Builder x0
com.squareup.okhttp.internal.framed.FramedConnection$1 x1
static java.lang.String access$900 (com.squareup.okhttp.internal.framed.FramedConnection)
com.squareup.okhttp.internal.framed.FramedConnection x0
static void access$1000 (com.squareup.okhttp.internal.framed.FramedConnection, com.squareup.okhttp.internal.framed.ErrorCode, com.squareup.okhttp.internal.framed.ErrorCode) throws java.io.IOException
com.squareup.okhttp.internal.framed.FramedConnection x0
com.squareup.okhttp.internal.framed.ErrorCode x1
com.squareup.okhttp.internal.framed.ErrorCode x2
static boolean access$1100 (com.squareup.okhttp.internal.framed.FramedConnection, int)
com.squareup.okhttp.internal.framed.FramedConnection x0
int x1
static void access$1200 (com.squareup.okhttp.internal.framed.FramedConnection, int, okio.BufferedSource, int, boolean) throws java.io.IOException
com.squareup.okhttp.internal.framed.FramedConnection x0
int x1
okio.BufferedSource x2
int x3
boolean x4
static void access$1300 (com.squareup.okhttp.internal.framed.FramedConnection, int, java.util.List, boolean)
com.squareup.okhttp.internal.framed.FramedConnection x0
int x1
java.util.List x2
boolean x3
static boolean access$1400 (com.squareup.okhttp.internal.framed.FramedConnection)
com.squareup.okhttp.internal.framed.FramedConnection x0
static int access$1500 (com.squareup.okhttp.internal.framed.FramedConnection)
com.squareup.okhttp.internal.framed.FramedConnection x0
static int access$1600 (com.squareup.okhttp.internal.framed.FramedConnection)
com.squareup.okhttp.internal.framed.FramedConnection x0
static int access$1502 (com.squareup.okhttp.internal.framed.FramedConnection, int)
com.squareup.okhttp.internal.framed.FramedConnection x0
int x1
static java.util.Map access$1700 (com.squareup.okhttp.internal.framed.FramedConnection)
com.squareup.okhttp.internal.framed.FramedConnection x0
static com.squareup.okhttp.internal.framed.IncomingStreamHandler access$1800 (com.squareup.okhttp.internal.framed.FramedConnection)
com.squareup.okhttp.internal.framed.FramedConnection x0
static java.util.concurrent.ExecutorService access$1900 ()
static void access$2000 (com.squareup.okhttp.internal.framed.FramedConnection, int, com.squareup.okhttp.internal.framed.ErrorCode)
com.squareup.okhttp.internal.framed.FramedConnection x0
int x1
com.squareup.okhttp.internal.framed.ErrorCode x2
static boolean access$2100 (com.squareup.okhttp.internal.framed.FramedConnection)
com.squareup.okhttp.internal.framed.FramedConnection x0
static boolean access$2102 (com.squareup.okhttp.internal.framed.FramedConnection, boolean)
com.squareup.okhttp.internal.framed.FramedConnection x0
boolean x1
static com.squareup.okhttp.internal.framed.Ping access$2200 (com.squareup.okhttp.internal.framed.FramedConnection, int)
com.squareup.okhttp.internal.framed.FramedConnection x0
int x1
static void access$2300 (com.squareup.okhttp.internal.framed.FramedConnection, boolean, int, int, com.squareup.okhttp.internal.framed.Ping)
com.squareup.okhttp.internal.framed.FramedConnection x0
boolean x1
int x2
int x3
com.squareup.okhttp.internal.framed.Ping x4
static boolean access$1402 (com.squareup.okhttp.internal.framed.FramedConnection, boolean)
com.squareup.okhttp.internal.framed.FramedConnection x0
boolean x1
static void access$2400 (com.squareup.okhttp.internal.framed.FramedConnection, int, java.util.List)
com.squareup.okhttp.internal.framed.FramedConnection x0
int x1
java.util.List x2
static com.squareup.okhttp.internal.framed.PushObserver access$2500 (com.squareup.okhttp.internal.framed.FramedConnection)
com.squareup.okhttp.internal.framed.FramedConnection x0
static java.util.Set access$2600 (com.squareup.okhttp.internal.framed.FramedConnection)
com.squareup.okhttp.internal.framed.FramedConnection x0
static void ()
}
com/squareup/okhttp/internal/framed/FramedStream$1.classFramedStream.java
package com.squareup.okhttp.internal.framed
com.squareup.okhttp.internal.framed.FramedStream$1 extends java.lang.Object {
}
com/squareup/okhttp/internal/framed/FramedStream$FramedDataSink.classFramedStream.java
package com.squareup.okhttp.internal.framed
final com.squareup.okhttp.internal.framed.FramedStream$FramedDataSink extends java.lang.Object implements okio.Sink {
private static final long EMIT_BUFFER_SIZE
private final okio.Buffer sendBuffer
private boolean closed
private boolean finished
static final boolean $assertionsDisabled
final com.squareup.okhttp.internal.framed.FramedStream this$0
void (com.squareup.okhttp.internal.framed.FramedStream)
com.squareup.okhttp.internal.framed.FramedStream this$0
public void write (okio.Buffer, long) throws java.io.IOException
okio.Buffer source
long byteCount
private void emitDataFrame (boolean) throws java.io.IOException
boolean outFinished
long toWrite
public void flush () throws java.io.IOException
public okio.Timeout timeout ()
public void close () throws java.io.IOException
static boolean access$202 (com.squareup.okhttp.internal.framed.FramedStream$FramedDataSink, boolean)
com.squareup.okhttp.internal.framed.FramedStream$FramedDataSink x0
boolean x1
static boolean access$200 (com.squareup.okhttp.internal.framed.FramedStream$FramedDataSink)
com.squareup.okhttp.internal.framed.FramedStream$FramedDataSink x0
static boolean access$400 (com.squareup.okhttp.internal.framed.FramedStream$FramedDataSink)
com.squareup.okhttp.internal.framed.FramedStream$FramedDataSink x0
static void ()
}
com/squareup/okhttp/internal/framed/FramedStream$FramedDataSource.classFramedStream.java
package com.squareup.okhttp.internal.framed
final com.squareup.okhttp.internal.framed.FramedStream$FramedDataSource extends java.lang.Object implements okio.Source {
private final okio.Buffer receiveBuffer
private final okio.Buffer readBuffer
private final long maxByteCount
private boolean closed
private boolean finished
static final boolean $assertionsDisabled
final com.squareup.okhttp.internal.framed.FramedStream this$0
private void (com.squareup.okhttp.internal.framed.FramedStream, long)
long maxByteCount
public long read (okio.Buffer, long) throws java.io.IOException
okio.Buffer sink
long byteCount
long read
private void waitUntilReadable () throws java.io.IOException
void receive (okio.BufferedSource, long) throws java.io.IOException
boolean wasEmpty
boolean finished
boolean flowControlError
long read
okio.BufferedSource in
long byteCount
public okio.Timeout timeout ()
public void close () throws java.io.IOException
private void checkNotClosed () throws java.io.IOException
void (com.squareup.okhttp.internal.framed.FramedStream, long, com.squareup.okhttp.internal.framed.FramedStream$1)
com.squareup.okhttp.internal.framed.FramedStream x0
long x1
com.squareup.okhttp.internal.framed.FramedStream$1 x2
static boolean access$102 (com.squareup.okhttp.internal.framed.FramedStream$FramedDataSource, boolean)
com.squareup.okhttp.internal.framed.FramedStream$FramedDataSource x0
boolean x1
static boolean access$100 (com.squareup.okhttp.internal.framed.FramedStream$FramedDataSource)
com.squareup.okhttp.internal.framed.FramedStream$FramedDataSource x0
static boolean access$300 (com.squareup.okhttp.internal.framed.FramedStream$FramedDataSource)
com.squareup.okhttp.internal.framed.FramedStream$FramedDataSource x0
static void ()
}
com/squareup/okhttp/internal/framed/FramedStream$StreamTimeout.classFramedStream.java
package com.squareup.okhttp.internal.framed
com.squareup.okhttp.internal.framed.FramedStream$StreamTimeout extends okio.AsyncTimeout {
final com.squareup.okhttp.internal.framed.FramedStream this$0
void (com.squareup.okhttp.internal.framed.FramedStream)
com.squareup.okhttp.internal.framed.FramedStream this$0
protected void timedOut ()
protected java.io.IOException newTimeoutException (java.io.IOException)
java.io.IOException cause
java.net.SocketTimeoutException socketTimeoutException
public void exitAndThrowIfTimedOut () throws java.io.IOException
}
com/squareup/okhttp/internal/framed/FramedStream.classFramedStream.java
package com.squareup.okhttp.internal.framed
public final com.squareup.okhttp.internal.framed.FramedStream extends java.lang.Object {
long unacknowledgedBytesRead
long bytesLeftInWriteWindow
private final int id
private final com.squareup.okhttp.internal.framed.FramedConnection connection
private final java.util.List requestHeaders
private java.util.List responseHeaders
private final com.squareup.okhttp.internal.framed.FramedStream$FramedDataSource source
final com.squareup.okhttp.internal.framed.FramedStream$FramedDataSink sink
private final com.squareup.okhttp.internal.framed.FramedStream$StreamTimeout readTimeout
private final com.squareup.okhttp.internal.framed.FramedStream$StreamTimeout writeTimeout
private com.squareup.okhttp.internal.framed.ErrorCode errorCode
static final boolean $assertionsDisabled
void (int, com.squareup.okhttp.internal.framed.FramedConnection, boolean, boolean, java.util.List)
int id
com.squareup.okhttp.internal.framed.FramedConnection connection
boolean outFinished
boolean inFinished
java.util.List requestHeaders
public int getId ()
public synchronized boolean isOpen ()
public boolean isLocallyInitiated ()
boolean streamIsClient
public com.squareup.okhttp.internal.framed.FramedConnection getConnection ()
public java.util.List getRequestHeaders ()
public synchronized java.util.List getResponseHeaders () throws java.io.IOException
public synchronized com.squareup.okhttp.internal.framed.ErrorCode getErrorCode ()
public void reply (java.util.List, boolean) throws java.io.IOException
java.util.List responseHeaders
boolean out
boolean outFinished
public okio.Timeout readTimeout ()
public okio.Timeout writeTimeout ()
public okio.Source getSource ()
public okio.Sink getSink ()
public void close (com.squareup.okhttp.internal.framed.ErrorCode) throws java.io.IOException
com.squareup.okhttp.internal.framed.ErrorCode rstStatusCode
public void closeLater (com.squareup.okhttp.internal.framed.ErrorCode)
com.squareup.okhttp.internal.framed.ErrorCode errorCode
private boolean closeInternal (com.squareup.okhttp.internal.framed.ErrorCode)
com.squareup.okhttp.internal.framed.ErrorCode errorCode
void receiveHeaders (java.util.List, com.squareup.okhttp.internal.framed.HeadersMode)
java.util.List newHeaders
java.util.List headers
com.squareup.okhttp.internal.framed.HeadersMode headersMode
com.squareup.okhttp.internal.framed.ErrorCode errorCode
boolean open
void receiveData (okio.BufferedSource, int) throws java.io.IOException
okio.BufferedSource in
int length
void receiveFin ()
boolean open
synchronized void receiveRstStream (com.squareup.okhttp.internal.framed.ErrorCode)
com.squareup.okhttp.internal.framed.ErrorCode errorCode
private void cancelStreamIfNecessary () throws java.io.IOException
boolean open
boolean cancel
void addBytesToWriteWindow (long)
long delta
private void checkOutNotClosed () throws java.io.IOException
private void waitForIo () throws java.io.InterruptedIOException
InterruptedException e
static com.squareup.okhttp.internal.framed.FramedConnection access$500 (com.squareup.okhttp.internal.framed.FramedStream)
com.squareup.okhttp.internal.framed.FramedStream x0
static int access$600 (com.squareup.okhttp.internal.framed.FramedStream)
com.squareup.okhttp.internal.framed.FramedStream x0
static com.squareup.okhttp.internal.framed.FramedStream$StreamTimeout access$700 (com.squareup.okhttp.internal.framed.FramedStream)
com.squareup.okhttp.internal.framed.FramedStream x0
static com.squareup.okhttp.internal.framed.ErrorCode access$800 (com.squareup.okhttp.internal.framed.FramedStream)
com.squareup.okhttp.internal.framed.FramedStream x0
static void access$900 (com.squareup.okhttp.internal.framed.FramedStream) throws java.io.InterruptedIOException
com.squareup.okhttp.internal.framed.FramedStream x0
static void access$1000 (com.squareup.okhttp.internal.framed.FramedStream) throws java.io.IOException
com.squareup.okhttp.internal.framed.FramedStream x0
static com.squareup.okhttp.internal.framed.FramedStream$StreamTimeout access$1100 (com.squareup.okhttp.internal.framed.FramedStream)
com.squareup.okhttp.internal.framed.FramedStream x0
static void access$1200 (com.squareup.okhttp.internal.framed.FramedStream) throws java.io.IOException
com.squareup.okhttp.internal.framed.FramedStream x0
static void ()
}
com/squareup/okhttp/internal/framed/FrameReader$Handler.classFrameReader.java
package com.squareup.okhttp.internal.framed
public abstract com.squareup.okhttp.internal.framed.FrameReader$Handler extends java.lang.Object {
public abstract void data (boolean, int, okio.BufferedSource, int) throws java.io.IOException
public abstract void headers (boolean, boolean, int, int, java.util.List, com.squareup.okhttp.internal.framed.HeadersMode)
public abstract void rstStream (int, com.squareup.okhttp.internal.framed.ErrorCode)
public abstract void settings (boolean, com.squareup.okhttp.internal.framed.Settings)
public abstract void ackSettings ()
public abstract void ping (boolean, int, int)
public abstract void goAway (int, com.squareup.okhttp.internal.framed.ErrorCode, okio.ByteString)
public abstract void windowUpdate (int, long)
public abstract void priority (int, int, int, boolean)
public abstract void pushPromise (int, int, java.util.List) throws java.io.IOException
public abstract void alternateService (int, java.lang.String, okio.ByteString, java.lang.String, int, long)
}
com/squareup/okhttp/internal/framed/FrameReader.classFrameReader.java
package com.squareup.okhttp.internal.framed
public abstract com.squareup.okhttp.internal.framed.FrameReader extends java.lang.Object implements java.io.Closeable {
public abstract void readConnectionPreface () throws java.io.IOException
public abstract boolean nextFrame (com.squareup.okhttp.internal.framed.FrameReader$Handler) throws java.io.IOException
}
com/squareup/okhttp/internal/framed/FrameWriter.classFrameWriter.java
package com.squareup.okhttp.internal.framed
public abstract com.squareup.okhttp.internal.framed.FrameWriter extends java.lang.Object implements java.io.Closeable {
public abstract void connectionPreface () throws java.io.IOException
public abstract void ackSettings (com.squareup.okhttp.internal.framed.Settings) throws java.io.IOException
public abstract void pushPromise (int, int, java.util.List) throws java.io.IOException
public abstract void flush () throws java.io.IOException
public abstract void synStream (boolean, boolean, int, int, java.util.List) throws java.io.IOException
public abstract void synReply (boolean, int, java.util.List) throws java.io.IOException
public abstract void headers (int, java.util.List) throws java.io.IOException
public abstract void rstStream (int, com.squareup.okhttp.internal.framed.ErrorCode) throws java.io.IOException
public abstract int maxDataLength ()
public abstract void data (boolean, int, okio.Buffer, int) throws java.io.IOException
public abstract void settings (com.squareup.okhttp.internal.framed.Settings) throws java.io.IOException
public abstract void ping (boolean, int, int) throws java.io.IOException
public abstract void goAway (int, com.squareup.okhttp.internal.framed.ErrorCode, byte[]) throws java.io.IOException
public abstract void windowUpdate (int, long) throws java.io.IOException
}
com/squareup/okhttp/internal/framed/Header.classHeader.java
package com.squareup.okhttp.internal.framed
public final com.squareup.okhttp.internal.framed.Header extends java.lang.Object {
public static final okio.ByteString RESPONSE_STATUS
public static final okio.ByteString TARGET_METHOD
public static final okio.ByteString TARGET_PATH
public static final okio.ByteString TARGET_SCHEME
public static final okio.ByteString TARGET_AUTHORITY
public static final okio.ByteString TARGET_HOST
public static final okio.ByteString VERSION
public final okio.ByteString name
public final okio.ByteString value
final int hpackSize
public void (java.lang.String, java.lang.String)
String name
String value
public void (okio.ByteString, java.lang.String)
okio.ByteString name
String value
public void (okio.ByteString, okio.ByteString)
okio.ByteString name
okio.ByteString value
public boolean equals (java.lang.Object)
com.squareup.okhttp.internal.framed.Header that
Object other
public int hashCode ()
int result
public java.lang.String toString ()
static void ()
}
com/squareup/okhttp/internal/framed/HeadersMode.classHeadersMode.java
package com.squareup.okhttp.internal.framed
public final com.squareup.okhttp.internal.framed.HeadersMode extends java.lang.Enum {
public static final com.squareup.okhttp.internal.framed.HeadersMode SPDY_SYN_STREAM
public static final com.squareup.okhttp.internal.framed.HeadersMode SPDY_REPLY
public static final com.squareup.okhttp.internal.framed.HeadersMode SPDY_HEADERS
public static final com.squareup.okhttp.internal.framed.HeadersMode HTTP_20_HEADERS
private static final com.squareup.okhttp.internal.framed.HeadersMode[] $VALUES
public static com.squareup.okhttp.internal.framed.HeadersMode[] values ()
public static com.squareup.okhttp.internal.framed.HeadersMode valueOf (java.lang.String)
String name
private void (java.lang.String, int)
public boolean failIfStreamAbsent ()
public boolean failIfStreamPresent ()
public boolean failIfHeadersAbsent ()
public boolean failIfHeadersPresent ()
static void ()
}
com/squareup/okhttp/internal/framed/Hpack$Reader.classHpack.java
package com.squareup.okhttp.internal.framed
final com.squareup.okhttp.internal.framed.Hpack$Reader extends java.lang.Object {
private final java.util.List headerList
private final okio.BufferedSource source
private int headerTableSizeSetting
private int maxDynamicTableByteCount
com.squareup.okhttp.internal.framed.Header[] dynamicTable
int nextHeaderIndex
int headerCount
int dynamicTableByteCount
void (int, okio.Source)
int headerTableSizeSetting
okio.Source source
int maxDynamicTableByteCount ()
void headerTableSizeSetting (int)
int headerTableSizeSetting
private void adjustDynamicTableByteCount ()
private void clearDynamicTable ()
private int evictToRecoverBytes (int)
int j
int bytesToRecover
int entriesToEvict
void readHeaders () throws java.io.IOException
int index
int index
int index
int b
public java.util.List getAndResetHeaderList ()
java.util.List result
private void readIndexedHeader (int) throws java.io.IOException
com.squareup.okhttp.internal.framed.Header staticEntry
int dynamicTableIndex
int index
private int dynamicTableIndex (int)
int index
private void readLiteralHeaderWithoutIndexingIndexedName (int) throws java.io.IOException
int index
okio.ByteString name
okio.ByteString value
private void readLiteralHeaderWithoutIndexingNewName () throws java.io.IOException
okio.ByteString name
okio.ByteString value
private void readLiteralHeaderWithIncrementalIndexingIndexedName (int) throws java.io.IOException
int nameIndex
okio.ByteString name
okio.ByteString value
private void readLiteralHeaderWithIncrementalIndexingNewName () throws java.io.IOException
okio.ByteString name
okio.ByteString value
private okio.ByteString getName (int)
int index
private boolean isStaticHeader (int)
int index
private void insertIntoDynamicTable (int, com.squareup.okhttp.internal.framed.Header)
com.squareup.okhttp.internal.framed.Header[] doubled
int index
com.squareup.okhttp.internal.framed.Header entry
int delta
int bytesToRecover
int entriesEvicted
private int readByte () throws java.io.IOException
int readInt (int, int) throws java.io.IOException
int b
int firstByte
int prefixMask
int prefix
int result
int shift
okio.ByteString readByteString () throws java.io.IOException
int firstByte
boolean huffmanDecode
int length
}
com/squareup/okhttp/internal/framed/Hpack$Writer.classHpack.java
package com.squareup.okhttp.internal.framed
final com.squareup.okhttp.internal.framed.Hpack$Writer extends java.lang.Object {
private final okio.Buffer out
void (okio.Buffer)
okio.Buffer out
void writeHeaders (java.util.List) throws java.io.IOException
okio.ByteString name
Integer staticIndex
int i
int size
java.util.List headerBlock
void writeInt (int, int, int) throws java.io.IOException
int b
int value
int prefixMask
int bits
void writeByteString (okio.ByteString) throws java.io.IOException
okio.ByteString data
}
com/squareup/okhttp/internal/framed/Hpack.classHpack.java
package com.squareup.okhttp.internal.framed
final com.squareup.okhttp.internal.framed.Hpack extends java.lang.Object {
private static final int PREFIX_4_BITS
private static final int PREFIX_5_BITS
private static final int PREFIX_6_BITS
private static final int PREFIX_7_BITS
private static final com.squareup.okhttp.internal.framed.Header[] STATIC_HEADER_TABLE
private static final java.util.Map NAME_TO_FIRST_INDEX
private void ()
private static java.util.Map nameToFirstIndex ()
int i
java.util.Map result
private static okio.ByteString checkLowercase (okio.ByteString) throws java.io.IOException
byte c
int i
int length
okio.ByteString name
static com.squareup.okhttp.internal.framed.Header[] access$000 ()
static okio.ByteString access$100 (okio.ByteString) throws java.io.IOException
okio.ByteString x0
static java.util.Map access$200 ()
static void ()
}
com/squareup/okhttp/internal/framed/Http2$ContinuationSource.classHttp2.java
package com.squareup.okhttp.internal.framed
final com.squareup.okhttp.internal.framed.Http2$ContinuationSource extends java.lang.Object implements okio.Source {
private final okio.BufferedSource source
int length
byte flags
int streamId
int left
short padding
public void (okio.BufferedSource)
okio.BufferedSource source
public long read (okio.Buffer, long) throws java.io.IOException
okio.Buffer sink
long byteCount
long read
public okio.Timeout timeout ()
public void close () throws java.io.IOException
private void readContinuationHeader () throws java.io.IOException
int previousStreamId
byte type
}
com/squareup/okhttp/internal/framed/Http2$FrameLogger.classHttp2.java
package com.squareup.okhttp.internal.framed
final com.squareup.okhttp.internal.framed.Http2$FrameLogger extends java.lang.Object {
private static final String[] TYPES
private static final String[] FLAGS
private static final String[] BINARY
void ()
static java.lang.String formatHeader (boolean, int, int, byte, byte)
boolean inbound
int streamId
int length
byte type
byte flags
String formattedType
String formattedFlags
static java.lang.String formatFlags (byte, byte)
byte type
byte flags
String result
static void ()
int i
int prefixFlag
int prefixFlag
int frameFlag
int i
int[] prefixFlags
int[] frameFlags
}
com/squareup/okhttp/internal/framed/Http2$Reader.classHttp2.java
package com.squareup.okhttp.internal.framed
final com.squareup.okhttp.internal.framed.Http2$Reader extends java.lang.Object implements com.squareup.okhttp.internal.framed.FrameReader {
private final okio.BufferedSource source
private final com.squareup.okhttp.internal.framed.Http2$ContinuationSource continuation
private final boolean client
final com.squareup.okhttp.internal.framed.Hpack$Reader hpackReader
void (okio.BufferedSource, int, boolean)
okio.BufferedSource source
int headerTableSize
boolean client
public void readConnectionPreface () throws java.io.IOException
okio.ByteString connectionPreface
public boolean nextFrame (com.squareup.okhttp.internal.framed.FrameReader$Handler) throws java.io.IOException
java.io.IOException e
com.squareup.okhttp.internal.framed.FrameReader$Handler handler
int length
byte type
byte flags
int streamId
private void readHeaders (com.squareup.okhttp.internal.framed.FrameReader$Handler, int, byte, int) throws java.io.IOException
com.squareup.okhttp.internal.framed.FrameReader$Handler handler
int length
byte flags
int streamId
boolean endStream
short padding
java.util.List headerBlock
private java.util.List readHeaderBlock (int, short, byte, int) throws java.io.IOException
int length
short padding
byte flags
int streamId
private void readData (com.squareup.okhttp.internal.framed.FrameReader$Handler, int, byte, int) throws java.io.IOException
com.squareup.okhttp.internal.framed.FrameReader$Handler handler
int length
byte flags
int streamId
boolean inFinished
boolean gzipped
short padding
private void readPriority (com.squareup.okhttp.internal.framed.FrameReader$Handler, int, byte, int) throws java.io.IOException
com.squareup.okhttp.internal.framed.FrameReader$Handler handler
int length
byte flags
int streamId
private void readPriority (com.squareup.okhttp.internal.framed.FrameReader$Handler, int) throws java.io.IOException
com.squareup.okhttp.internal.framed.FrameReader$Handler handler
int streamId
int w1
boolean exclusive
int streamDependency
int weight
private void readRstStream (com.squareup.okhttp.internal.framed.FrameReader$Handler, int, byte, int) throws java.io.IOException
com.squareup.okhttp.internal.framed.FrameReader$Handler handler
int length
byte flags
int streamId
int errorCodeInt
com.squareup.okhttp.internal.framed.ErrorCode errorCode
private void readSettings (com.squareup.okhttp.internal.framed.FrameReader$Handler, int, byte, int) throws java.io.IOException
short id
int value
int i
com.squareup.okhttp.internal.framed.FrameReader$Handler handler
int length
byte flags
int streamId
com.squareup.okhttp.internal.framed.Settings settings
private void readPushPromise (com.squareup.okhttp.internal.framed.FrameReader$Handler, int, byte, int) throws java.io.IOException
com.squareup.okhttp.internal.framed.FrameReader$Handler handler
int length
byte flags
int streamId
short padding
int promisedStreamId
java.util.List headerBlock
private void readPing (com.squareup.okhttp.internal.framed.FrameReader$Handler, int, byte, int) throws java.io.IOException
com.squareup.okhttp.internal.framed.FrameReader$Handler handler
int length
byte flags
int streamId
int payload1
int payload2
boolean ack
private void readGoAway (com.squareup.okhttp.internal.framed.FrameReader$Handler, int, byte, int) throws java.io.IOException
com.squareup.okhttp.internal.framed.FrameReader$Handler handler
int length
byte flags
int streamId
int lastStreamId
int errorCodeInt
int opaqueDataLength
com.squareup.okhttp.internal.framed.ErrorCode errorCode
okio.ByteString debugData
private void readWindowUpdate (com.squareup.okhttp.internal.framed.FrameReader$Handler, int, byte, int) throws java.io.IOException
com.squareup.okhttp.internal.framed.FrameReader$Handler handler
int length
byte flags
int streamId
long increment
public void close () throws java.io.IOException
}
com/squareup/okhttp/internal/framed/Http2$Writer.classHttp2.java
package com.squareup.okhttp.internal.framed
final com.squareup.okhttp.internal.framed.Http2$Writer extends java.lang.Object implements com.squareup.okhttp.internal.framed.FrameWriter {
private final okio.BufferedSink sink
private final boolean client
private final okio.Buffer hpackBuffer
private final com.squareup.okhttp.internal.framed.Hpack$Writer hpackWriter
private int maxFrameSize
private boolean closed
void (okio.BufferedSink, boolean)
okio.BufferedSink sink
boolean client
public synchronized void flush () throws java.io.IOException
public synchronized void ackSettings (com.squareup.okhttp.internal.framed.Settings) throws java.io.IOException
com.squareup.okhttp.internal.framed.Settings peerSettings
int length
byte type
byte flags
int streamId
public synchronized void connectionPreface () throws java.io.IOException
public synchronized void synStream (boolean, boolean, int, int, java.util.List) throws java.io.IOException
boolean outFinished
boolean inFinished
int streamId
int associatedStreamId
java.util.List headerBlock
public synchronized void synReply (boolean, int, java.util.List) throws java.io.IOException
boolean outFinished
int streamId
java.util.List headerBlock
public synchronized void headers (int, java.util.List) throws java.io.IOException
int streamId
java.util.List headerBlock
public synchronized void pushPromise (int, int, java.util.List) throws java.io.IOException
int streamId
int promisedStreamId
java.util.List requestHeaders
long byteCount
int length
byte type
byte flags
void headers (boolean, int, java.util.List) throws java.io.IOException
boolean outFinished
int streamId
java.util.List headerBlock
long byteCount
int length
byte type
byte flags
private void writeContinuationFrames (int, long) throws java.io.IOException
int length
int streamId
long byteCount
public synchronized void rstStream (int, com.squareup.okhttp.internal.framed.ErrorCode) throws java.io.IOException
int streamId
com.squareup.okhttp.internal.framed.ErrorCode errorCode
int length
byte type
byte flags
public int maxDataLength ()
public synchronized void data (boolean, int, okio.Buffer, int) throws java.io.IOException
boolean outFinished
int streamId
okio.Buffer source
int byteCount
byte flags
void dataFrame (int, byte, okio.Buffer, int) throws java.io.IOException
int streamId
byte flags
okio.Buffer buffer
int byteCount
byte type
public synchronized void settings (com.squareup.okhttp.internal.framed.Settings) throws java.io.IOException
int id
int i
com.squareup.okhttp.internal.framed.Settings settings
int length
byte type
byte flags
int streamId
public synchronized void ping (boolean, int, int) throws java.io.IOException
boolean ack
int payload1
int payload2
int length
byte type
byte flags
int streamId
public synchronized void goAway (int, com.squareup.okhttp.internal.framed.ErrorCode, byte[]) throws java.io.IOException
int lastGoodStreamId
com.squareup.okhttp.internal.framed.ErrorCode errorCode
byte[] debugData
int length
byte type
byte flags
int streamId
public synchronized void windowUpdate (int, long) throws java.io.IOException
int streamId
long windowSizeIncrement
int length
byte type
byte flags
public synchronized void close () throws java.io.IOException
void frameHeader (int, int, byte, byte) throws java.io.IOException
int streamId
int length
byte type
byte flags
}
com/squareup/okhttp/internal/framed/Http2.classHttp2.java
package com.squareup.okhttp.internal.framed
public final com.squareup.okhttp.internal.framed.Http2 extends java.lang.Object implements com.squareup.okhttp.internal.framed.Variant {
private static final java.util.logging.Logger logger
private static final okio.ByteString CONNECTION_PREFACE
static final int INITIAL_MAX_FRAME_SIZE
static final byte TYPE_DATA
static final byte TYPE_HEADERS
static final byte TYPE_PRIORITY
static final byte TYPE_RST_STREAM
static final byte TYPE_SETTINGS
static final byte TYPE_PUSH_PROMISE
static final byte TYPE_PING
static final byte TYPE_GOAWAY
static final byte TYPE_WINDOW_UPDATE
static final byte TYPE_CONTINUATION
static final byte FLAG_NONE
static final byte FLAG_ACK
static final byte FLAG_END_STREAM
static final byte FLAG_END_HEADERS
static final byte FLAG_END_PUSH_PROMISE
static final byte FLAG_PADDED
static final byte FLAG_PRIORITY
static final byte FLAG_COMPRESSED
public void ()
public com.squareup.okhttp.Protocol getProtocol ()
public com.squareup.okhttp.internal.framed.FrameReader newReader (okio.BufferedSource, boolean)
okio.BufferedSource source
boolean client
public com.squareup.okhttp.internal.framed.FrameWriter newWriter (okio.BufferedSink, boolean)
okio.BufferedSink sink
boolean client
private static transient java.lang.IllegalArgumentException illegalArgument (java.lang.String, java.lang.Object[])
String message
Object[] args
private static transient java.io.IOException ioException (java.lang.String, java.lang.Object[]) throws java.io.IOException
String message
Object[] args
private static int lengthWithoutPadding (int, byte, short) throws java.io.IOException
int length
byte flags
short padding
private static int readMedium (okio.BufferedSource) throws java.io.IOException
okio.BufferedSource source
private static void writeMedium (okio.BufferedSink, int) throws java.io.IOException
okio.BufferedSink sink
int i
static okio.ByteString access$000 ()
static java.util.logging.Logger access$100 ()
static java.io.IOException access$200 (java.lang.String, java.lang.Object[]) throws java.io.IOException
String x0
Object[] x1
static int access$300 (okio.BufferedSource) throws java.io.IOException
okio.BufferedSource x0
static int access$400 (int, byte, short) throws java.io.IOException
int x0
byte x1
short x2
static java.lang.IllegalArgumentException access$500 (java.lang.String, java.lang.Object[])
String x0
Object[] x1
static void access$600 (okio.BufferedSink, int) throws java.io.IOException
okio.BufferedSink x0
int x1
static void ()
}
com/squareup/okhttp/internal/framed/Huffman$Node.classHuffman.java
package com.squareup.okhttp.internal.framed
final com.squareup.okhttp.internal.framed.Huffman$Node extends java.lang.Object {
private final com.squareup.okhttp.internal.framed.Huffman$Node[] children
private final int symbol
private final int terminalBits
void ()
void (int, int)
int symbol
int bits
int b
static com.squareup.okhttp.internal.framed.Huffman$Node[] access$000 (com.squareup.okhttp.internal.framed.Huffman$Node)
com.squareup.okhttp.internal.framed.Huffman$Node x0
static int access$100 (com.squareup.okhttp.internal.framed.Huffman$Node)
com.squareup.okhttp.internal.framed.Huffman$Node x0
static int access$200 (com.squareup.okhttp.internal.framed.Huffman$Node)
com.squareup.okhttp.internal.framed.Huffman$Node x0
}
com/squareup/okhttp/internal/framed/Huffman.classHuffman.java
package com.squareup.okhttp.internal.framed
com.squareup.okhttp.internal.framed.Huffman extends java.lang.Object {
private static final int[] CODES
private static final byte[] CODE_LENGTHS
private static final com.squareup.okhttp.internal.framed.Huffman INSTANCE
private final com.squareup.okhttp.internal.framed.Huffman$Node root
public static com.squareup.okhttp.internal.framed.Huffman get ()
private void ()
void encode (byte[], java.io.OutputStream) throws java.io.IOException
int b
int code
int nbits
int i
byte[] data
java.io.OutputStream out
long current
int n
int encodedLength (byte[])
int b
int i
byte[] bytes
long len
byte[] decode (byte[]) throws java.io.IOException
int c
int b
int i
int c
byte[] buf
java.io.ByteArrayOutputStream baos
com.squareup.okhttp.internal.framed.Huffman$Node node
int current
int nbits
private void buildTree ()
int i
private void addCode (int, int, byte)
int i
int i
int sym
int code
byte len
com.squareup.okhttp.internal.framed.Huffman$Node terminal
com.squareup.okhttp.internal.framed.Huffman$Node current
int shift
int start
int end
static void ()
}
com/squareup/okhttp/internal/framed/IncomingStreamHandler$1.classIncomingStreamHandler.java
package com.squareup.okhttp.internal.framed
final com.squareup.okhttp.internal.framed.IncomingStreamHandler$1 extends java.lang.Object implements com.squareup.okhttp.internal.framed.IncomingStreamHandler {
void ()
public void receive (com.squareup.okhttp.internal.framed.FramedStream) throws java.io.IOException
com.squareup.okhttp.internal.framed.FramedStream stream
}
com/squareup/okhttp/internal/framed/IncomingStreamHandler.classIncomingStreamHandler.java
package com.squareup.okhttp.internal.framed
public abstract com.squareup.okhttp.internal.framed.IncomingStreamHandler extends java.lang.Object {
public static final com.squareup.okhttp.internal.framed.IncomingStreamHandler REFUSE_INCOMING_STREAMS
public abstract void receive (com.squareup.okhttp.internal.framed.FramedStream) throws java.io.IOException
static void ()
}
com/squareup/okhttp/internal/framed/NameValueBlockReader$1.classNameValueBlockReader.java
package com.squareup.okhttp.internal.framed
com.squareup.okhttp.internal.framed.NameValueBlockReader$1 extends okio.ForwardingSource {
final com.squareup.okhttp.internal.framed.NameValueBlockReader this$0
void (com.squareup.okhttp.internal.framed.NameValueBlockReader, okio.Source)
com.squareup.okhttp.internal.framed.NameValueBlockReader this$0
okio.Source x0
public long read (okio.Buffer, long) throws java.io.IOException
okio.Buffer sink
long byteCount
long read
}
com/squareup/okhttp/internal/framed/NameValueBlockReader$2.classNameValueBlockReader.java
package com.squareup.okhttp.internal.framed
com.squareup.okhttp.internal.framed.NameValueBlockReader$2 extends java.util.zip.Inflater {
final com.squareup.okhttp.internal.framed.NameValueBlockReader this$0
void (com.squareup.okhttp.internal.framed.NameValueBlockReader)
com.squareup.okhttp.internal.framed.NameValueBlockReader this$0
public int inflate (byte[], int, int) throws java.util.zip.DataFormatException
byte[] buffer
int offset
int count
int result
}
com/squareup/okhttp/internal/framed/NameValueBlockReader.classNameValueBlockReader.java
package com.squareup.okhttp.internal.framed
com.squareup.okhttp.internal.framed.NameValueBlockReader extends java.lang.Object {
private final okio.InflaterSource inflaterSource
private int compressedLimit
private final okio.BufferedSource source
public void (okio.BufferedSource)
okio.BufferedSource source
okio.Source throttleSource
java.util.zip.Inflater inflater
public java.util.List readNameValueBlock (int) throws java.io.IOException
okio.ByteString name
okio.ByteString values
int i
int length
int numberOfPairs
java.util.List entries
private okio.ByteString readByteString () throws java.io.IOException
int length
private void doneReading () throws java.io.IOException
public void close () throws java.io.IOException
static int access$000 (com.squareup.okhttp.internal.framed.NameValueBlockReader)
com.squareup.okhttp.internal.framed.NameValueBlockReader x0
static int access$002 (com.squareup.okhttp.internal.framed.NameValueBlockReader, int)
com.squareup.okhttp.internal.framed.NameValueBlockReader x0
int x1
}
com/squareup/okhttp/internal/framed/Ping.classPing.java
package com.squareup.okhttp.internal.framed
public final com.squareup.okhttp.internal.framed.Ping extends java.lang.Object {
private final java.util.concurrent.CountDownLatch latch
private long sent
private long received
void ()
void send ()
void receive ()
void cancel ()
public long roundTripTime () throws java.lang.InterruptedException
public long roundTripTime (long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException
long timeout
java.util.concurrent.TimeUnit unit
}
com/squareup/okhttp/internal/framed/PushObserver$1.classPushObserver.java
package com.squareup.okhttp.internal.framed
final com.squareup.okhttp.internal.framed.PushObserver$1 extends java.lang.Object implements com.squareup.okhttp.internal.framed.PushObserver {
void ()
public boolean onRequest (int, java.util.List)
int streamId
java.util.List requestHeaders
public boolean onHeaders (int, java.util.List, boolean)
int streamId
java.util.List responseHeaders
boolean last
public boolean onData (int, okio.BufferedSource, int, boolean) throws java.io.IOException
int streamId
okio.BufferedSource source
int byteCount
boolean last
public void onReset (int, com.squareup.okhttp.internal.framed.ErrorCode)
int streamId
com.squareup.okhttp.internal.framed.ErrorCode errorCode
}
com/squareup/okhttp/internal/framed/PushObserver.classPushObserver.java
package com.squareup.okhttp.internal.framed
public abstract com.squareup.okhttp.internal.framed.PushObserver extends java.lang.Object {
public static final com.squareup.okhttp.internal.framed.PushObserver CANCEL
public abstract boolean onRequest (int, java.util.List)
public abstract boolean onHeaders (int, java.util.List, boolean)
public abstract boolean onData (int, okio.BufferedSource, int, boolean) throws java.io.IOException
public abstract void onReset (int, com.squareup.okhttp.internal.framed.ErrorCode)
static void ()
}
com/squareup/okhttp/internal/framed/Settings.classSettings.java
package com.squareup.okhttp.internal.framed
public final com.squareup.okhttp.internal.framed.Settings extends java.lang.Object {
static final int DEFAULT_INITIAL_WINDOW_SIZE
static final int FLAG_CLEAR_PREVIOUSLY_PERSISTED_SETTINGS
static final int PERSIST_VALUE
static final int PERSISTED
static final int UPLOAD_BANDWIDTH
static final int HEADER_TABLE_SIZE
static final int DOWNLOAD_BANDWIDTH
static final int ENABLE_PUSH
static final int ROUND_TRIP_TIME
static final int MAX_CONCURRENT_STREAMS
static final int CURRENT_CWND
static final int MAX_FRAME_SIZE
static final int DOWNLOAD_RETRANS_RATE
static final int MAX_HEADER_LIST_SIZE
static final int INITIAL_WINDOW_SIZE
static final int CLIENT_CERTIFICATE_VECTOR_SIZE
static final int FLOW_CONTROL_OPTIONS
static final int COUNT
static final int FLOW_CONTROL_OPTIONS_DISABLED
private int set
private int persistValue
private int persisted
private final int[] values
public void ()
void clear ()
com.squareup.okhttp.internal.framed.Settings set (int, int, int)
int id
int idFlags
int value
int bit
boolean isSet (int)
int id
int bit
int get (int)
int id
int flags (int)
int id
int result
int size ()
int getUploadBandwidth (int)
int defaultValue
int bit
int getHeaderTableSize ()
int bit
int getDownloadBandwidth (int)
int defaultValue
int bit
boolean getEnablePush (boolean)
boolean defaultValue
int bit
int getRoundTripTime (int)
int defaultValue
int bit
int getMaxConcurrentStreams (int)
int defaultValue
int bit
int getCurrentCwnd (int)
int defaultValue
int bit
int getMaxFrameSize (int)
int defaultValue
int bit
int getDownloadRetransRate (int)
int defaultValue
int bit
int getMaxHeaderListSize (int)
int defaultValue
int bit
int getInitialWindowSize (int)
int defaultValue
int bit
int getClientCertificateVectorSize (int)
int defaultValue
int bit
boolean isFlowControlDisabled ()
int bit
int value
boolean persistValue (int)
int id
int bit
boolean isPersisted (int)
int id
int bit
void merge (com.squareup.okhttp.internal.framed.Settings)
int i
com.squareup.okhttp.internal.framed.Settings other
}
com/squareup/okhttp/internal/framed/Spdy3$Reader.classSpdy3.java
package com.squareup.okhttp.internal.framed
final com.squareup.okhttp.internal.framed.Spdy3$Reader extends java.lang.Object implements com.squareup.okhttp.internal.framed.FrameReader {
private final okio.BufferedSource source
private final boolean client
private final com.squareup.okhttp.internal.framed.NameValueBlockReader headerBlockReader
void (okio.BufferedSource, boolean)
okio.BufferedSource source
boolean client
public void readConnectionPreface ()
public boolean nextFrame (com.squareup.okhttp.internal.framed.FrameReader$Handler) throws java.io.IOException
java.io.IOException e
int version
int type
int streamId
boolean inFinished
com.squareup.okhttp.internal.framed.FrameReader$Handler handler
int w1
int w1
int w2
int w2
boolean control
int flags
int length
private void readSynStream (com.squareup.okhttp.internal.framed.FrameReader$Handler, int, int) throws java.io.IOException
com.squareup.okhttp.internal.framed.FrameReader$Handler handler
int flags
int length
int w1
int w2
int streamId
int associatedStreamId
java.util.List headerBlock
boolean inFinished
boolean outFinished
private void readSynReply (com.squareup.okhttp.internal.framed.FrameReader$Handler, int, int) throws java.io.IOException
com.squareup.okhttp.internal.framed.FrameReader$Handler handler
int flags
int length
int w1
int streamId
java.util.List headerBlock
boolean inFinished
private void readRstStream (com.squareup.okhttp.internal.framed.FrameReader$Handler, int, int) throws java.io.IOException
com.squareup.okhttp.internal.framed.FrameReader$Handler handler
int flags
int length
int streamId
int errorCodeInt
com.squareup.okhttp.internal.framed.ErrorCode errorCode
private void readHeaders (com.squareup.okhttp.internal.framed.FrameReader$Handler, int, int) throws java.io.IOException
com.squareup.okhttp.internal.framed.FrameReader$Handler handler
int flags
int length
int w1
int streamId
java.util.List headerBlock
private void readWindowUpdate (com.squareup.okhttp.internal.framed.FrameReader$Handler, int, int) throws java.io.IOException
com.squareup.okhttp.internal.framed.FrameReader$Handler handler
int flags
int length
int w1
int w2
int streamId
long increment
private void readPing (com.squareup.okhttp.internal.framed.FrameReader$Handler, int, int) throws java.io.IOException
com.squareup.okhttp.internal.framed.FrameReader$Handler handler
int flags
int length
int id
boolean ack
private void readGoAway (com.squareup.okhttp.internal.framed.FrameReader$Handler, int, int) throws java.io.IOException
com.squareup.okhttp.internal.framed.FrameReader$Handler handler
int flags
int length
int lastGoodStreamId
int errorCodeInt
com.squareup.okhttp.internal.framed.ErrorCode errorCode
private void readSettings (com.squareup.okhttp.internal.framed.FrameReader$Handler, int, int) throws java.io.IOException
int w1
int value
int idFlags
int id
int i
com.squareup.okhttp.internal.framed.FrameReader$Handler handler
int flags
int length
int numberOfEntries
com.squareup.okhttp.internal.framed.Settings settings
boolean clearPrevious
private static transient java.io.IOException ioException (java.lang.String, java.lang.Object[]) throws java.io.IOException
String message
Object[] args
public void close () throws java.io.IOException
}
com/squareup/okhttp/internal/framed/Spdy3$Writer.classSpdy3.java
package com.squareup.okhttp.internal.framed
final com.squareup.okhttp.internal.framed.Spdy3$Writer extends java.lang.Object implements com.squareup.okhttp.internal.framed.FrameWriter {
private final okio.BufferedSink sink
private final okio.Buffer headerBlockBuffer
private final okio.BufferedSink headerBlockOut
private final boolean client
private boolean closed
void (okio.BufferedSink, boolean)
okio.BufferedSink sink
boolean client
java.util.zip.Deflater deflater
public void ackSettings (com.squareup.okhttp.internal.framed.Settings)
com.squareup.okhttp.internal.framed.Settings peerSettings
public void pushPromise (int, int, java.util.List) throws java.io.IOException
int streamId
int promisedStreamId
java.util.List requestHeaders
public synchronized void connectionPreface ()
public synchronized void flush () throws java.io.IOException
public synchronized void synStream (boolean, boolean, int, int, java.util.List) throws java.io.IOException
boolean outFinished
boolean inFinished
int streamId
int associatedStreamId
java.util.List headerBlock
int length
int type
int flags
int unused
public synchronized void synReply (boolean, int, java.util.List) throws java.io.IOException
boolean outFinished
int streamId
java.util.List headerBlock
int type
int flags
int length
public synchronized void headers (int, java.util.List) throws java.io.IOException
int streamId
java.util.List headerBlock
int flags
int type
int length
public synchronized void rstStream (int, com.squareup.okhttp.internal.framed.ErrorCode) throws java.io.IOException
int streamId
com.squareup.okhttp.internal.framed.ErrorCode errorCode
int flags
int type
int length
public int maxDataLength ()
public synchronized void data (boolean, int, okio.Buffer, int) throws java.io.IOException
boolean outFinished
int streamId
okio.Buffer source
int byteCount
int flags
void sendDataFrame (int, int, okio.Buffer, int) throws java.io.IOException
int streamId
int flags
okio.Buffer buffer
int byteCount
private void writeNameValueBlockToBuffer (java.util.List) throws java.io.IOException
okio.ByteString name
okio.ByteString value
int i
int size
java.util.List headerBlock
public synchronized void settings (com.squareup.okhttp.internal.framed.Settings) throws java.io.IOException
int settingsFlags
int i
com.squareup.okhttp.internal.framed.Settings settings
int type
int flags
int size
int length
public synchronized void ping (boolean, int, int) throws java.io.IOException
boolean reply
int payload1
int payload2
boolean payloadIsReply
int type
int flags
int length
public synchronized void goAway (int, com.squareup.okhttp.internal.framed.ErrorCode, byte[]) throws java.io.IOException
int lastGoodStreamId
com.squareup.okhttp.internal.framed.ErrorCode errorCode
byte[] ignored
int type
int flags
int length
public synchronized void windowUpdate (int, long) throws java.io.IOException
int streamId
long increment
int type
int flags
int length
public synchronized void close () throws java.io.IOException
}
com/squareup/okhttp/internal/framed/Spdy3.classSpdy3.java
package com.squareup.okhttp.internal.framed
public final com.squareup.okhttp.internal.framed.Spdy3 extends java.lang.Object implements com.squareup.okhttp.internal.framed.Variant {
static final int TYPE_DATA
static final int TYPE_SYN_STREAM
static final int TYPE_SYN_REPLY
static final int TYPE_RST_STREAM
static final int TYPE_SETTINGS
static final int TYPE_PING
static final int TYPE_GOAWAY
static final int TYPE_HEADERS
static final int TYPE_WINDOW_UPDATE
static final int FLAG_FIN
static final int FLAG_UNIDIRECTIONAL
static final int VERSION
static final byte[] DICTIONARY
public void ()
public com.squareup.okhttp.Protocol getProtocol ()
public com.squareup.okhttp.internal.framed.FrameReader newReader (okio.BufferedSource, boolean)
okio.BufferedSource source
boolean client
public com.squareup.okhttp.internal.framed.FrameWriter newWriter (okio.BufferedSink, boolean)
okio.BufferedSink sink
boolean client
static void ()
java.io.UnsupportedEncodingException e
}
com/squareup/okhttp/internal/framed/Variant.classVariant.java
package com.squareup.okhttp.internal.framed
public abstract com.squareup.okhttp.internal.framed.Variant extends java.lang.Object {
public abstract com.squareup.okhttp.Protocol getProtocol ()
public abstract com.squareup.okhttp.internal.framed.FrameReader newReader (okio.BufferedSource, boolean)
public abstract com.squareup.okhttp.internal.framed.FrameWriter newWriter (okio.BufferedSink, boolean)
}
com/squareup/okhttp/internal/http/AuthenticatorAdapter.classAuthenticatorAdapter.java
package com.squareup.okhttp.internal.http
public final com.squareup.okhttp.internal.http.AuthenticatorAdapter extends java.lang.Object implements com.squareup.okhttp.Authenticator {
public static final com.squareup.okhttp.Authenticator INSTANCE
public void ()
public com.squareup.okhttp.Request authenticate (java.net.Proxy, com.squareup.okhttp.Response) throws java.io.IOException
com.squareup.okhttp.Challenge challenge
java.net.PasswordAuthentication auth
String credential
int i
int size
java.net.Proxy proxy
com.squareup.okhttp.Response response
java.util.List challenges
com.squareup.okhttp.Request request
com.squareup.okhttp.HttpUrl url
public com.squareup.okhttp.Request authenticateProxy (java.net.Proxy, com.squareup.okhttp.Response) throws java.io.IOException
com.squareup.okhttp.Challenge challenge
java.net.InetSocketAddress proxyAddress
java.net.PasswordAuthentication auth
String credential
int i
int size
java.net.Proxy proxy
com.squareup.okhttp.Response response
java.util.List challenges
com.squareup.okhttp.Request request
com.squareup.okhttp.HttpUrl url
private java.net.InetAddress getConnectToInetAddress (java.net.Proxy, com.squareup.okhttp.HttpUrl) throws java.io.IOException
java.net.Proxy proxy
com.squareup.okhttp.HttpUrl url
static void ()
}
com/squareup/okhttp/internal/http/CacheRequest.classCacheRequest.java
package com.squareup.okhttp.internal.http
public abstract com.squareup.okhttp.internal.http.CacheRequest extends java.lang.Object {
public abstract okio.Sink body () throws java.io.IOException
public abstract void abort ()
}
com/squareup/okhttp/internal/http/CacheStrategy$1.classCacheStrategy.java
package com.squareup.okhttp.internal.http
com.squareup.okhttp.internal.http.CacheStrategy$1 extends java.lang.Object {
}
com/squareup/okhttp/internal/http/CacheStrategy$Factory.classCacheStrategy.java
package com.squareup.okhttp.internal.http
public com.squareup.okhttp.internal.http.CacheStrategy$Factory extends java.lang.Object {
final long nowMillis
final com.squareup.okhttp.Request request
final com.squareup.okhttp.Response cacheResponse
private java.util.Date servedDate
private String servedDateString
private java.util.Date lastModified
private String lastModifiedString
private java.util.Date expires
private long sentRequestMillis
private long receivedResponseMillis
private String etag
private int ageSeconds
public void (long, com.squareup.okhttp.Request, com.squareup.okhttp.Response)
String fieldName
String value
int i
int size
com.squareup.okhttp.Headers headers
long nowMillis
com.squareup.okhttp.Request request
com.squareup.okhttp.Response cacheResponse
public com.squareup.okhttp.internal.http.CacheStrategy get ()
com.squareup.okhttp.internal.http.CacheStrategy candidate
private com.squareup.okhttp.internal.http.CacheStrategy getCandidate ()
com.squareup.okhttp.Response$Builder builder
long oneDayMillis
com.squareup.okhttp.CacheControl requestCaching
long ageMillis
long freshMillis
long minFreshMillis
long maxStaleMillis
com.squareup.okhttp.CacheControl responseCaching
com.squareup.okhttp.Request$Builder conditionalRequestBuilder
com.squareup.okhttp.Request conditionalRequest
private long computeFreshnessLifetime ()
long servedMillis
long delta
long servedMillis
long delta
com.squareup.okhttp.CacheControl responseCaching
private long cacheResponseAge ()
long apparentReceivedAge
long receivedAge
long responseDuration
long residentDuration
private boolean isFreshnessLifetimeHeuristic ()
private static boolean hasConditions (com.squareup.okhttp.Request)
com.squareup.okhttp.Request request
}
com/squareup/okhttp/internal/http/CacheStrategy.classCacheStrategy.java
package com.squareup.okhttp.internal.http
public final com.squareup.okhttp.internal.http.CacheStrategy extends java.lang.Object {
public final com.squareup.okhttp.Request networkRequest
public final com.squareup.okhttp.Response cacheResponse
private void (com.squareup.okhttp.Request, com.squareup.okhttp.Response)
com.squareup.okhttp.Request networkRequest
com.squareup.okhttp.Response cacheResponse
public static boolean isCacheable (com.squareup.okhttp.Response, com.squareup.okhttp.Request)
com.squareup.okhttp.Response response
com.squareup.okhttp.Request request
void (com.squareup.okhttp.Request, com.squareup.okhttp.Response, com.squareup.okhttp.internal.http.CacheStrategy$1)
com.squareup.okhttp.Request x0
com.squareup.okhttp.Response x1
com.squareup.okhttp.internal.http.CacheStrategy$1 x2
}
com/squareup/okhttp/internal/http/FramedTransport.classFramedTransport.java
package com.squareup.okhttp.internal.http
public final com.squareup.okhttp.internal.http.FramedTransport extends java.lang.Object implements com.squareup.okhttp.internal.http.Transport {
private static final java.util.List SPDY_3_PROHIBITED_HEADERS
private static final java.util.List HTTP_2_PROHIBITED_HEADERS
private final com.squareup.okhttp.internal.http.HttpEngine httpEngine
private final com.squareup.okhttp.internal.framed.FramedConnection framedConnection
private com.squareup.okhttp.internal.framed.FramedStream stream
public void (com.squareup.okhttp.internal.http.HttpEngine, com.squareup.okhttp.internal.framed.FramedConnection)
com.squareup.okhttp.internal.http.HttpEngine httpEngine
com.squareup.okhttp.internal.framed.FramedConnection framedConnection
public okio.Sink createRequestBody (com.squareup.okhttp.Request, long) throws java.io.IOException
com.squareup.okhttp.Request request
long contentLength
public void writeRequestHeaders (com.squareup.okhttp.Request) throws java.io.IOException
com.squareup.okhttp.Request request
boolean permitsRequestBody
boolean hasResponseBody
String version
public void writeRequestBody (com.squareup.okhttp.internal.http.RetryableSink) throws java.io.IOException
com.squareup.okhttp.internal.http.RetryableSink requestBody
public void finishRequest () throws java.io.IOException
public com.squareup.okhttp.Response$Builder readResponseHeaders () throws java.io.IOException
public static java.util.List writeNameValueBlock (com.squareup.okhttp.Request, com.squareup.okhttp.Protocol, java.lang.String)
String concatenated
int j
okio.ByteString name
String value
int i
int size
com.squareup.okhttp.Request request
com.squareup.okhttp.Protocol protocol
String version
com.squareup.okhttp.Headers headers
java.util.List result
String host
java.util.Set names
private static java.lang.String joinOnNull (java.lang.String, java.lang.String)
String first
String second
public static com.squareup.okhttp.Response$Builder readNameValueBlock (java.util.List, com.squareup.okhttp.Protocol) throws java.io.IOException
int end
String value
int start
okio.ByteString name
String values
int i
int size
java.util.List headerBlock
com.squareup.okhttp.Protocol protocol
String status
String version
com.squareup.okhttp.Headers$Builder headersBuilder
com.squareup.okhttp.internal.http.StatusLine statusLine
public com.squareup.okhttp.ResponseBody openResponseBody (com.squareup.okhttp.Response) throws java.io.IOException
com.squareup.okhttp.Response response
public void releaseConnectionOnIdle ()
public void disconnect (com.squareup.okhttp.internal.http.HttpEngine) throws java.io.IOException
com.squareup.okhttp.internal.http.HttpEngine engine
public boolean canReuseConnection ()
private static boolean isProhibitedHeader (com.squareup.okhttp.Protocol, okio.ByteString)
com.squareup.okhttp.Protocol protocol
okio.ByteString name
static void ()
}
com/squareup/okhttp/internal/http/HeaderParser.classHeaderParser.java
package com.squareup.okhttp.internal.http
public final com.squareup.okhttp.internal.http.HeaderParser extends java.lang.Object {
public static int skipUntil (java.lang.String, int, java.lang.String)
String input
int pos
String characters
public static int skipWhitespace (java.lang.String, int)
char c
String input
int pos
public static int parseSeconds (java.lang.String, int)
long seconds
NumberFormatException e
String value
int defaultValue
private void ()
}
com/squareup/okhttp/internal/http/HttpConnection$1.classHttpConnection.java
package com.squareup.okhttp.internal.http
com.squareup.okhttp.internal.http.HttpConnection$1 extends java.lang.Object {
}
com/squareup/okhttp/internal/http/HttpConnection$AbstractSource.classHttpConnection.java
package com.squareup.okhttp.internal.http
abstract com.squareup.okhttp.internal.http.HttpConnection$AbstractSource extends java.lang.Object implements okio.Source {
protected final okio.ForwardingTimeout timeout
protected boolean closed
final com.squareup.okhttp.internal.http.HttpConnection this$0
private void (com.squareup.okhttp.internal.http.HttpConnection)
public okio.Timeout timeout ()
protected final void endOfInput (boolean) throws java.io.IOException
boolean recyclable
protected final void unexpectedEndOfInput ()
void (com.squareup.okhttp.internal.http.HttpConnection, com.squareup.okhttp.internal.http.HttpConnection$1)
com.squareup.okhttp.internal.http.HttpConnection x0
com.squareup.okhttp.internal.http.HttpConnection$1 x1
}
com/squareup/okhttp/internal/http/HttpConnection$ChunkedSink.classHttpConnection.java
package com.squareup.okhttp.internal.http
final com.squareup.okhttp.internal.http.HttpConnection$ChunkedSink extends java.lang.Object implements okio.Sink {
private final okio.ForwardingTimeout timeout
private boolean closed
final com.squareup.okhttp.internal.http.HttpConnection this$0
private void (com.squareup.okhttp.internal.http.HttpConnection)
public okio.Timeout timeout ()
public void write (okio.Buffer, long) throws java.io.IOException
okio.Buffer source
long byteCount
public synchronized void flush () throws java.io.IOException
public synchronized void close () throws java.io.IOException
void (com.squareup.okhttp.internal.http.HttpConnection, com.squareup.okhttp.internal.http.HttpConnection$1)
com.squareup.okhttp.internal.http.HttpConnection x0
com.squareup.okhttp.internal.http.HttpConnection$1 x1
}
com/squareup/okhttp/internal/http/HttpConnection$ChunkedSource.classHttpConnection.java
package com.squareup.okhttp.internal.http
com.squareup.okhttp.internal.http.HttpConnection$ChunkedSource extends com.squareup.okhttp.internal.http.HttpConnection$AbstractSource {
private static final long NO_CHUNK_YET
private long bytesRemainingInChunk
private boolean hasMoreChunks
private final com.squareup.okhttp.internal.http.HttpEngine httpEngine
final com.squareup.okhttp.internal.http.HttpConnection this$0
void (com.squareup.okhttp.internal.http.HttpConnection, com.squareup.okhttp.internal.http.HttpEngine) throws java.io.IOException
com.squareup.okhttp.internal.http.HttpEngine httpEngine
public long read (okio.Buffer, long) throws java.io.IOException
okio.Buffer sink
long byteCount
long read
private void readChunkSize () throws java.io.IOException
String extensions
NumberFormatException e
com.squareup.okhttp.Headers$Builder trailersBuilder
public void close () throws java.io.IOException
}
com/squareup/okhttp/internal/http/HttpConnection$FixedLengthSink.classHttpConnection.java
package com.squareup.okhttp.internal.http
final com.squareup.okhttp.internal.http.HttpConnection$FixedLengthSink extends java.lang.Object implements okio.Sink {
private final okio.ForwardingTimeout timeout
private boolean closed
private long bytesRemaining
final com.squareup.okhttp.internal.http.HttpConnection this$0
private void (com.squareup.okhttp.internal.http.HttpConnection, long)
long bytesRemaining
public okio.Timeout timeout ()
public void write (okio.Buffer, long) throws java.io.IOException
okio.Buffer source
long byteCount
public void flush () throws java.io.IOException
public void close () throws java.io.IOException
void (com.squareup.okhttp.internal.http.HttpConnection, long, com.squareup.okhttp.internal.http.HttpConnection$1)
com.squareup.okhttp.internal.http.HttpConnection x0
long x1
com.squareup.okhttp.internal.http.HttpConnection$1 x2
}
com/squareup/okhttp/internal/http/HttpConnection$FixedLengthSource.classHttpConnection.java
package com.squareup.okhttp.internal.http
com.squareup.okhttp.internal.http.HttpConnection$FixedLengthSource extends com.squareup.okhttp.internal.http.HttpConnection$AbstractSource {
private long bytesRemaining
final com.squareup.okhttp.internal.http.HttpConnection this$0
public void (com.squareup.okhttp.internal.http.HttpConnection, long) throws java.io.IOException
long length
public long read (okio.Buffer, long) throws java.io.IOException
okio.Buffer sink
long byteCount
long read
public void close () throws java.io.IOException
}
com/squareup/okhttp/internal/http/HttpConnection$UnknownLengthSource.classHttpConnection.java
package com.squareup.okhttp.internal.http
com.squareup.okhttp.internal.http.HttpConnection$UnknownLengthSource extends com.squareup.okhttp.internal.http.HttpConnection$AbstractSource {
private boolean inputExhausted
final com.squareup.okhttp.internal.http.HttpConnection this$0
private void (com.squareup.okhttp.internal.http.HttpConnection)
public long read (okio.Buffer, long) throws java.io.IOException
okio.Buffer sink
long byteCount
long read
public void close () throws java.io.IOException
void (com.squareup.okhttp.internal.http.HttpConnection, com.squareup.okhttp.internal.http.HttpConnection$1)
com.squareup.okhttp.internal.http.HttpConnection x0
com.squareup.okhttp.internal.http.HttpConnection$1 x1
}
com/squareup/okhttp/internal/http/HttpConnection.classHttpConnection.java
package com.squareup.okhttp.internal.http
public final com.squareup.okhttp.internal.http.HttpConnection extends java.lang.Object {
private static final int STATE_IDLE
private static final int STATE_OPEN_REQUEST_BODY
private static final int STATE_WRITING_REQUEST_BODY
private static final int STATE_READ_RESPONSE_HEADERS
private static final int STATE_OPEN_RESPONSE_BODY
private static final int STATE_READING_RESPONSE_BODY
private static final int STATE_CLOSED
private static final int ON_IDLE_HOLD
private static final int ON_IDLE_POOL
private static final int ON_IDLE_CLOSE
private final com.squareup.okhttp.ConnectionPool pool
private final com.squareup.okhttp.Connection connection
private final java.net.Socket socket
private final okio.BufferedSource source
private final okio.BufferedSink sink
private int state
private int onIdle
public void (com.squareup.okhttp.ConnectionPool, com.squareup.okhttp.Connection, java.net.Socket) throws java.io.IOException
com.squareup.okhttp.ConnectionPool pool
com.squareup.okhttp.Connection connection
java.net.Socket socket
public void setTimeouts (int, int)
int readTimeoutMillis
int writeTimeoutMillis
public void poolOnIdle ()
public void closeOnIdle () throws java.io.IOException
public boolean isClosed ()
public void closeIfOwnedBy (java.lang.Object) throws java.io.IOException
Object owner
public void flush () throws java.io.IOException
public long bufferSize ()
public boolean isReadable ()
int readTimeout
java.net.SocketTimeoutException ignored
java.io.IOException e
public void writeRequest (com.squareup.okhttp.Headers, java.lang.String) throws java.io.IOException
int i
int size
com.squareup.okhttp.Headers headers
String requestLine
public com.squareup.okhttp.Response$Builder readResponse () throws java.io.IOException
com.squareup.okhttp.internal.http.StatusLine statusLine
com.squareup.okhttp.Response$Builder responseBuilder
com.squareup.okhttp.Headers$Builder headersBuilder
java.io.IOException exception
java.io.EOFException e
public void readHeaders (com.squareup.okhttp.Headers$Builder) throws java.io.IOException
String line
com.squareup.okhttp.Headers$Builder builder
public okio.Sink newChunkedSink ()
public okio.Sink newFixedLengthSink (long)
long contentLength
public void writeRequestBody (com.squareup.okhttp.internal.http.RetryableSink) throws java.io.IOException
com.squareup.okhttp.internal.http.RetryableSink requestBody
public okio.Source newFixedLengthSource (long) throws java.io.IOException
long length
public okio.Source newChunkedSource (com.squareup.okhttp.internal.http.HttpEngine) throws java.io.IOException
com.squareup.okhttp.internal.http.HttpEngine httpEngine
public okio.Source newUnknownLengthSource () throws java.io.IOException
public okio.BufferedSink rawSink ()
public okio.BufferedSource rawSource ()
private void detachTimeout (okio.ForwardingTimeout)
okio.ForwardingTimeout timeout
okio.Timeout oldDelegate
static okio.BufferedSink access$300 (com.squareup.okhttp.internal.http.HttpConnection)
com.squareup.okhttp.internal.http.HttpConnection x0
static void access$400 (com.squareup.okhttp.internal.http.HttpConnection, okio.ForwardingTimeout)
com.squareup.okhttp.internal.http.HttpConnection x0
okio.ForwardingTimeout x1
static int access$502 (com.squareup.okhttp.internal.http.HttpConnection, int)
com.squareup.okhttp.internal.http.HttpConnection x0
int x1
static okio.BufferedSource access$600 (com.squareup.okhttp.internal.http.HttpConnection)
com.squareup.okhttp.internal.http.HttpConnection x0
static int access$500 (com.squareup.okhttp.internal.http.HttpConnection)
com.squareup.okhttp.internal.http.HttpConnection x0
static int access$700 (com.squareup.okhttp.internal.http.HttpConnection)
com.squareup.okhttp.internal.http.HttpConnection x0
static int access$702 (com.squareup.okhttp.internal.http.HttpConnection, int)
com.squareup.okhttp.internal.http.HttpConnection x0
int x1
static com.squareup.okhttp.ConnectionPool access$800 (com.squareup.okhttp.internal.http.HttpConnection)
com.squareup.okhttp.internal.http.HttpConnection x0
static com.squareup.okhttp.Connection access$900 (com.squareup.okhttp.internal.http.HttpConnection)
com.squareup.okhttp.internal.http.HttpConnection x0
}
com/squareup/okhttp/internal/http/HttpDate$1.classHttpDate.java
package com.squareup.okhttp.internal.http
final com.squareup.okhttp.internal.http.HttpDate$1 extends java.lang.ThreadLocal {
void ()
protected java.text.DateFormat initialValue ()
java.text.DateFormat rfc1123
protected volatile java.lang.Object initialValue ()
}
com/squareup/okhttp/internal/http/HttpDate.classHttpDate.java
package com.squareup.okhttp.internal.http
public final com.squareup.okhttp.internal.http.HttpDate extends java.lang.Object {
private static final java.util.TimeZone GMT
private static final ThreadLocal STANDARD_DATE_FORMAT
private static final String[] BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS
private static final java.text.DateFormat[] BROWSER_COMPATIBLE_DATE_FORMATS
public static java.util.Date parse (java.lang.String)
java.text.DateFormat format
int i
int count
String value
java.text.ParsePosition position
java.util.Date result
public static java.lang.String format (java.util.Date)
java.util.Date value
private void ()
static java.util.TimeZone access$000 ()
static void ()
}
com/squareup/okhttp/internal/http/HttpEngine$1.classHttpEngine.java
package com.squareup.okhttp.internal.http
final com.squareup.okhttp.internal.http.HttpEngine$1 extends com.squareup.okhttp.ResponseBody {
void ()
public com.squareup.okhttp.MediaType contentType ()
public long contentLength ()
public okio.BufferedSource source ()
}
com/squareup/okhttp/internal/http/HttpEngine$2.classHttpEngine.java
package com.squareup.okhttp.internal.http
com.squareup.okhttp.internal.http.HttpEngine$2 extends java.lang.Object implements okio.Source {
boolean cacheRequestClosed
final okio.BufferedSource val$source
final com.squareup.okhttp.internal.http.CacheRequest val$cacheRequest
final okio.BufferedSink val$cacheBody
final com.squareup.okhttp.internal.http.HttpEngine this$0
void (com.squareup.okhttp.internal.http.HttpEngine, okio.BufferedSource, com.squareup.okhttp.internal.http.CacheRequest, okio.BufferedSink)
com.squareup.okhttp.internal.http.HttpEngine this$0
public long read (okio.Buffer, long) throws java.io.IOException
java.io.IOException e
okio.Buffer sink
long byteCount
long bytesRead
long bytesRead
public okio.Timeout timeout ()
public void close () throws java.io.IOException
}
com/squareup/okhttp/internal/http/HttpEngine$NetworkInterceptorChain.classHttpEngine.java
package com.squareup.okhttp.internal.http
com.squareup.okhttp.internal.http.HttpEngine$NetworkInterceptorChain extends java.lang.Object implements com.squareup.okhttp.Interceptor$Chain {
private final int index
private final com.squareup.okhttp.Request request
private int calls
final com.squareup.okhttp.internal.http.HttpEngine this$0
void (com.squareup.okhttp.internal.http.HttpEngine, int, com.squareup.okhttp.Request)
com.squareup.okhttp.internal.http.HttpEngine this$0
int index
com.squareup.okhttp.Request request
public com.squareup.okhttp.Connection connection ()
public com.squareup.okhttp.Request request ()
public com.squareup.okhttp.Response proceed (com.squareup.okhttp.Request) throws java.io.IOException
com.squareup.okhttp.Interceptor caller
com.squareup.okhttp.Address address
com.squareup.okhttp.internal.http.HttpEngine$NetworkInterceptorChain chain
com.squareup.okhttp.Interceptor interceptor
com.squareup.okhttp.Response interceptedResponse
okio.Sink requestBodyOut
okio.BufferedSink bufferedRequestBody
com.squareup.okhttp.Request request
com.squareup.okhttp.Response response
int code
}
com/squareup/okhttp/internal/http/HttpEngine.classHttpEngine.java
package com.squareup.okhttp.internal.http
public final com.squareup.okhttp.internal.http.HttpEngine extends java.lang.Object {
public static final int MAX_FOLLOW_UPS
private static final com.squareup.okhttp.ResponseBody EMPTY_BODY
final com.squareup.okhttp.OkHttpClient client
private com.squareup.okhttp.Connection connection
private com.squareup.okhttp.Address address
private com.squareup.okhttp.internal.http.RouteSelector routeSelector
private com.squareup.okhttp.Route route
private final com.squareup.okhttp.Response priorResponse
private com.squareup.okhttp.internal.http.Transport transport
long sentRequestMillis
private boolean transparentGzip
public final boolean bufferRequestBody
private final com.squareup.okhttp.Request userRequest
private com.squareup.okhttp.Request networkRequest
private com.squareup.okhttp.Response cacheResponse
private com.squareup.okhttp.Response userResponse
private okio.Sink requestBodyOut
private okio.BufferedSink bufferedRequestBody
private final boolean callerWritesRequestBody
private final boolean forWebSocket
private com.squareup.okhttp.internal.http.CacheRequest storeRequest
private com.squareup.okhttp.internal.http.CacheStrategy cacheStrategy
public void (com.squareup.okhttp.OkHttpClient, com.squareup.okhttp.Request, boolean, boolean, boolean, com.squareup.okhttp.Connection, com.squareup.okhttp.internal.http.RouteSelector, com.squareup.okhttp.internal.http.RetryableSink, com.squareup.okhttp.Response)
com.squareup.okhttp.OkHttpClient client
com.squareup.okhttp.Request request
boolean bufferRequestBody
boolean callerWritesRequestBody
boolean forWebSocket
com.squareup.okhttp.Connection connection
com.squareup.okhttp.internal.http.RouteSelector routeSelector
com.squareup.okhttp.internal.http.RetryableSink requestBodyOut
com.squareup.okhttp.Response priorResponse
public void sendRequest () throws com.squareup.okhttp.internal.http.RequestException com.squareup.okhttp.internal.http.RouteException java.io.IOException
long contentLength
com.squareup.okhttp.Request request
com.squareup.okhttp.internal.InternalCache responseCache
com.squareup.okhttp.Response cacheCandidate
long now
private static com.squareup.okhttp.Response stripBody (com.squareup.okhttp.Response)
com.squareup.okhttp.Response response
private void connect () throws com.squareup.okhttp.internal.http.RequestException com.squareup.okhttp.internal.http.RouteException
java.io.IOException e
private com.squareup.okhttp.Connection createNextConnection () throws com.squareup.okhttp.internal.http.RouteException
com.squareup.okhttp.Connection pooled
com.squareup.okhttp.Route route
java.io.IOException e
com.squareup.okhttp.ConnectionPool pool
public void writingRequestHeaders ()
boolean permitsRequestBody ()
public okio.Sink getRequestBody ()
public okio.BufferedSink getBufferedRequestBody ()
okio.BufferedSink result
okio.Sink requestBody
public boolean hasResponse ()
public com.squareup.okhttp.Request getRequest ()
public com.squareup.okhttp.Response getResponse ()
public com.squareup.okhttp.Connection getConnection ()
public com.squareup.okhttp.internal.http.HttpEngine recover (com.squareup.okhttp.internal.http.RouteException)
com.squareup.okhttp.internal.http.RouteException e
com.squareup.okhttp.Connection connection
private boolean isRecoverable (com.squareup.okhttp.internal.http.RouteException)
com.squareup.okhttp.internal.http.RouteException e
java.io.IOException ioe
public com.squareup.okhttp.internal.http.HttpEngine recover (java.io.IOException, okio.Sink)
java.io.IOException e
okio.Sink requestBodyOut
boolean canRetryRequestBody
com.squareup.okhttp.Connection connection
private void connectFailed (com.squareup.okhttp.internal.http.RouteSelector, java.io.IOException)
com.squareup.okhttp.internal.http.RouteSelector routeSelector
java.io.IOException e
com.squareup.okhttp.Route failedRoute
public com.squareup.okhttp.internal.http.HttpEngine recover (java.io.IOException)
java.io.IOException e
private boolean isRecoverable (java.io.IOException)
java.io.IOException e
public com.squareup.okhttp.Route getRoute ()
private void maybeCache () throws java.io.IOException
com.squareup.okhttp.internal.InternalCache responseCache
public void releaseConnection () throws java.io.IOException
public void disconnect ()
com.squareup.okhttp.Connection connection
public com.squareup.okhttp.Connection close ()
com.squareup.okhttp.Connection result
private com.squareup.okhttp.Response unzip (com.squareup.okhttp.Response) throws java.io.IOException
com.squareup.okhttp.Response response
okio.GzipSource responseBody
com.squareup.okhttp.Headers strippedHeaders
public static boolean hasBody (com.squareup.okhttp.Response)
com.squareup.okhttp.Response response
int responseCode
private com.squareup.okhttp.Request networkRequest (com.squareup.okhttp.Request) throws java.io.IOException
java.util.Map headers
java.util.Map cookies
com.squareup.okhttp.Request request
com.squareup.okhttp.Request$Builder result
java.net.CookieHandler cookieHandler
public void readResponse () throws java.io.IOException
com.squareup.okhttp.Response networkResponse
com.squareup.okhttp.Response networkResponse
long contentLength
com.squareup.okhttp.internal.InternalCache responseCache
com.squareup.okhttp.Response networkResponse
private com.squareup.okhttp.Response readNetworkResponse () throws java.io.IOException
com.squareup.okhttp.Response networkResponse
private com.squareup.okhttp.Response cacheWritingResponse (com.squareup.okhttp.internal.http.CacheRequest, com.squareup.okhttp.Response) throws java.io.IOException
com.squareup.okhttp.internal.http.CacheRequest cacheRequest
com.squareup.okhttp.Response response
okio.Sink cacheBodyUnbuffered
okio.BufferedSource source
okio.BufferedSink cacheBody
okio.Source cacheWritingSource
private static boolean validate (com.squareup.okhttp.Response, com.squareup.okhttp.Response)
java.util.Date networkLastModified
com.squareup.okhttp.Response cached
com.squareup.okhttp.Response network
java.util.Date lastModified
private static com.squareup.okhttp.Headers combine (com.squareup.okhttp.Headers, com.squareup.okhttp.Headers) throws java.io.IOException
String fieldName
String value
int i
int size
String fieldName
int i
int size
com.squareup.okhttp.Headers cachedHeaders
com.squareup.okhttp.Headers networkHeaders
com.squareup.okhttp.Headers$Builder result
public void receiveHeaders (com.squareup.okhttp.Headers) throws java.io.IOException
com.squareup.okhttp.Headers headers
java.net.CookieHandler cookieHandler
public com.squareup.okhttp.Request followUpRequest () throws java.io.IOException
String location
com.squareup.okhttp.HttpUrl url
boolean sameScheme
com.squareup.okhttp.Request$Builder requestBuilder
java.net.Proxy selectedProxy
int responseCode
public boolean sameConnection (com.squareup.okhttp.HttpUrl)
com.squareup.okhttp.HttpUrl followUp
com.squareup.okhttp.HttpUrl url
private static com.squareup.okhttp.Address createAddress (com.squareup.okhttp.OkHttpClient, com.squareup.okhttp.Request)
com.squareup.okhttp.OkHttpClient client
com.squareup.okhttp.Request request
javax.net.ssl.SSLSocketFactory sslSocketFactory
javax.net.ssl.HostnameVerifier hostnameVerifier
com.squareup.okhttp.CertificatePinner certificatePinner
static com.squareup.okhttp.Connection access$000 (com.squareup.okhttp.internal.http.HttpEngine)
com.squareup.okhttp.internal.http.HttpEngine x0
static com.squareup.okhttp.internal.http.Transport access$100 (com.squareup.okhttp.internal.http.HttpEngine)
com.squareup.okhttp.internal.http.HttpEngine x0
static com.squareup.okhttp.Request access$202 (com.squareup.okhttp.internal.http.HttpEngine, com.squareup.okhttp.Request)
com.squareup.okhttp.internal.http.HttpEngine x0
com.squareup.okhttp.Request x1
static com.squareup.okhttp.Response access$300 (com.squareup.okhttp.internal.http.HttpEngine) throws java.io.IOException
com.squareup.okhttp.internal.http.HttpEngine x0
static void ()
}
com/squareup/okhttp/internal/http/HttpMethod.classHttpMethod.java
package com.squareup.okhttp.internal.http
public final com.squareup.okhttp.internal.http.HttpMethod extends java.lang.Object {
public static boolean invalidatesCache (java.lang.String)
String method
public static boolean requiresRequestBody (java.lang.String)
String method
public static boolean permitsRequestBody (java.lang.String)
String method
private void ()
}
com/squareup/okhttp/internal/http/HttpTransport.classHttpTransport.java
package com.squareup.okhttp.internal.http
public final com.squareup.okhttp.internal.http.HttpTransport extends java.lang.Object implements com.squareup.okhttp.internal.http.Transport {
private final com.squareup.okhttp.internal.http.HttpEngine httpEngine
private final com.squareup.okhttp.internal.http.HttpConnection httpConnection
public void (com.squareup.okhttp.internal.http.HttpEngine, com.squareup.okhttp.internal.http.HttpConnection)
com.squareup.okhttp.internal.http.HttpEngine httpEngine
com.squareup.okhttp.internal.http.HttpConnection httpConnection
public okio.Sink createRequestBody (com.squareup.okhttp.Request, long) throws java.io.IOException
com.squareup.okhttp.Request request
long contentLength
public void finishRequest () throws java.io.IOException
public void writeRequestBody (com.squareup.okhttp.internal.http.RetryableSink) throws java.io.IOException
com.squareup.okhttp.internal.http.RetryableSink requestBody
public void writeRequestHeaders (com.squareup.okhttp.Request) throws java.io.IOException
com.squareup.okhttp.Request request
String requestLine
public com.squareup.okhttp.Response$Builder readResponseHeaders () throws java.io.IOException
public void releaseConnectionOnIdle () throws java.io.IOException
public boolean canReuseConnection ()
public com.squareup.okhttp.ResponseBody openResponseBody (com.squareup.okhttp.Response) throws java.io.IOException
com.squareup.okhttp.Response response
okio.Source source
private okio.Source getTransferStream (com.squareup.okhttp.Response) throws java.io.IOException
com.squareup.okhttp.Response response
long contentLength
public void disconnect (com.squareup.okhttp.internal.http.HttpEngine) throws java.io.IOException
com.squareup.okhttp.internal.http.HttpEngine engine
}
com/squareup/okhttp/internal/http/OkHeaders$1.classOkHeaders.java
package com.squareup.okhttp.internal.http
final com.squareup.okhttp.internal.http.OkHeaders$1 extends java.lang.Object implements java.util.Comparator {
void ()
public int compare (java.lang.String, java.lang.String)
String a
String b
public volatile int compare (java.lang.Object, java.lang.Object)
}
com/squareup/okhttp/internal/http/OkHeaders.classOkHeaders.java
package com.squareup.okhttp.internal.http
public final com.squareup.okhttp.internal.http.OkHeaders extends java.lang.Object {
private static final java.util.Comparator FIELD_NAME_COMPARATOR
static final String PREFIX
public static final String SENT_MILLIS
public static final String RECEIVED_MILLIS
public static final String SELECTED_PROTOCOL
private void ()
public static long contentLength (com.squareup.okhttp.Request)
com.squareup.okhttp.Request request
public static long contentLength (com.squareup.okhttp.Response)
com.squareup.okhttp.Response response
public static long contentLength (com.squareup.okhttp.Headers)
com.squareup.okhttp.Headers headers
private static long stringToLong (java.lang.String)
NumberFormatException e
String s
public static java.util.Map toMultimap (com.squareup.okhttp.Headers, java.lang.String)
String fieldName
String value
java.util.List allValues
java.util.List otherValues
int i
int size
com.squareup.okhttp.Headers headers
String valueForNullKey
java.util.Map result
public static void addCookies (com.squareup.okhttp.Request$Builder, java.util.Map)
String key
java.util.Map$Entry entry
com.squareup.okhttp.Request$Builder builder
java.util.Map cookieHeaders
private static java.lang.String buildCookieHeader (java.util.List)
int i
int size
java.util.List cookies
StringBuilder sb
public static boolean varyMatches (com.squareup.okhttp.Response, com.squareup.okhttp.Headers, com.squareup.okhttp.Request)
String field
com.squareup.okhttp.Response cachedResponse
com.squareup.okhttp.Headers cachedRequest
com.squareup.okhttp.Request newRequest
public static boolean hasVaryAll (com.squareup.okhttp.Response)
com.squareup.okhttp.Response response
public static boolean hasVaryAll (com.squareup.okhttp.Headers)
com.squareup.okhttp.Headers responseHeaders
private static java.util.Set varyFields (com.squareup.okhttp.Response)
com.squareup.okhttp.Response response
public static java.util.Set varyFields (com.squareup.okhttp.Headers)
String varyField
String value
int i
int size
com.squareup.okhttp.Headers responseHeaders
java.util.Set result
public static com.squareup.okhttp.Headers varyHeaders (com.squareup.okhttp.Response)
com.squareup.okhttp.Response response
com.squareup.okhttp.Headers requestHeaders
com.squareup.okhttp.Headers responseHeaders
public static com.squareup.okhttp.Headers varyHeaders (com.squareup.okhttp.Headers, com.squareup.okhttp.Headers)
String fieldName
int i
int size
com.squareup.okhttp.Headers requestHeaders
com.squareup.okhttp.Headers responseHeaders
java.util.Set varyFields
com.squareup.okhttp.Headers$Builder result
static boolean isEndToEnd (java.lang.String)
String fieldName
public static java.util.List parseChallenges (com.squareup.okhttp.Headers, java.lang.String)
int tokenStart
String scheme
int realmStart
String realm
String value
int pos
int i
int size
com.squareup.okhttp.Headers responseHeaders
String challengeHeader
java.util.List result
public static com.squareup.okhttp.Request processAuthHeader (com.squareup.okhttp.Authenticator, com.squareup.okhttp.Response, java.net.Proxy) throws java.io.IOException
com.squareup.okhttp.Authenticator authenticator
com.squareup.okhttp.Response response
java.net.Proxy proxy
static void ()
}
com/squareup/okhttp/internal/http/RealResponseBody.classRealResponseBody.java
package com.squareup.okhttp.internal.http
public final com.squareup.okhttp.internal.http.RealResponseBody extends com.squareup.okhttp.ResponseBody {
private final com.squareup.okhttp.Headers headers
private final okio.BufferedSource source
public void (com.squareup.okhttp.Headers, okio.BufferedSource)
com.squareup.okhttp.Headers headers
okio.BufferedSource source
public com.squareup.okhttp.MediaType contentType ()
String contentType
public long contentLength ()
public okio.BufferedSource source ()
}
com/squareup/okhttp/internal/http/RequestException.classRequestException.java
package com.squareup.okhttp.internal.http
public final com.squareup.okhttp.internal.http.RequestException extends java.lang.Exception {
public void (java.io.IOException)
java.io.IOException cause
public java.io.IOException getCause ()
public volatile java.lang.Throwable getCause ()
}
com/squareup/okhttp/internal/http/RequestLine.classRequestLine.java
package com.squareup.okhttp.internal.http
public final com.squareup.okhttp.internal.http.RequestLine extends java.lang.Object {
private void ()
static java.lang.String get (com.squareup.okhttp.Request, java.net.Proxy$Type, com.squareup.okhttp.Protocol)
com.squareup.okhttp.Request request
java.net.Proxy$Type proxyType
com.squareup.okhttp.Protocol protocol
StringBuilder result
private static boolean includeAuthorityInRequestLine (com.squareup.okhttp.Request, java.net.Proxy$Type)
com.squareup.okhttp.Request request
java.net.Proxy$Type proxyType
public static java.lang.String requestPath (com.squareup.okhttp.HttpUrl)
com.squareup.okhttp.HttpUrl url
String path
String query
public static java.lang.String version (com.squareup.okhttp.Protocol)
com.squareup.okhttp.Protocol protocol
}
com/squareup/okhttp/internal/http/RetryableSink.classRetryableSink.java
package com.squareup.okhttp.internal.http
public final com.squareup.okhttp.internal.http.RetryableSink extends java.lang.Object implements okio.Sink {
private boolean closed
private final int limit
private final okio.Buffer content
public void (int)
int limit
public void ()
public void close () throws java.io.IOException
public void write (okio.Buffer, long) throws java.io.IOException
okio.Buffer source
long byteCount
public void flush () throws java.io.IOException
public okio.Timeout timeout ()
public long contentLength () throws java.io.IOException
public void writeToSocket (okio.Sink) throws java.io.IOException
okio.Sink socketOut
okio.Buffer buffer
}
com/squareup/okhttp/internal/http/RouteException.classRouteException.java
package com.squareup.okhttp.internal.http
public final com.squareup.okhttp.internal.http.RouteException extends java.lang.Exception {
private static final java.lang.reflect.Method addSuppressedExceptionMethod
private java.io.IOException lastException
public void (java.io.IOException)
java.io.IOException cause
public java.io.IOException getLastConnectException ()
public void addConnectException (java.io.IOException)
java.io.IOException e
private void addSuppressedIfPossible (java.io.IOException, java.io.IOException)
java.io.IOException e
java.io.IOException suppressed
static void ()
Exception e
java.lang.reflect.Method m
}
com/squareup/okhttp/internal/http/RouteSelector.classRouteSelector.java
package com.squareup.okhttp.internal.http
public final com.squareup.okhttp.internal.http.RouteSelector extends java.lang.Object {
private final com.squareup.okhttp.Address address
private final com.squareup.okhttp.HttpUrl url
private final com.squareup.okhttp.internal.Network network
private final com.squareup.okhttp.OkHttpClient client
private final com.squareup.okhttp.internal.RouteDatabase routeDatabase
private java.net.Proxy lastProxy
private java.net.InetSocketAddress lastInetSocketAddress
private java.util.List proxies
private int nextProxyIndex
private java.util.List inetSocketAddresses
private int nextInetSocketAddressIndex
private final java.util.List postponedRoutes
private void (com.squareup.okhttp.Address, com.squareup.okhttp.HttpUrl, com.squareup.okhttp.OkHttpClient)
com.squareup.okhttp.Address address
com.squareup.okhttp.HttpUrl url
com.squareup.okhttp.OkHttpClient client
public static com.squareup.okhttp.internal.http.RouteSelector get (com.squareup.okhttp.Address, com.squareup.okhttp.Request, com.squareup.okhttp.OkHttpClient) throws java.io.IOException
com.squareup.okhttp.Address address
com.squareup.okhttp.Request request
com.squareup.okhttp.OkHttpClient client
public boolean hasNext ()
public com.squareup.okhttp.Route next () throws java.io.IOException
com.squareup.okhttp.Route route
public void connectFailed (com.squareup.okhttp.Route, java.io.IOException)
com.squareup.okhttp.Route failedRoute
java.io.IOException failure
private void resetNextProxy (com.squareup.okhttp.HttpUrl, java.net.Proxy)
java.util.List selectedProxies
com.squareup.okhttp.HttpUrl url
java.net.Proxy proxy
private boolean hasNextProxy ()
private java.net.Proxy nextProxy () throws java.io.IOException
java.net.Proxy result
private void resetNextInetSocketAddress (java.net.Proxy) throws java.io.IOException
String socketHost
int socketPort
java.net.SocketAddress proxyAddress
java.net.InetSocketAddress proxySocketAddress
java.net.InetAddress inetAddress
java.net.Proxy proxy
String socketHost
int socketPort
static java.lang.String getHostString (java.net.InetSocketAddress)
java.net.InetSocketAddress socketAddress
java.net.InetAddress address
private boolean hasNextInetSocketAddress ()
private java.net.InetSocketAddress nextInetSocketAddress () throws java.io.IOException
private boolean hasNextPostponed ()
private com.squareup.okhttp.Route nextPostponed ()
}
com/squareup/okhttp/internal/http/StatusLine.classStatusLine.java
package com.squareup.okhttp.internal.http
public final com.squareup.okhttp.internal.http.StatusLine extends java.lang.Object {
public static final int HTTP_TEMP_REDIRECT
public static final int HTTP_PERM_REDIRECT
public static final int HTTP_CONTINUE
public final com.squareup.okhttp.Protocol protocol
public final int code
public final String message
public void (com.squareup.okhttp.Protocol, int, java.lang.String)
com.squareup.okhttp.Protocol protocol
int code
String message
public static com.squareup.okhttp.internal.http.StatusLine get (com.squareup.okhttp.Response)
com.squareup.okhttp.Response response
public static com.squareup.okhttp.internal.http.StatusLine parse (java.lang.String) throws java.io.IOException
com.squareup.okhttp.Protocol protocol
com.squareup.okhttp.Protocol protocol
int httpMinorVersion
int codeStart
com.squareup.okhttp.Protocol protocol
int codeStart
com.squareup.okhttp.Protocol protocol
NumberFormatException e
String statusLine
int codeStart
com.squareup.okhttp.Protocol protocol
int code
int code
String message
public java.lang.String toString ()
StringBuilder result
}
com/squareup/okhttp/internal/http/Transport.classTransport.java
package com.squareup.okhttp.internal.http
public abstract com.squareup.okhttp.internal.http.Transport extends java.lang.Object {
public static final int DISCARD_STREAM_TIMEOUT_MILLIS
public abstract okio.Sink createRequestBody (com.squareup.okhttp.Request, long) throws java.io.IOException
public abstract void writeRequestHeaders (com.squareup.okhttp.Request) throws java.io.IOException
public abstract void writeRequestBody (com.squareup.okhttp.internal.http.RetryableSink) throws java.io.IOException
public abstract void finishRequest () throws java.io.IOException
public abstract com.squareup.okhttp.Response$Builder readResponseHeaders () throws java.io.IOException
public abstract com.squareup.okhttp.ResponseBody openResponseBody (com.squareup.okhttp.Response) throws java.io.IOException
public abstract void releaseConnectionOnIdle () throws java.io.IOException
public abstract void disconnect (com.squareup.okhttp.internal.http.HttpEngine) throws java.io.IOException
public abstract boolean canReuseConnection ()
}
com/squareup/okhttp/internal/Internal.classInternal.java
package com.squareup.okhttp.internal
public abstract com.squareup.okhttp.internal.Internal extends java.lang.Object {
public static final java.util.logging.Logger logger
public static com.squareup.okhttp.internal.Internal instance
public void ()
public static void initializeInstanceForTests ()
public abstract com.squareup.okhttp.internal.http.Transport newTransport (com.squareup.okhttp.Connection, com.squareup.okhttp.internal.http.HttpEngine) throws java.io.IOException
public abstract boolean clearOwner (com.squareup.okhttp.Connection)
public abstract void closeIfOwnedBy (com.squareup.okhttp.Connection, java.lang.Object) throws java.io.IOException
public abstract int recycleCount (com.squareup.okhttp.Connection)
public abstract void setProtocol (com.squareup.okhttp.Connection, com.squareup.okhttp.Protocol)
public abstract void setOwner (com.squareup.okhttp.Connection, com.squareup.okhttp.internal.http.HttpEngine)
public abstract boolean isReadable (com.squareup.okhttp.Connection)
public abstract void addLenient (com.squareup.okhttp.Headers$Builder, java.lang.String)
public abstract void addLenient (com.squareup.okhttp.Headers$Builder, java.lang.String, java.lang.String)
public abstract void setCache (com.squareup.okhttp.OkHttpClient, com.squareup.okhttp.internal.InternalCache)
public abstract com.squareup.okhttp.internal.InternalCache internalCache (com.squareup.okhttp.OkHttpClient)
public abstract void recycle (com.squareup.okhttp.ConnectionPool, com.squareup.okhttp.Connection)
public abstract com.squareup.okhttp.internal.RouteDatabase routeDatabase (com.squareup.okhttp.OkHttpClient)
public abstract com.squareup.okhttp.internal.Network network (com.squareup.okhttp.OkHttpClient)
public abstract void setNetwork (com.squareup.okhttp.OkHttpClient, com.squareup.okhttp.internal.Network)
public abstract void connectAndSetOwner (com.squareup.okhttp.OkHttpClient, com.squareup.okhttp.Connection, com.squareup.okhttp.internal.http.HttpEngine, com.squareup.okhttp.Request) throws com.squareup.okhttp.internal.http.RouteException
public abstract void apply (com.squareup.okhttp.ConnectionSpec, javax.net.ssl.SSLSocket, boolean)
public abstract void callEnqueue (com.squareup.okhttp.Call, com.squareup.okhttp.Callback, boolean)
public abstract void callEngineReleaseConnection (com.squareup.okhttp.Call) throws java.io.IOException
public abstract com.squareup.okhttp.Connection callEngineGetConnection (com.squareup.okhttp.Call)
public abstract okio.BufferedSource connectionRawSource (com.squareup.okhttp.Connection)
public abstract okio.BufferedSink connectionRawSink (com.squareup.okhttp.Connection)
public abstract void connectionSetOwner (com.squareup.okhttp.Connection, java.lang.Object)
static void ()
}
com/squareup/okhttp/internal/InternalCache.classInternalCache.java
package com.squareup.okhttp.internal
public abstract com.squareup.okhttp.internal.InternalCache extends java.lang.Object {
public abstract com.squareup.okhttp.Response get (com.squareup.okhttp.Request) throws java.io.IOException
public abstract com.squareup.okhttp.internal.http.CacheRequest put (com.squareup.okhttp.Response) throws java.io.IOException
public abstract void remove (com.squareup.okhttp.Request) throws java.io.IOException
public abstract void update (com.squareup.okhttp.Response, com.squareup.okhttp.Response) throws java.io.IOException
public abstract void trackConditionalCacheHit ()
public abstract void trackResponse (com.squareup.okhttp.internal.http.CacheStrategy)
}
com/squareup/okhttp/internal/io/FileSystem$1.classFileSystem.java
package com.squareup.okhttp.internal.io
final com.squareup.okhttp.internal.io.FileSystem$1 extends java.lang.Object implements com.squareup.okhttp.internal.io.FileSystem {
void ()
public okio.Source source (java.io.File) throws java.io.FileNotFoundException
java.io.File file
public okio.Sink sink (java.io.File) throws java.io.FileNotFoundException
java.io.FileNotFoundException e
java.io.File file
public okio.Sink appendingSink (java.io.File) throws java.io.FileNotFoundException
java.io.FileNotFoundException e
java.io.File file
public void delete (java.io.File) throws java.io.IOException
java.io.File file
public boolean exists (java.io.File) throws java.io.IOException
java.io.File file
public long size (java.io.File)
java.io.File file
public void rename (java.io.File, java.io.File) throws java.io.IOException
java.io.File from
java.io.File to
public void deleteContents (java.io.File) throws java.io.IOException
java.io.File file
java.io.File directory
java.io.File[] files
}
com/squareup/okhttp/internal/io/FileSystem.classFileSystem.java
package com.squareup.okhttp.internal.io
public abstract com.squareup.okhttp.internal.io.FileSystem extends java.lang.Object {
public static final com.squareup.okhttp.internal.io.FileSystem SYSTEM
public abstract okio.Source source (java.io.File) throws java.io.FileNotFoundException
public abstract okio.Sink sink (java.io.File) throws java.io.FileNotFoundException
public abstract okio.Sink appendingSink (java.io.File) throws java.io.FileNotFoundException
public abstract void delete (java.io.File) throws java.io.IOException
public abstract boolean exists (java.io.File) throws java.io.IOException
public abstract long size (java.io.File)
public abstract void rename (java.io.File, java.io.File) throws java.io.IOException
public abstract void deleteContents (java.io.File) throws java.io.IOException
static void ()
}
com/squareup/okhttp/internal/NamedRunnable.classNamedRunnable.java
package com.squareup.okhttp.internal
public abstract com.squareup.okhttp.internal.NamedRunnable extends java.lang.Object implements java.lang.Runnable {
protected final String name
public transient void (java.lang.String, java.lang.Object[])
String format
Object[] args
public final void run ()
String oldName
protected abstract void execute ()
}
com/squareup/okhttp/internal/Network$1.classNetwork.java
package com.squareup.okhttp.internal
final com.squareup.okhttp.internal.Network$1 extends java.lang.Object implements com.squareup.okhttp.internal.Network {
void ()
public java.net.InetAddress[] resolveInetAddresses (java.lang.String) throws java.net.UnknownHostException
String host
}
com/squareup/okhttp/internal/Network.classNetwork.java
package com.squareup.okhttp.internal
public abstract com.squareup.okhttp.internal.Network extends java.lang.Object {
public static final com.squareup.okhttp.internal.Network DEFAULT
public abstract java.net.InetAddress[] resolveInetAddresses (java.lang.String) throws java.net.UnknownHostException
static void ()
}
com/squareup/okhttp/internal/OptionalMethod.classOptionalMethod.java
package com.squareup.okhttp.internal
com.squareup.okhttp.internal.OptionalMethod extends java.lang.Object {
private final Class returnType
private final String methodName
private final Class[] methodParams
public transient void (java.lang.Class, java.lang.String, java.lang.Class[])
Class returnType
String methodName
Class[] methodParams
public boolean isSupported (java.lang.Object)
Object target
public transient java.lang.Object invokeOptional (java.lang.Object, java.lang.Object[]) throws java.lang.reflect.InvocationTargetException
IllegalAccessException e
Object target
Object[] args
java.lang.reflect.Method m
public transient java.lang.Object invokeOptionalWithoutCheckedException (java.lang.Object, java.lang.Object[])
Throwable targetException
AssertionError error
java.lang.reflect.InvocationTargetException e
Object target
Object[] args
public transient java.lang.Object invoke (java.lang.Object, java.lang.Object[]) throws java.lang.reflect.InvocationTargetException
AssertionError error
IllegalAccessException e
Object target
Object[] args
java.lang.reflect.Method m
public transient java.lang.Object invokeWithoutCheckedException (java.lang.Object, java.lang.Object[])
Throwable targetException
AssertionError error
java.lang.reflect.InvocationTargetException e
Object target
Object[] args
private java.lang.reflect.Method getMethod (java.lang.Class)
Class clazz
java.lang.reflect.Method method
private static java.lang.reflect.Method getPublicMethod (java.lang.Class, java.lang.String, java.lang.Class[])
Class clazz
String methodName
Class[] parameterTypes
java.lang.reflect.Method method
}
com/squareup/okhttp/internal/Platform$Android.classPlatform.java
package com.squareup.okhttp.internal
com.squareup.okhttp.internal.Platform$Android extends com.squareup.okhttp.internal.Platform {
private final com.squareup.okhttp.internal.OptionalMethod setUseSessionTickets
private final com.squareup.okhttp.internal.OptionalMethod setHostname
private final java.lang.reflect.Method trafficStatsTagSocket
private final java.lang.reflect.Method trafficStatsUntagSocket
private final com.squareup.okhttp.internal.OptionalMethod getAlpnSelectedProtocol
private final com.squareup.okhttp.internal.OptionalMethod setAlpnProtocols
public void (com.squareup.okhttp.internal.OptionalMethod, com.squareup.okhttp.internal.OptionalMethod, java.lang.reflect.Method, java.lang.reflect.Method, com.squareup.okhttp.internal.OptionalMethod, com.squareup.okhttp.internal.OptionalMethod)
com.squareup.okhttp.internal.OptionalMethod setUseSessionTickets
com.squareup.okhttp.internal.OptionalMethod setHostname
java.lang.reflect.Method trafficStatsTagSocket
java.lang.reflect.Method trafficStatsUntagSocket
com.squareup.okhttp.internal.OptionalMethod getAlpnSelectedProtocol
com.squareup.okhttp.internal.OptionalMethod setAlpnProtocols
public void connectSocket (java.net.Socket, java.net.InetSocketAddress, int) throws java.io.IOException
java.io.IOException ioException
SecurityException se
java.net.Socket socket
java.net.InetSocketAddress address
int connectTimeout
public void configureTlsExtensions (javax.net.ssl.SSLSocket, java.lang.String, java.util.List)
Object[] parameters
javax.net.ssl.SSLSocket sslSocket
String hostname
java.util.List protocols
public java.lang.String getSelectedProtocol (javax.net.ssl.SSLSocket)
javax.net.ssl.SSLSocket socket
byte[] alpnResult
public void tagSocket (java.net.Socket) throws java.net.SocketException
IllegalAccessException e
java.lang.reflect.InvocationTargetException e
java.net.Socket socket
public void untagSocket (java.net.Socket) throws java.net.SocketException
IllegalAccessException e
java.lang.reflect.InvocationTargetException e
java.net.Socket socket
}
com/squareup/okhttp/internal/Platform$JdkWithJettyBootPlatform.classPlatform.java
package com.squareup.okhttp.internal
com.squareup.okhttp.internal.Platform$JdkWithJettyBootPlatform extends com.squareup.okhttp.internal.Platform {
private final java.lang.reflect.Method putMethod
private final java.lang.reflect.Method getMethod
private final java.lang.reflect.Method removeMethod
private final Class clientProviderClass
private final Class serverProviderClass
public void (java.lang.reflect.Method, java.lang.reflect.Method, java.lang.reflect.Method, java.lang.Class, java.lang.Class)
java.lang.reflect.Method putMethod
java.lang.reflect.Method getMethod
java.lang.reflect.Method removeMethod
Class clientProviderClass
Class serverProviderClass
public void configureTlsExtensions (javax.net.ssl.SSLSocket, java.lang.String, java.util.List)
com.squareup.okhttp.Protocol protocol
int i
int size
Object provider
ReflectiveOperationException e
javax.net.ssl.SSLSocket sslSocket
String hostname
java.util.List protocols
java.util.List names
public void afterHandshake (javax.net.ssl.SSLSocket)
ReflectiveOperationException ignored
javax.net.ssl.SSLSocket sslSocket
public java.lang.String getSelectedProtocol (javax.net.ssl.SSLSocket)
com.squareup.okhttp.internal.Platform$JettyNegoProvider provider
ReflectiveOperationException e
javax.net.ssl.SSLSocket socket
}
com/squareup/okhttp/internal/Platform$JettyNegoProvider.classPlatform.java
package com.squareup.okhttp.internal
com.squareup.okhttp.internal.Platform$JettyNegoProvider extends java.lang.Object implements java.lang.reflect.InvocationHandler {
private final java.util.List protocols
private boolean unsupported
private String selected
public void (java.util.List)
java.util.List protocols
public java.lang.Object invoke (java.lang.Object, java.lang.reflect.Method, java.lang.Object[]) throws java.lang.Throwable
int i
int size
java.util.List peerProtocols
Object proxy
java.lang.reflect.Method method
Object[] args
String methodName
Class returnType
static boolean access$000 (com.squareup.okhttp.internal.Platform$JettyNegoProvider)
com.squareup.okhttp.internal.Platform$JettyNegoProvider x0
static java.lang.String access$100 (com.squareup.okhttp.internal.Platform$JettyNegoProvider)
com.squareup.okhttp.internal.Platform$JettyNegoProvider x0
}
com/squareup/okhttp/internal/Platform.classPlatform.java
package com.squareup.okhttp.internal
public com.squareup.okhttp.internal.Platform extends java.lang.Object {
private static final com.squareup.okhttp.internal.Platform PLATFORM
public void ()
public static com.squareup.okhttp.internal.Platform get ()
public java.lang.String getPrefix ()
public void logW (java.lang.String)
String warning
public void tagSocket (java.net.Socket) throws java.net.SocketException
java.net.Socket socket
public void untagSocket (java.net.Socket) throws java.net.SocketException
java.net.Socket socket
public void configureTlsExtensions (javax.net.ssl.SSLSocket, java.lang.String, java.util.List)
javax.net.ssl.SSLSocket sslSocket
String hostname
java.util.List protocols
public void afterHandshake (javax.net.ssl.SSLSocket)
javax.net.ssl.SSLSocket sslSocket
public java.lang.String getSelectedProtocol (javax.net.ssl.SSLSocket)
javax.net.ssl.SSLSocket socket
public void connectSocket (java.net.Socket, java.net.InetSocketAddress, int) throws java.io.IOException
java.net.Socket socket
java.net.InetSocketAddress address
int connectTimeout
private static com.squareup.okhttp.internal.Platform findPlatform ()
ClassNotFoundException e
Class trafficStats
com.squareup.okhttp.internal.OptionalMethod setUseSessionTickets
com.squareup.okhttp.internal.OptionalMethod setHostname
java.lang.reflect.Method trafficStatsTagSocket
java.lang.reflect.Method trafficStatsUntagSocket
com.squareup.okhttp.internal.OptionalMethod getAlpnSelectedProtocol
com.squareup.okhttp.internal.OptionalMethod setAlpnProtocols
String negoClassName
Class negoClass
Class providerClass
Class clientProviderClass
Class serverProviderClass
java.lang.reflect.Method putMethod
java.lang.reflect.Method getMethod
java.lang.reflect.Method removeMethod
static byte[] concatLengthPrefixed (java.util.List)
com.squareup.okhttp.Protocol protocol
int i
int size
java.util.List protocols
okio.Buffer result
static void ()
}
com/squareup/okhttp/internal/RouteDatabase.classRouteDatabase.java
package com.squareup.okhttp.internal
public final com.squareup.okhttp.internal.RouteDatabase extends java.lang.Object {
private final java.util.Set failedRoutes
public void ()
public synchronized void failed (com.squareup.okhttp.Route)
com.squareup.okhttp.Route failedRoute
public synchronized void connected (com.squareup.okhttp.Route)
com.squareup.okhttp.Route route
public synchronized boolean shouldPostpone (com.squareup.okhttp.Route)
com.squareup.okhttp.Route route
public synchronized int failedRoutesCount ()
}
com/squareup/okhttp/internal/tls/DistinguishedNameParser.classDistinguishedNameParser.java
package com.squareup.okhttp.internal.tls
final com.squareup.okhttp.internal.tls.DistinguishedNameParser extends java.lang.Object {
private final String dn
private final int length
private int pos
private int beg
private int end
private int cur
private char[] chars
public void (javax.security.auth.x500.X500Principal)
javax.security.auth.x500.X500Principal principal
private java.lang.String nextAT ()
private java.lang.String quotedAV ()
private java.lang.String hexAV ()
int i
int p
int hexLen
byte[] encoded
private java.lang.String escapedAV ()
private char getEscaped ()
private char getUTF8 ()
int count
int count
int b
int i
int count
int res
private int getByte (int)
int position
int b1
int b2
public java.lang.String findMostSpecific (java.lang.String)
String attValue
String attributeType
String attType
}
com/squareup/okhttp/internal/tls/OkHostnameVerifier.classOkHostnameVerifier.java
package com.squareup.okhttp.internal.tls
public final com.squareup.okhttp.internal.tls.OkHostnameVerifier extends java.lang.Object implements javax.net.ssl.HostnameVerifier {
public static final com.squareup.okhttp.internal.tls.OkHostnameVerifier INSTANCE
private static final java.util.regex.Pattern VERIFY_AS_IP_ADDRESS
private static final int ALT_DNS_NAME
private static final int ALT_IPA_NAME
private void ()
public boolean verify (java.lang.String, javax.net.ssl.SSLSession)
java.security.cert.Certificate[] certificates
javax.net.ssl.SSLException e
String host
javax.net.ssl.SSLSession session
public boolean verify (java.lang.String, java.security.cert.X509Certificate)
String host
java.security.cert.X509Certificate certificate
static boolean verifyAsIpAddress (java.lang.String)
String host
private boolean verifyIpAddress (java.lang.String, java.security.cert.X509Certificate)
int i
int size
String ipAddress
java.security.cert.X509Certificate certificate
java.util.List altNames
private boolean verifyHostName (java.lang.String, java.security.cert.X509Certificate)
int i
int size
javax.security.auth.x500.X500Principal principal
String cn
String hostName
java.security.cert.X509Certificate certificate
boolean hasDns
java.util.List altNames
public static java.util.List allSubjectAltNames (java.security.cert.X509Certificate)
java.security.cert.X509Certificate certificate
java.util.List altIpaNames
java.util.List altDnsNames
java.util.List result
private static java.util.List getSubjectAltNames (java.security.cert.X509Certificate, int)
String altName
java.util.List entry
Integer altNameType
Object subjectAltName
java.util.Collection subjectAltNames
java.security.cert.CertificateParsingException e
java.security.cert.X509Certificate certificate
int type
java.util.List result
private boolean verifyHostName (java.lang.String, java.lang.String)
String hostName
String pattern
String suffix
int suffixStartIndexInHostName
static void ()
}
com/squareup/okhttp/internal/Util$1.classUtil.java
package com.squareup.okhttp.internal
final com.squareup.okhttp.internal.Util$1 extends java.lang.Object implements java.util.concurrent.ThreadFactory {
final String val$name
final boolean val$daemon
void (java.lang.String, boolean)
public java.lang.Thread newThread (java.lang.Runnable)
Runnable runnable
Thread result
}
com/squareup/okhttp/internal/Util.classUtil.java
package com.squareup.okhttp.internal
public final com.squareup.okhttp.internal.Util extends java.lang.Object {
public static final byte[] EMPTY_BYTE_ARRAY
public static final String[] EMPTY_STRING_ARRAY
public static final java.nio.charset.Charset UTF_8
private void ()
public static void checkOffsetAndCount (long, long, long)
long arrayLength
long offset
long count
public static boolean equal (java.lang.Object, java.lang.Object)
Object a
Object b
public static void closeQuietly (java.io.Closeable)
RuntimeException rethrown
java.io.Closeable closeable
public static void closeQuietly (java.net.Socket)
AssertionError e
RuntimeException rethrown
java.net.Socket socket
public static void closeQuietly (java.net.ServerSocket)
RuntimeException rethrown
java.net.ServerSocket serverSocket
public static void closeAll (java.io.Closeable, java.io.Closeable) throws java.io.IOException
Throwable e
Throwable e
java.io.Closeable a
java.io.Closeable b
Throwable thrown
public static boolean discard (okio.Source, int, java.util.concurrent.TimeUnit)
java.io.IOException e
okio.Source source
int timeout
java.util.concurrent.TimeUnit timeUnit
public static boolean skipAll (okio.Source, int, java.util.concurrent.TimeUnit) throws java.io.IOException
okio.Buffer skipBuffer
java.io.InterruptedIOException e
okio.Source source
int duration
java.util.concurrent.TimeUnit timeUnit
long now
long originalDuration
public static java.lang.String md5Hex (java.lang.String)
java.security.MessageDigest messageDigest
byte[] md5bytes
Exception e
String s
public static java.lang.String shaBase64 (java.lang.String)
java.security.MessageDigest messageDigest
byte[] sha1Bytes
Exception e
String s
public static okio.ByteString sha1 (okio.ByteString)
java.security.MessageDigest messageDigest
byte[] sha1Bytes
java.security.NoSuchAlgorithmException e
okio.ByteString s
public static java.util.List immutableList (java.util.List)
java.util.List list
public static transient java.util.List immutableList (java.lang.Object[])
Object[] elements
public static java.util.Map immutableMap (java.util.Map)
java.util.Map map
public static java.util.concurrent.ThreadFactory threadFactory (java.lang.String, boolean)
String name
boolean daemon
public static java.lang.Object[] intersect (java.lang.Class, java.lang.Object[], java.lang.Object[])
Class arrayType
Object[] first
Object[] second
java.util.List result
private static java.util.List intersect (java.lang.Object[], java.lang.Object[])
Object b
Object a
Object[] first
Object[] second
java.util.List result
public static java.lang.String hostHeader (com.squareup.okhttp.HttpUrl)
com.squareup.okhttp.HttpUrl url
public static java.lang.String toHumanReadableAscii (java.lang.String)
int j
okio.Buffer buffer
int i
int length
int c
String s
public static boolean isAndroidGetsocknameError (java.lang.AssertionError)
AssertionError e
static void ()
}
com/squareup/okhttp/internal/Version.classVersion.java
package com.squareup.okhttp.internal
public final com.squareup.okhttp.internal.Version extends java.lang.Object {
public static java.lang.String userAgent ()
private void ()
}
com/squareup/okhttp/MediaType.classMediaType.java
package com.squareup.okhttp
public final com.squareup.okhttp.MediaType extends java.lang.Object {
private static final String TOKEN
private static final String QUOTED
private static final java.util.regex.Pattern TYPE_SUBTYPE
private static final java.util.regex.Pattern PARAMETER
private final String mediaType
private final String type
private final String subtype
private final String charset
private void (java.lang.String, java.lang.String, java.lang.String, java.lang.String)
String mediaType
String type
String subtype
String charset
public static com.squareup.okhttp.MediaType parse (java.lang.String)
String name
String charsetParameter
int s
String string
java.util.regex.Matcher typeSubtype
String type
String subtype
String charset
java.util.regex.Matcher parameter
public java.lang.String type ()
public java.lang.String subtype ()
public java.nio.charset.Charset charset ()
public java.nio.charset.Charset charset (java.nio.charset.Charset)
java.nio.charset.Charset defaultValue
public java.lang.String toString ()
public boolean equals (java.lang.Object)
Object o
public int hashCode ()
static void ()
}
com/squareup/okhttp/MultipartBuilder$MultipartRequestBody.classMultipartBuilder.java
package com.squareup.okhttp
final com.squareup.okhttp.MultipartBuilder$MultipartRequestBody extends com.squareup.okhttp.RequestBody {
private final okio.ByteString boundary
private final com.squareup.okhttp.MediaType contentType
private final java.util.List partHeaders
private final java.util.List partBodies
private long contentLength
public void (com.squareup.okhttp.MediaType, okio.ByteString, java.util.List, java.util.List)
com.squareup.okhttp.MediaType type
okio.ByteString boundary
java.util.List partHeaders
java.util.List partBodies
public com.squareup.okhttp.MediaType contentType ()
public long contentLength () throws java.io.IOException
long result
private long writeOrCountBytes (okio.BufferedSink, boolean) throws java.io.IOException
int h
int headerCount
com.squareup.okhttp.Headers headers
com.squareup.okhttp.RequestBody body
com.squareup.okhttp.MediaType contentType
long contentLength
int p
int partCount
okio.BufferedSink sink
boolean countBytes
long byteCount
okio.Buffer byteCountBuffer
public void writeTo (okio.BufferedSink) throws java.io.IOException
okio.BufferedSink sink
}
com/squareup/okhttp/MultipartBuilder.classMultipartBuilder.java
package com.squareup.okhttp
public final com.squareup.okhttp.MultipartBuilder extends java.lang.Object {
public static final com.squareup.okhttp.MediaType MIXED
public static final com.squareup.okhttp.MediaType ALTERNATIVE
public static final com.squareup.okhttp.MediaType DIGEST
public static final com.squareup.okhttp.MediaType PARALLEL
public static final com.squareup.okhttp.MediaType FORM
private static final byte[] COLONSPACE
private static final byte[] CRLF
private static final byte[] DASHDASH
private final okio.ByteString boundary
private com.squareup.okhttp.MediaType type
private final java.util.List partHeaders
private final java.util.List partBodies
public void ()
public void (java.lang.String)
String boundary
public com.squareup.okhttp.MultipartBuilder type (com.squareup.okhttp.MediaType)
com.squareup.okhttp.MediaType type
public com.squareup.okhttp.MultipartBuilder addPart (com.squareup.okhttp.RequestBody)
com.squareup.okhttp.RequestBody body
public com.squareup.okhttp.MultipartBuilder addPart (com.squareup.okhttp.Headers, com.squareup.okhttp.RequestBody)
com.squareup.okhttp.Headers headers
com.squareup.okhttp.RequestBody body
private static java.lang.StringBuilder appendQuotedString (java.lang.StringBuilder, java.lang.String)
char ch
int i
int len
StringBuilder target
String key
public com.squareup.okhttp.MultipartBuilder addFormDataPart (java.lang.String, java.lang.String)
String name
String value
public com.squareup.okhttp.MultipartBuilder addFormDataPart (java.lang.String, java.lang.String, com.squareup.okhttp.RequestBody)
String name
String filename
com.squareup.okhttp.RequestBody value
StringBuilder disposition
public com.squareup.okhttp.RequestBody build ()
static byte[] access$000 ()
static byte[] access$100 ()
static byte[] access$200 ()
static void ()
}
com/squareup/okhttp/OkHttpClient$1.classOkHttpClient.java
package com.squareup.okhttp
final com.squareup.okhttp.OkHttpClient$1 extends com.squareup.okhttp.internal.Internal {
void ()
public com.squareup.okhttp.internal.http.Transport newTransport (com.squareup.okhttp.Connection, com.squareup.okhttp.internal.http.HttpEngine) throws java.io.IOException
com.squareup.okhttp.Connection connection
com.squareup.okhttp.internal.http.HttpEngine httpEngine
public boolean clearOwner (com.squareup.okhttp.Connection)
com.squareup.okhttp.Connection connection
public void closeIfOwnedBy (com.squareup.okhttp.Connection, java.lang.Object) throws java.io.IOException
com.squareup.okhttp.Connection connection
Object owner
public int recycleCount (com.squareup.okhttp.Connection)
com.squareup.okhttp.Connection connection
public void setProtocol (com.squareup.okhttp.Connection, com.squareup.okhttp.Protocol)
com.squareup.okhttp.Connection connection
com.squareup.okhttp.Protocol protocol
public void setOwner (com.squareup.okhttp.Connection, com.squareup.okhttp.internal.http.HttpEngine)
com.squareup.okhttp.Connection connection
com.squareup.okhttp.internal.http.HttpEngine httpEngine
public boolean isReadable (com.squareup.okhttp.Connection)
com.squareup.okhttp.Connection pooled
public void addLenient (com.squareup.okhttp.Headers$Builder, java.lang.String)
com.squareup.okhttp.Headers$Builder builder
String line
public void addLenient (com.squareup.okhttp.Headers$Builder, java.lang.String, java.lang.String)
com.squareup.okhttp.Headers$Builder builder
String name
String value
public void setCache (com.squareup.okhttp.OkHttpClient, com.squareup.okhttp.internal.InternalCache)
com.squareup.okhttp.OkHttpClient client
com.squareup.okhttp.internal.InternalCache internalCache
public com.squareup.okhttp.internal.InternalCache internalCache (com.squareup.okhttp.OkHttpClient)
com.squareup.okhttp.OkHttpClient client
public void recycle (com.squareup.okhttp.ConnectionPool, com.squareup.okhttp.Connection)
com.squareup.okhttp.ConnectionPool pool
com.squareup.okhttp.Connection connection
public com.squareup.okhttp.internal.RouteDatabase routeDatabase (com.squareup.okhttp.OkHttpClient)
com.squareup.okhttp.OkHttpClient client
public com.squareup.okhttp.internal.Network network (com.squareup.okhttp.OkHttpClient)
com.squareup.okhttp.OkHttpClient client
public void setNetwork (com.squareup.okhttp.OkHttpClient, com.squareup.okhttp.internal.Network)
com.squareup.okhttp.OkHttpClient client
com.squareup.okhttp.internal.Network network
public void connectAndSetOwner (com.squareup.okhttp.OkHttpClient, com.squareup.okhttp.Connection, com.squareup.okhttp.internal.http.HttpEngine, com.squareup.okhttp.Request) throws com.squareup.okhttp.internal.http.RouteException
com.squareup.okhttp.OkHttpClient client
com.squareup.okhttp.Connection connection
com.squareup.okhttp.internal.http.HttpEngine owner
com.squareup.okhttp.Request request
public void callEnqueue (com.squareup.okhttp.Call, com.squareup.okhttp.Callback, boolean)
com.squareup.okhttp.Call call
com.squareup.okhttp.Callback responseCallback
boolean forWebSocket
public void callEngineReleaseConnection (com.squareup.okhttp.Call) throws java.io.IOException
com.squareup.okhttp.Call call
public com.squareup.okhttp.Connection callEngineGetConnection (com.squareup.okhttp.Call)
com.squareup.okhttp.Call call
public okio.BufferedSource connectionRawSource (com.squareup.okhttp.Connection)
com.squareup.okhttp.Connection connection
public okio.BufferedSink connectionRawSink (com.squareup.okhttp.Connection)
com.squareup.okhttp.Connection connection
public void connectionSetOwner (com.squareup.okhttp.Connection, java.lang.Object)
com.squareup.okhttp.Connection connection
Object owner
public void apply (com.squareup.okhttp.ConnectionSpec, javax.net.ssl.SSLSocket, boolean)
com.squareup.okhttp.ConnectionSpec tlsConfiguration
javax.net.ssl.SSLSocket sslSocket
boolean isFallback
}
com/squareup/okhttp/OkHttpClient.classOkHttpClient.java
package com.squareup.okhttp
public com.squareup.okhttp.OkHttpClient extends java.lang.Object implements java.lang.Cloneable {
private static final java.util.List DEFAULT_PROTOCOLS
private static final java.util.List DEFAULT_CONNECTION_SPECS
private static javax.net.ssl.SSLSocketFactory defaultSslSocketFactory
private final com.squareup.okhttp.internal.RouteDatabase routeDatabase
private com.squareup.okhttp.Dispatcher dispatcher
private java.net.Proxy proxy
private java.util.List protocols
private java.util.List connectionSpecs
private final java.util.List interceptors
private final java.util.List networkInterceptors
private java.net.ProxySelector proxySelector
private java.net.CookieHandler cookieHandler
private com.squareup.okhttp.internal.InternalCache internalCache
private com.squareup.okhttp.Cache cache
private javax.net.SocketFactory socketFactory
private javax.net.ssl.SSLSocketFactory sslSocketFactory
private javax.net.ssl.HostnameVerifier hostnameVerifier
private com.squareup.okhttp.CertificatePinner certificatePinner
private com.squareup.okhttp.Authenticator authenticator
private com.squareup.okhttp.ConnectionPool connectionPool
private com.squareup.okhttp.internal.Network network
private boolean followSslRedirects
private boolean followRedirects
private boolean retryOnConnectionFailure
private int connectTimeout
private int readTimeout
private int writeTimeout
public void ()
private void (com.squareup.okhttp.OkHttpClient)
com.squareup.okhttp.OkHttpClient okHttpClient
public void setConnectTimeout (long, java.util.concurrent.TimeUnit)
long timeout
java.util.concurrent.TimeUnit unit
long millis
public int getConnectTimeout ()
public void setReadTimeout (long, java.util.concurrent.TimeUnit)
long timeout
java.util.concurrent.TimeUnit unit
long millis
public int getReadTimeout ()
public void setWriteTimeout (long, java.util.concurrent.TimeUnit)
long timeout
java.util.concurrent.TimeUnit unit
long millis
public int getWriteTimeout ()
public com.squareup.okhttp.OkHttpClient setProxy (java.net.Proxy)
java.net.Proxy proxy
public java.net.Proxy getProxy ()
public com.squareup.okhttp.OkHttpClient setProxySelector (java.net.ProxySelector)
java.net.ProxySelector proxySelector
public java.net.ProxySelector getProxySelector ()
public com.squareup.okhttp.OkHttpClient setCookieHandler (java.net.CookieHandler)
java.net.CookieHandler cookieHandler
public java.net.CookieHandler getCookieHandler ()
void setInternalCache (com.squareup.okhttp.internal.InternalCache)
com.squareup.okhttp.internal.InternalCache internalCache
com.squareup.okhttp.internal.InternalCache internalCache ()
public com.squareup.okhttp.OkHttpClient setCache (com.squareup.okhttp.Cache)
com.squareup.okhttp.Cache cache
public com.squareup.okhttp.Cache getCache ()
public com.squareup.okhttp.OkHttpClient setSocketFactory (javax.net.SocketFactory)
javax.net.SocketFactory socketFactory
public javax.net.SocketFactory getSocketFactory ()
public com.squareup.okhttp.OkHttpClient setSslSocketFactory (javax.net.ssl.SSLSocketFactory)
javax.net.ssl.SSLSocketFactory sslSocketFactory
public javax.net.ssl.SSLSocketFactory getSslSocketFactory ()
public com.squareup.okhttp.OkHttpClient setHostnameVerifier (javax.net.ssl.HostnameVerifier)
javax.net.ssl.HostnameVerifier hostnameVerifier
public javax.net.ssl.HostnameVerifier getHostnameVerifier ()
public com.squareup.okhttp.OkHttpClient setCertificatePinner (com.squareup.okhttp.CertificatePinner)
com.squareup.okhttp.CertificatePinner certificatePinner
public com.squareup.okhttp.CertificatePinner getCertificatePinner ()
public com.squareup.okhttp.OkHttpClient setAuthenticator (com.squareup.okhttp.Authenticator)
com.squareup.okhttp.Authenticator authenticator
public com.squareup.okhttp.Authenticator getAuthenticator ()
public com.squareup.okhttp.OkHttpClient setConnectionPool (com.squareup.okhttp.ConnectionPool)
com.squareup.okhttp.ConnectionPool connectionPool
public com.squareup.okhttp.ConnectionPool getConnectionPool ()
public com.squareup.okhttp.OkHttpClient setFollowSslRedirects (boolean)
boolean followProtocolRedirects
public boolean getFollowSslRedirects ()
public void setFollowRedirects (boolean)
boolean followRedirects
public boolean getFollowRedirects ()
public void setRetryOnConnectionFailure (boolean)
boolean retryOnConnectionFailure
public boolean getRetryOnConnectionFailure ()
com.squareup.okhttp.internal.RouteDatabase routeDatabase ()
public com.squareup.okhttp.OkHttpClient setDispatcher (com.squareup.okhttp.Dispatcher)
com.squareup.okhttp.Dispatcher dispatcher
public com.squareup.okhttp.Dispatcher getDispatcher ()
public com.squareup.okhttp.OkHttpClient setProtocols (java.util.List)
java.util.List protocols
public java.util.List getProtocols ()
public com.squareup.okhttp.OkHttpClient setConnectionSpecs (java.util.List)
java.util.List connectionSpecs
public java.util.List getConnectionSpecs ()
public java.util.List interceptors ()
public java.util.List networkInterceptors ()
public com.squareup.okhttp.Call newCall (com.squareup.okhttp.Request)
com.squareup.okhttp.Request request
public com.squareup.okhttp.OkHttpClient cancel (java.lang.Object)
Object tag
com.squareup.okhttp.OkHttpClient copyWithDefaults ()
com.squareup.okhttp.OkHttpClient result
private synchronized javax.net.ssl.SSLSocketFactory getDefaultSSLSocketFactory ()
javax.net.ssl.SSLContext sslContext
java.security.GeneralSecurityException e
public com.squareup.okhttp.OkHttpClient clone ()
public volatile java.lang.Object clone () throws java.lang.CloneNotSupportedException
static com.squareup.okhttp.internal.Network access$000 (com.squareup.okhttp.OkHttpClient)
com.squareup.okhttp.OkHttpClient x0
static com.squareup.okhttp.internal.Network access$002 (com.squareup.okhttp.OkHttpClient, com.squareup.okhttp.internal.Network)
com.squareup.okhttp.OkHttpClient x0
com.squareup.okhttp.internal.Network x1
static void ()
}
com/squareup/okhttp/Protocol.classProtocol.java
package com.squareup.okhttp
public final com.squareup.okhttp.Protocol extends java.lang.Enum {
public static final com.squareup.okhttp.Protocol HTTP_1_0
public static final com.squareup.okhttp.Protocol HTTP_1_1
public static final com.squareup.okhttp.Protocol SPDY_3
public static final com.squareup.okhttp.Protocol HTTP_2
private final String protocol
private static final com.squareup.okhttp.Protocol[] $VALUES
public static com.squareup.okhttp.Protocol[] values ()
public static com.squareup.okhttp.Protocol valueOf (java.lang.String)
String name
private void (java.lang.String, int, java.lang.String)
String protocol
public static com.squareup.okhttp.Protocol get (java.lang.String) throws java.io.IOException
String protocol
public java.lang.String toString ()
static void ()
}
com/squareup/okhttp/Request$1.classRequest.java
package com.squareup.okhttp
com.squareup.okhttp.Request$1 extends java.lang.Object {
}
com/squareup/okhttp/Request$Builder.classRequest.java
package com.squareup.okhttp
public com.squareup.okhttp.Request$Builder extends java.lang.Object {
private com.squareup.okhttp.HttpUrl url
private String method
private com.squareup.okhttp.Headers$Builder headers
private com.squareup.okhttp.RequestBody body
private Object tag
public void ()
private void (com.squareup.okhttp.Request)
com.squareup.okhttp.Request request
public com.squareup.okhttp.Request$Builder url (com.squareup.okhttp.HttpUrl)
com.squareup.okhttp.HttpUrl url
public com.squareup.okhttp.Request$Builder url (java.lang.String)
String url
com.squareup.okhttp.HttpUrl parsed
public com.squareup.okhttp.Request$Builder url (java.net.URL)
java.net.URL url
com.squareup.okhttp.HttpUrl parsed
public com.squareup.okhttp.Request$Builder header (java.lang.String, java.lang.String)
String name
String value
public com.squareup.okhttp.Request$Builder addHeader (java.lang.String, java.lang.String)
String name
String value
public com.squareup.okhttp.Request$Builder removeHeader (java.lang.String)
String name
public com.squareup.okhttp.Request$Builder headers (com.squareup.okhttp.Headers)
com.squareup.okhttp.Headers headers
public com.squareup.okhttp.Request$Builder cacheControl (com.squareup.okhttp.CacheControl)
com.squareup.okhttp.CacheControl cacheControl
String value
public com.squareup.okhttp.Request$Builder get ()
public com.squareup.okhttp.Request$Builder head ()
public com.squareup.okhttp.Request$Builder post (com.squareup.okhttp.RequestBody)
com.squareup.okhttp.RequestBody body
public com.squareup.okhttp.Request$Builder delete (com.squareup.okhttp.RequestBody)
com.squareup.okhttp.RequestBody body
public com.squareup.okhttp.Request$Builder delete ()
public com.squareup.okhttp.Request$Builder put (com.squareup.okhttp.RequestBody)
com.squareup.okhttp.RequestBody body
public com.squareup.okhttp.Request$Builder patch (com.squareup.okhttp.RequestBody)
com.squareup.okhttp.RequestBody body
public com.squareup.okhttp.Request$Builder method (java.lang.String, com.squareup.okhttp.RequestBody)
String method
com.squareup.okhttp.RequestBody body
public com.squareup.okhttp.Request$Builder tag (java.lang.Object)
Object tag
public com.squareup.okhttp.Request build ()
static com.squareup.okhttp.HttpUrl access$000 (com.squareup.okhttp.Request$Builder)
com.squareup.okhttp.Request$Builder x0
static java.lang.String access$100 (com.squareup.okhttp.Request$Builder)
com.squareup.okhttp.Request$Builder x0
static com.squareup.okhttp.Headers$Builder access$200 (com.squareup.okhttp.Request$Builder)
com.squareup.okhttp.Request$Builder x0
static com.squareup.okhttp.RequestBody access$300 (com.squareup.okhttp.Request$Builder)
com.squareup.okhttp.Request$Builder x0
static java.lang.Object access$400 (com.squareup.okhttp.Request$Builder)
com.squareup.okhttp.Request$Builder x0
void (com.squareup.okhttp.Request, com.squareup.okhttp.Request$1)
com.squareup.okhttp.Request x0
com.squareup.okhttp.Request$1 x1
}
com/squareup/okhttp/Request.classRequest.java
package com.squareup.okhttp
public final com.squareup.okhttp.Request extends java.lang.Object {
private final com.squareup.okhttp.HttpUrl url
private final String method
private final com.squareup.okhttp.Headers headers
private final com.squareup.okhttp.RequestBody body
private final Object tag
private volatile java.net.URL javaNetUrl
private volatile java.net.URI javaNetUri
private volatile com.squareup.okhttp.CacheControl cacheControl
private void (com.squareup.okhttp.Request$Builder)
com.squareup.okhttp.Request$Builder builder
public com.squareup.okhttp.HttpUrl httpUrl ()
public java.net.URL url ()
java.net.URL result
public java.net.URI uri () throws java.io.IOException
java.net.URI result
IllegalStateException e
public java.lang.String urlString ()
public java.lang.String method ()
public com.squareup.okhttp.Headers headers ()
public java.lang.String header (java.lang.String)
String name
public java.util.List headers (java.lang.String)
String name
public com.squareup.okhttp.RequestBody body ()
public java.lang.Object tag ()
public com.squareup.okhttp.Request$Builder newBuilder ()
public com.squareup.okhttp.CacheControl cacheControl ()
com.squareup.okhttp.CacheControl result
public boolean isHttps ()
public java.lang.String toString ()
static com.squareup.okhttp.HttpUrl access$600 (com.squareup.okhttp.Request)
com.squareup.okhttp.Request x0
static java.lang.String access$700 (com.squareup.okhttp.Request)
com.squareup.okhttp.Request x0
static com.squareup.okhttp.RequestBody access$800 (com.squareup.okhttp.Request)
com.squareup.okhttp.Request x0
static java.lang.Object access$900 (com.squareup.okhttp.Request)
com.squareup.okhttp.Request x0
static com.squareup.okhttp.Headers access$1000 (com.squareup.okhttp.Request)
com.squareup.okhttp.Request x0
void (com.squareup.okhttp.Request$Builder, com.squareup.okhttp.Request$1)
com.squareup.okhttp.Request$Builder x0
com.squareup.okhttp.Request$1 x1
}
com/squareup/okhttp/RequestBody$1.classRequestBody.java
package com.squareup.okhttp
final com.squareup.okhttp.RequestBody$1 extends com.squareup.okhttp.RequestBody {
final com.squareup.okhttp.MediaType val$contentType
final okio.ByteString val$content
void (com.squareup.okhttp.MediaType, okio.ByteString)
public com.squareup.okhttp.MediaType contentType ()
public long contentLength () throws java.io.IOException
public void writeTo (okio.BufferedSink) throws java.io.IOException
okio.BufferedSink sink
}
com/squareup/okhttp/RequestBody$2.classRequestBody.java
package com.squareup.okhttp
final com.squareup.okhttp.RequestBody$2 extends com.squareup.okhttp.RequestBody {
final com.squareup.okhttp.MediaType val$contentType
final int val$byteCount
final byte[] val$content
final int val$offset
void (com.squareup.okhttp.MediaType, int, byte[], int)
public com.squareup.okhttp.MediaType contentType ()
public long contentLength ()
public void writeTo (okio.BufferedSink) throws java.io.IOException
okio.BufferedSink sink
}
com/squareup/okhttp/RequestBody$3.classRequestBody.java
package com.squareup.okhttp
final com.squareup.okhttp.RequestBody$3 extends com.squareup.okhttp.RequestBody {
final com.squareup.okhttp.MediaType val$contentType
final java.io.File val$file
void (com.squareup.okhttp.MediaType, java.io.File)
public com.squareup.okhttp.MediaType contentType ()
public long contentLength ()
public void writeTo (okio.BufferedSink) throws java.io.IOException
okio.BufferedSink sink
okio.Source source
}
com/squareup/okhttp/RequestBody.classRequestBody.java
package com.squareup.okhttp
public abstract com.squareup.okhttp.RequestBody extends java.lang.Object {
public void ()
public abstract com.squareup.okhttp.MediaType contentType ()
public long contentLength () throws java.io.IOException
public abstract void writeTo (okio.BufferedSink) throws java.io.IOException
public static com.squareup.okhttp.RequestBody create (com.squareup.okhttp.MediaType, java.lang.String)
com.squareup.okhttp.MediaType contentType
String content
java.nio.charset.Charset charset
byte[] bytes
public static com.squareup.okhttp.RequestBody create (com.squareup.okhttp.MediaType, okio.ByteString)
com.squareup.okhttp.MediaType contentType
okio.ByteString content
public static com.squareup.okhttp.RequestBody create (com.squareup.okhttp.MediaType, byte[])
com.squareup.okhttp.MediaType contentType
byte[] content
public static com.squareup.okhttp.RequestBody create (com.squareup.okhttp.MediaType, byte[], int, int)
com.squareup.okhttp.MediaType contentType
byte[] content
int offset
int byteCount
public static com.squareup.okhttp.RequestBody create (com.squareup.okhttp.MediaType, java.io.File)
com.squareup.okhttp.MediaType contentType
java.io.File file
}
com/squareup/okhttp/Response$1.classResponse.java
package com.squareup.okhttp
com.squareup.okhttp.Response$1 extends java.lang.Object {
}
com/squareup/okhttp/Response$Builder.classResponse.java
package com.squareup.okhttp
public com.squareup.okhttp.Response$Builder extends java.lang.Object {
private com.squareup.okhttp.Request request
private com.squareup.okhttp.Protocol protocol
private int code
private String message
private com.squareup.okhttp.Handshake handshake
private com.squareup.okhttp.Headers$Builder headers
private com.squareup.okhttp.ResponseBody body
private com.squareup.okhttp.Response networkResponse
private com.squareup.okhttp.Response cacheResponse
private com.squareup.okhttp.Response priorResponse
public void ()
private void (com.squareup.okhttp.Response)
com.squareup.okhttp.Response response
public com.squareup.okhttp.Response$Builder request (com.squareup.okhttp.Request)
com.squareup.okhttp.Request request
public com.squareup.okhttp.Response$Builder protocol (com.squareup.okhttp.Protocol)
com.squareup.okhttp.Protocol protocol
public com.squareup.okhttp.Response$Builder code (int)
int code
public com.squareup.okhttp.Response$Builder message (java.lang.String)
String message
public com.squareup.okhttp.Response$Builder handshake (com.squareup.okhttp.Handshake)
com.squareup.okhttp.Handshake handshake
public com.squareup.okhttp.Response$Builder header (java.lang.String, java.lang.String)
String name
String value
public com.squareup.okhttp.Response$Builder addHeader (java.lang.String, java.lang.String)
String name
String value
public com.squareup.okhttp.Response$Builder removeHeader (java.lang.String)
String name
public com.squareup.okhttp.Response$Builder headers (com.squareup.okhttp.Headers)
com.squareup.okhttp.Headers headers
public com.squareup.okhttp.Response$Builder body (com.squareup.okhttp.ResponseBody)
com.squareup.okhttp.ResponseBody body
public com.squareup.okhttp.Response$Builder networkResponse (com.squareup.okhttp.Response)
com.squareup.okhttp.Response networkResponse
public com.squareup.okhttp.Response$Builder cacheResponse (com.squareup.okhttp.Response)
com.squareup.okhttp.Response cacheResponse
private void checkSupportResponse (java.lang.String, com.squareup.okhttp.Response)
String name
com.squareup.okhttp.Response response
public com.squareup.okhttp.Response$Builder priorResponse (com.squareup.okhttp.Response)
com.squareup.okhttp.Response priorResponse
private void checkPriorResponse (com.squareup.okhttp.Response)
com.squareup.okhttp.Response response
public com.squareup.okhttp.Response build ()
static com.squareup.okhttp.Request access$000 (com.squareup.okhttp.Response$Builder)
com.squareup.okhttp.Response$Builder x0
static com.squareup.okhttp.Protocol access$100 (com.squareup.okhttp.Response$Builder)
com.squareup.okhttp.Response$Builder x0
static int access$200 (com.squareup.okhttp.Response$Builder)
com.squareup.okhttp.Response$Builder x0
static java.lang.String access$300 (com.squareup.okhttp.Response$Builder)
com.squareup.okhttp.Response$Builder x0
static com.squareup.okhttp.Handshake access$400 (com.squareup.okhttp.Response$Builder)
com.squareup.okhttp.Response$Builder x0
static com.squareup.okhttp.Headers$Builder access$500 (com.squareup.okhttp.Response$Builder)
com.squareup.okhttp.Response$Builder x0
static com.squareup.okhttp.ResponseBody access$600 (com.squareup.okhttp.Response$Builder)
com.squareup.okhttp.Response$Builder x0
static com.squareup.okhttp.Response access$700 (com.squareup.okhttp.Response$Builder)
com.squareup.okhttp.Response$Builder x0
static com.squareup.okhttp.Response access$800 (com.squareup.okhttp.Response$Builder)
com.squareup.okhttp.Response$Builder x0
static com.squareup.okhttp.Response access$900 (com.squareup.okhttp.Response$Builder)
com.squareup.okhttp.Response$Builder x0
void (com.squareup.okhttp.Response, com.squareup.okhttp.Response$1)
com.squareup.okhttp.Response x0
com.squareup.okhttp.Response$1 x1
}
com/squareup/okhttp/Response.classResponse.java
package com.squareup.okhttp
public final com.squareup.okhttp.Response extends java.lang.Object {
private final com.squareup.okhttp.Request request
private final com.squareup.okhttp.Protocol protocol
private final int code
private final String message
private final com.squareup.okhttp.Handshake handshake
private final com.squareup.okhttp.Headers headers
private final com.squareup.okhttp.ResponseBody body
private com.squareup.okhttp.Response networkResponse
private com.squareup.okhttp.Response cacheResponse
private final com.squareup.okhttp.Response priorResponse
private volatile com.squareup.okhttp.CacheControl cacheControl
private void (com.squareup.okhttp.Response$Builder)
com.squareup.okhttp.Response$Builder builder
public com.squareup.okhttp.Request request ()
public com.squareup.okhttp.Protocol protocol ()
public int code ()
public boolean isSuccessful ()
public java.lang.String message ()
public com.squareup.okhttp.Handshake handshake ()
public java.util.List headers (java.lang.String)
String name
public java.lang.String header (java.lang.String)
String name
public java.lang.String header (java.lang.String, java.lang.String)
String name
String defaultValue
String result
public com.squareup.okhttp.Headers headers ()
public com.squareup.okhttp.ResponseBody body ()
public com.squareup.okhttp.Response$Builder newBuilder ()
public boolean isRedirect ()
public com.squareup.okhttp.Response networkResponse ()
public com.squareup.okhttp.Response cacheResponse ()
public com.squareup.okhttp.Response priorResponse ()
public java.util.List challenges ()
String responseField
String responseField
String responseField
public com.squareup.okhttp.CacheControl cacheControl ()
com.squareup.okhttp.CacheControl result
public java.lang.String toString ()
static com.squareup.okhttp.Request access$1100 (com.squareup.okhttp.Response)
com.squareup.okhttp.Response x0
static com.squareup.okhttp.Protocol access$1200 (com.squareup.okhttp.Response)
com.squareup.okhttp.Response x0
static int access$1300 (com.squareup.okhttp.Response)
com.squareup.okhttp.Response x0
static java.lang.String access$1400 (com.squareup.okhttp.Response)
com.squareup.okhttp.Response x0
static com.squareup.okhttp.Handshake access$1500 (com.squareup.okhttp.Response)
com.squareup.okhttp.Response x0
static com.squareup.okhttp.Headers access$1600 (com.squareup.okhttp.Response)
com.squareup.okhttp.Response x0
static com.squareup.okhttp.ResponseBody access$1700 (com.squareup.okhttp.Response)
com.squareup.okhttp.Response x0
static com.squareup.okhttp.Response access$1800 (com.squareup.okhttp.Response)
com.squareup.okhttp.Response x0
static com.squareup.okhttp.Response access$1900 (com.squareup.okhttp.Response)
com.squareup.okhttp.Response x0
static com.squareup.okhttp.Response access$2000 (com.squareup.okhttp.Response)
com.squareup.okhttp.Response x0
void (com.squareup.okhttp.Response$Builder, com.squareup.okhttp.Response$1)
com.squareup.okhttp.Response$Builder x0
com.squareup.okhttp.Response$1 x1
}
com/squareup/okhttp/ResponseBody$1.classResponseBody.java
package com.squareup.okhttp
final com.squareup.okhttp.ResponseBody$1 extends com.squareup.okhttp.ResponseBody {
final com.squareup.okhttp.MediaType val$contentType
final long val$contentLength
final okio.BufferedSource val$content
void (com.squareup.okhttp.MediaType, long, okio.BufferedSource)
public com.squareup.okhttp.MediaType contentType ()
public long contentLength ()
public okio.BufferedSource source ()
}
com/squareup/okhttp/ResponseBody.classResponseBody.java
package com.squareup.okhttp
public abstract com.squareup.okhttp.ResponseBody extends java.lang.Object implements java.io.Closeable {
private java.io.Reader reader
public void ()
public abstract com.squareup.okhttp.MediaType contentType ()
public abstract long contentLength () throws java.io.IOException
public final java.io.InputStream byteStream () throws java.io.IOException
public abstract okio.BufferedSource source () throws java.io.IOException
public final byte[] bytes () throws java.io.IOException
long contentLength
okio.BufferedSource source
byte[] bytes
public final java.io.Reader charStream () throws java.io.IOException
java.io.Reader r
public final java.lang.String string () throws java.io.IOException
private java.nio.charset.Charset charset ()
com.squareup.okhttp.MediaType contentType
public void close () throws java.io.IOException
public static com.squareup.okhttp.ResponseBody create (com.squareup.okhttp.MediaType, java.lang.String)
com.squareup.okhttp.MediaType contentType
String content
java.nio.charset.Charset charset
okio.Buffer buffer
public static com.squareup.okhttp.ResponseBody create (com.squareup.okhttp.MediaType, byte[])
com.squareup.okhttp.MediaType contentType
byte[] content
okio.Buffer buffer
public static com.squareup.okhttp.ResponseBody create (com.squareup.okhttp.MediaType, long, okio.BufferedSource)
com.squareup.okhttp.MediaType contentType
long contentLength
okio.BufferedSource content
}
com/squareup/okhttp/Route.classRoute.java
package com.squareup.okhttp
public final com.squareup.okhttp.Route extends java.lang.Object {
final com.squareup.okhttp.Address address
final java.net.Proxy proxy
final java.net.InetSocketAddress inetSocketAddress
public void (com.squareup.okhttp.Address, java.net.Proxy, java.net.InetSocketAddress)
com.squareup.okhttp.Address address
java.net.Proxy proxy
java.net.InetSocketAddress inetSocketAddress
public com.squareup.okhttp.Address getAddress ()
public java.net.Proxy getProxy ()
public java.net.InetSocketAddress getSocketAddress ()
public boolean requiresTunnel ()
public boolean equals (java.lang.Object)
com.squareup.okhttp.Route other
Object obj
public int hashCode ()
int result
}
com/squareup/okhttp/TlsVersion.classTlsVersion.java
package com.squareup.okhttp
public final com.squareup.okhttp.TlsVersion extends java.lang.Enum {
public static final com.squareup.okhttp.TlsVersion TLS_1_2
public static final com.squareup.okhttp.TlsVersion TLS_1_1
public static final com.squareup.okhttp.TlsVersion TLS_1_0
public static final com.squareup.okhttp.TlsVersion SSL_3_0
final String javaName
private static final com.squareup.okhttp.TlsVersion[] $VALUES
public static com.squareup.okhttp.TlsVersion[] values ()
public static com.squareup.okhttp.TlsVersion valueOf (java.lang.String)
String name
private void (java.lang.String, int, java.lang.String)
String javaName
public static com.squareup.okhttp.TlsVersion forJavaName (java.lang.String)
String javaName
public java.lang.String javaName ()
static void ()
}
META-INF/maven/
META-INF/maven/com.squareup.okhttp/
META-INF/maven/com.squareup.okhttp/okhttp/
META-INF/maven/com.squareup.okhttp/okhttp/pom.xml
META-INF/maven/com.squareup.okhttp/okhttp/pom.properties