Searched refs:okHttpClient (Results 1 – 6 of 6) 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 …]
159 private OkHttpClient(OkHttpClient okHttpClient) { in OkHttpClient() argument160 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 …]
79 OkHttpClient okHttpClient = okUrlFactory.client(); in createHttpsOkUrlFactory() local82 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()
83 OkHttpClient okHttpClient = okUrlFactory.client(); in createHttpsOkUrlFactory() local86 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()
14 val okHttpClient by lazy { in <lambda>() constant27 .client(okHttpClient) in <lambda>()
684 okHttpClient.setSslSocketFactory(HttpsURLConnection.getDefaultSSLSocketFactory());