Package com.launchdarkly.eventsource
Class ModernTLSSocketFactory
java.lang.Object
javax.net.SocketFactory
javax.net.ssl.SSLSocketFactory
com.launchdarkly.eventsource.ModernTLSSocketFactory
An
SSLSocketFactory that tries to ensure modern TLS versions are used.-
Method Summary
Modifier and TypeMethodDescriptioncreateSocket(String s, int i) createSocket(String s, int i, InetAddress inetAddress, int i1) createSocket(InetAddress inetAddress, int i) createSocket(InetAddress inetAddress, int i, InetAddress inetAddress1, int i1) createSocket(Socket socket, String s, int i, boolean b) String[]String[]Methods inherited from class javax.net.ssl.SSLSocketFactory
createSocket, getDefaultMethods inherited from class javax.net.SocketFactory
createSocket
-
Method Details
-
getDefaultCipherSuites
- Specified by:
getDefaultCipherSuitesin classSSLSocketFactory
-
getSupportedCipherSuites
- Specified by:
getSupportedCipherSuitesin classSSLSocketFactory
-
createSocket
- Specified by:
createSocketin classSSLSocketFactory- Throws:
IOException
-
createSocket
- Specified by:
createSocketin classSocketFactory- Throws:
IOExceptionUnknownHostException
-
createSocket
public Socket createSocket(String s, int i, InetAddress inetAddress, int i1) throws IOException, UnknownHostException - Specified by:
createSocketin classSocketFactory- Throws:
IOExceptionUnknownHostException
-
createSocket
- Specified by:
createSocketin classSocketFactory- Throws:
IOException
-
createSocket
public Socket createSocket(InetAddress inetAddress, int i, InetAddress inetAddress1, int i1) throws IOException - Specified by:
createSocketin classSocketFactory- Throws:
IOException
-