public class InheritableTLSSLSocketFactory extends SSLSocketFactory
| Modifier and Type | Method and Description |
|---|---|
Socket |
createSocket() |
Socket |
createSocket(InetAddress host,
int port) |
Socket |
createSocket(InetAddress address,
int port,
InetAddress localAddress,
int localPort) |
Socket |
createSocket(Socket s,
String host,
int port,
boolean autoClose) |
Socket |
createSocket(String host,
int port) |
Socket |
createSocket(String address,
int port,
InetAddress localAddress,
int localPort) |
SSLSocketFactory |
getCurrentSSLSocketFactory() |
String[] |
getDefaultCipherSuites() |
static InheritableTLSSLSocketFactory |
getInstance()
Returns the singleton instance of InheritableTLSSLSocketFactory
|
String[] |
getSupportedCipherSuites() |
void |
reset()
Removes the ssl socket factory from the current thread
|
void |
setSSLSocketFactory(SSLSocketFactory sslSocketFactory)
sets the sslSocketFactory for the current thread
|
getDefaultpublic static InheritableTLSSLSocketFactory getInstance()
public void setSSLSocketFactory(SSLSocketFactory sslSocketFactory)
sslSocketFactory - public void reset()
public Socket createSocket(Socket s, String host, int port, boolean autoClose) throws IOException
createSocket in class SSLSocketFactoryIOExceptionpublic String[] getDefaultCipherSuites()
getDefaultCipherSuites in class SSLSocketFactorypublic String[] getSupportedCipherSuites()
getSupportedCipherSuites in class SSLSocketFactorypublic Socket createSocket(String host, int port) throws IOException, UnknownHostException
createSocket in class SocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(InetAddress host, int port) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(String address, int port, InetAddress localAddress, int localPort) throws IOException, UnknownHostException
createSocket in class SocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket() throws IOException
createSocket in class SocketFactoryIOExceptionpublic SSLSocketFactory getCurrentSSLSocketFactory()
Copyright © 2014. All Rights Reserved.