Home
last modified time | relevance | path

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

/external/okhttp/android/main/java/com/squareup/okhttp/
DHttpsHandler.java78 okHttpClient.setConnectionSpecs(Collections.singletonList(TLS_CONNECTION_SPEC)); in createHttpsOkUrlFactory()
DHttpHandler.java88 client.setConnectionSpecs(CLEARTEXT_ONLY); in createHttpOkUrlFactory()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DOkHttpClient.java532 public OkHttpClient setConnectionSpecs(List<ConnectionSpec> connectionSpecs) { in setConnectionSpecs() method in OkHttpClient
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCallTest.java974 client.setConnectionSpecs(Arrays.asList(ConnectionSpec.MODERN_TLS, ConnectionSpec.CLEARTEXT)); in noRecoveryFromTlsHandshakeFailureWhenTlsFallbackIsDisabled()
996 client.setConnectionSpecs( in cleartextCallsFailWhenCleartextIsDisabled()
DURLConnectionTest.java887 client.client().setConnectionSpecs(Util.immutableList(ConnectionSpec.MODERN_TLS)); in connectViaHttpProxyToHttpsUsingBadProxyAndHttpResponseCache()
/external/okhttp/
DCHANGELOG.md398 client.setConnectionSpecs(Arrays.asList(
405 client.setConnectionSpecs(Arrays.asList(