Searched refs:sslSocketFactory (Results 1 – 1 of 1) sorted by relevance
70 SSLSocketFactory sslSocketFactory = newSslSocketFactory(testSSLContext); in testConnectToHttps() local71 sslSocketFactory.setHostnameVerifier(new AllowAllHostnameVerifier()); in testConnectToHttps()73 .register(new Scheme("https", sslSocketFactory, server.getPort())); in testConnectToHttps()161 SSLSocketFactory sslSocketFactory = newSslSocketFactory(testSSLContext); in testConnectViaHttpProxyToHttps() local162 sslSocketFactory.setHostnameVerifier(new AllowAllHostnameVerifier()); in testConnectViaHttpProxyToHttps()164 .register(new Scheme("https", sslSocketFactory, 443)); in testConnectViaHttpProxyToHttps()