Interface and Description |
---|
okhttp3.internal.URLFilter
use
Interceptor for non-HttpURLConnection filtering. |
Class and Description |
---|
okhttp3.apache.OkApacheClient
OkHttp will be dropping its ability to be used with
HttpClient in an upcoming
release. Applications that need this should either downgrade to the Apache implementation or
upgrade to OkHttp's Request/Response API. |
okhttp3.OkUrlFactory
OkHttp will be dropping its ability to be used with
HttpURLConnection in an
upcoming release. Applications that need this should either downgrade to the system's built-in
HttpURLConnection or upgrade to OkHttp's Request/Response API. |
Method and Description |
---|
okhttp3.CertificatePinner.check(String, Certificate...)
replaced with
CertificatePinner.check(String, List) . |
okhttp3.OkHttpClient.Builder.sslSocketFactory(SSLSocketFactory)
SSLSocketFactory does not expose its X509TrustManager , which is
a field that OkHttp needs to build a clean certificate chain. This method instead must
use reflection to extract the trust manager. Applications should prefer to call OkHttpClient.Builder.sslSocketFactory(SSLSocketFactory, X509TrustManager) , which avoids such reflection. |
Enum Constant and Description |
---|
okhttp3.Protocol.SPDY_3
OkHttp has dropped support for SPDY. Prefer
Protocol.HTTP_2 . |
Copyright © 2018. All rights reserved.