Searched refs:socketFactory (Results 1 – 2 of 2) sorted by relevance
155 SSLSocketFactory socketFactory = sslContext.getSocketFactory(); in main() local156 for (String suite : socketFactory.getSupportedCipherSuites()) { in main()159 for (String suite : socketFactory.getDefaultCipherSuites()) { in main()
201 SSLSocketFactory socketFactory = ctx.getSocketFactory(); in testSetDefaultSSLSocketFactory() local203 HttpsURLConnection.setDefaultSSLSocketFactory(socketFactory); in testSetDefaultSSLSocketFactory()206 socketFactory, HttpsURLConnection.getDefaultSSLSocketFactory()); in testSetDefaultSSLSocketFactory()261 SSLSocketFactory socketFactory = ctx.getSocketFactory(); in testSetSSLSocketFactory() local262 connection.setSSLSocketFactory(socketFactory); in testSetSSLSocketFactory()279 assertSame("Result differs from expected", socketFactory, connection.getSSLSocketFactory()); in testSetSSLSocketFactory()