Package com.wavefront.agent
Class SSLSocketFactoryImpl
- java.lang.Object
-
- javax.net.SocketFactory
-
- javax.net.ssl.SSLSocketFactory
-
- com.wavefront.agent.SSLSocketFactoryImpl
-
public class SSLSocketFactoryImpl extends SSLSocketFactory
Delegated SSLSocketFactory that sets SoTimeout explicitly.- Author:
- Clement Pang ([email protected]).
-
-
Constructor Summary
Constructors Constructor Description SSLSocketFactoryImpl(SSLSocketFactory delegate, int soTimeoutMs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SocketcreateSocket()SocketcreateSocket(String s, int i)SocketcreateSocket(String s, int i, InetAddress inetAddress, int i1)SocketcreateSocket(InetAddress inetAddress, int i)SocketcreateSocket(InetAddress inetAddress, int i, InetAddress inetAddress1, int i1)SocketcreateSocket(Socket socket, String s, int i, boolean b)String[]getDefaultCipherSuites()String[]getSupportedCipherSuites()-
Methods inherited from class javax.net.ssl.SSLSocketFactory
createSocket, getDefault
-
-
-
-
Constructor Detail
-
SSLSocketFactoryImpl
public SSLSocketFactoryImpl(SSLSocketFactory delegate, int soTimeoutMs)
-
-
Method Detail
-
createSocket
public Socket createSocket(Socket socket, String s, int i, boolean b) throws IOException
- Specified by:
createSocketin classSSLSocketFactory- Throws:
IOException
-
getDefaultCipherSuites
public String[] getDefaultCipherSuites()
- Specified by:
getDefaultCipherSuitesin classSSLSocketFactory
-
getSupportedCipherSuites
public String[] getSupportedCipherSuites()
- Specified by:
getSupportedCipherSuitesin classSSLSocketFactory
-
createSocket
public Socket createSocket() throws IOException
- Overrides:
createSocketin classSocketFactory- Throws:
IOException
-
createSocket
public Socket createSocket(InetAddress inetAddress, int i) throws IOException
- 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
-
createSocket
public Socket createSocket(String s, int i) throws IOException
- Specified by:
createSocketin classSocketFactory- Throws:
IOException
-
createSocket
public Socket createSocket(String s, int i, InetAddress inetAddress, int i1) throws IOException
- Specified by:
createSocketin classSocketFactory- Throws:
IOException
-
-