Searched refs:okHttpClient (Results 1 – 3 of 3) sorted by relevance
153 private OkHttpClient(OkHttpClient okHttpClient) { in OkHttpClient() argument154 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 …]
73 OkHttpClient okHttpClient = okUrlFactory.client(); in createHttpsOkUrlFactory() local76 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()
684 okHttpClient.setSslSocketFactory(HttpsURLConnection.getDefaultSSLSocketFactory());