Home
last modified time | relevance | path

Searched refs:okHttpClient (Results 1 – 3 of 3) 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/android/main/java/com/squareup/okhttp/
DHttpsHandler.java73 OkHttpClient okHttpClient = okUrlFactory.client(); in createHttpsOkUrlFactory() local
76 okHttpClient.setProtocols(HTTP_1_1_ONLY); in createHttpsOkUrlFactory()
78 okHttpClient.setConnectionSpecs(Collections.singletonList(TLS_CONNECTION_SPEC)); in createHttpsOkUrlFactory()
84 okHttpClient.setCertificatePinner(CertificatePinner.DEFAULT); in createHttpsOkUrlFactory()
92 okHttpClient.setSslSocketFactory(HttpsURLConnection.getDefaultSSLSocketFactory()); in createHttpsOkUrlFactory()
/external/okhttp/
DCHANGELOG.md684 okHttpClient.setSslSocketFactory(HttpsURLConnection.getDefaultSSLSocketFactory());