|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.net.SocketFactory
javax.net.ssl.SSLSocketFactory
it.eng.rdlab.soa3.connector.utils.security.InheritableTLSSLSocketFactory
public class InheritableTLSSLSocketFactory
Inheritable thread local ssl socket factory, for using different socket factories in different threads
| Method Summary | |
|---|---|
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 |
| Methods inherited from class javax.net.ssl.SSLSocketFactory |
|---|
getDefault |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public 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 SSLSocketFactory
public Socket createSocket(String host,
int port)
throws IOException,
UnknownHostException
createSocket in class SocketFactoryIOException
UnknownHostException
public Socket createSocket(InetAddress host,
int port)
throws IOException
createSocket in class SocketFactoryIOException
public Socket createSocket(String address,
int port,
InetAddress localAddress,
int localPort)
throws IOException,
UnknownHostException
createSocket in class SocketFactoryIOException
UnknownHostException
public Socket createSocket(InetAddress address,
int port,
InetAddress localAddress,
int localPort)
throws IOException
createSocket in class SocketFactoryIOException
public Socket createSocket()
throws IOException
createSocket in class SocketFactoryIOExceptionpublic SSLSocketFactory getCurrentSSLSocketFactory()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||