Home
last modified time | relevance | path

Searched refs:okHttpClient (Results 1 – 6 of 6) sorted by relevance

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DOkHttpClient.java153 private OkHttpClient(OkHttpClient okHttpClient) { in OkHttpClient() argument
154 this.routeDatabase = okHttpClient.routeDatabase; in OkHttpClient()
155 this.dispatcher = okHttpClient.dispatcher; in OkHttpClient()
156 this.proxy = okHttpClient.proxy; in OkHttpClient()
157 this.protocols = okHttpClient.protocols; in OkHttpClient()
158 this.connectionSpecs = okHttpClient.connectionSpecs; in OkHttpClient()
159 this.interceptors.addAll(okHttpClient.interceptors); in OkHttpClient()
160 this.networkInterceptors.addAll(okHttpClient.networkInterceptors); in OkHttpClient()
161 this.proxySelector = okHttpClient.proxySelector; in OkHttpClient()
162 this.cookieHandler = okHttpClient.cookieHandler; in OkHttpClient()
[all …]
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DOkHttpClient.java159 private OkHttpClient(OkHttpClient okHttpClient) { in OkHttpClient() argument
160 this.routeDatabase = okHttpClient.routeDatabase; in OkHttpClient()
161 this.dispatcher = okHttpClient.dispatcher; in OkHttpClient()
162 this.proxy = okHttpClient.proxy; in OkHttpClient()
163 this.protocols = okHttpClient.protocols; in OkHttpClient()
164 this.connectionSpecs = okHttpClient.connectionSpecs; in OkHttpClient()
165 this.interceptors.addAll(okHttpClient.interceptors); in OkHttpClient()
166 this.networkInterceptors.addAll(okHttpClient.networkInterceptors); in OkHttpClient()
167 this.proxySelector = okHttpClient.proxySelector; in OkHttpClient()
168 this.cookieHandler = okHttpClient.cookieHandler; in OkHttpClient()
[all …]
/external/okhttp/android/src/main/java/com/squareup/okhttp/
DHttpsHandler.java79 OkHttpClient okHttpClient = okUrlFactory.client(); in createHttpsOkUrlFactory() local
82 okHttpClient.setProtocols(HTTP_1_1_ONLY); in createHttpsOkUrlFactory()
84 okHttpClient.setConnectionSpecs(Collections.singletonList(TLS_CONNECTION_SPEC)); in createHttpsOkUrlFactory()
90 okHttpClient.setCertificatePinner(CertificatePinner.DEFAULT); in createHttpsOkUrlFactory()
98 okHttpClient.setSslSocketFactory(HttpsURLConnection.getDefaultSSLSocketFactory()); in createHttpsOkUrlFactory()
/external/okhttp/repackaged/android/src/main/java/com/android/okhttp/
DHttpsHandler.java83 OkHttpClient okHttpClient = okUrlFactory.client(); in createHttpsOkUrlFactory() local
86 okHttpClient.setProtocols(HTTP_1_1_ONLY); in createHttpsOkUrlFactory()
88 okHttpClient.setConnectionSpecs(Collections.singletonList(TLS_CONNECTION_SPEC)); in createHttpsOkUrlFactory()
94 okHttpClient.setCertificatePinner(CertificatePinner.DEFAULT); in createHttpsOkUrlFactory()
102 okHttpClient.setSslSocketFactory(HttpsURLConnection.getDefaultSSLSocketFactory()); in createHttpsOkUrlFactory()
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/
DLottieApplication.kt14 val okHttpClient by lazy { in <lambda>() constant
27 .client(okHttpClient) in <lambda>()
/external/okhttp/
DCHANGELOG.md684 okHttpClient.setSslSocketFactory(HttpsURLConnection.getDefaultSSLSocketFactory());