public class DelegatingSSLSocketFactory
extends javax.net.ssl.SSLSocketFactory
SSLSocketFactory
that delegates calls. Sockets can be configured after creation by
overriding configureSocket(javax.net.ssl.SSLSocket)
.Constructor and Description |
---|
DelegatingSSLSocketFactory(javax.net.ssl.SSLSocketFactory delegate) |
Modifier and Type | Method and Description |
---|---|
protected javax.net.ssl.SSLSocket |
configureSocket(javax.net.ssl.SSLSocket sslSocket) |
javax.net.ssl.SSLSocket |
createSocket() |
javax.net.ssl.SSLSocket |
createSocket(java.net.InetAddress host,
int port) |
javax.net.ssl.SSLSocket |
createSocket(java.net.InetAddress host,
int port,
java.net.InetAddress localAddress,
int localPort) |
javax.net.ssl.SSLSocket |
createSocket(java.net.Socket socket,
java.lang.String host,
int port,
boolean autoClose) |
javax.net.ssl.SSLSocket |
createSocket(java.lang.String host,
int port) |
javax.net.ssl.SSLSocket |
createSocket(java.lang.String host,
int port,
java.net.InetAddress localAddress,
int localPort) |
java.lang.String[] |
getDefaultCipherSuites() |
java.lang.String[] |
getSupportedCipherSuites() |
public DelegatingSSLSocketFactory(javax.net.ssl.SSLSocketFactory delegate)
public javax.net.ssl.SSLSocket createSocket() throws java.io.IOException
createSocket
in class javax.net.SocketFactory
java.io.IOException
public javax.net.ssl.SSLSocket createSocket(java.lang.String host, int port) throws java.io.IOException
createSocket
in class javax.net.SocketFactory
java.io.IOException
public javax.net.ssl.SSLSocket createSocket(java.lang.String host, int port, java.net.InetAddress localAddress, int localPort) throws java.io.IOException
createSocket
in class javax.net.SocketFactory
java.io.IOException
public javax.net.ssl.SSLSocket createSocket(java.net.InetAddress host, int port) throws java.io.IOException
createSocket
in class javax.net.SocketFactory
java.io.IOException
public javax.net.ssl.SSLSocket createSocket(java.net.InetAddress host, int port, java.net.InetAddress localAddress, int localPort) throws java.io.IOException
createSocket
in class javax.net.SocketFactory
java.io.IOException
public java.lang.String[] getDefaultCipherSuites()
getDefaultCipherSuites
in class javax.net.ssl.SSLSocketFactory
public java.lang.String[] getSupportedCipherSuites()
getSupportedCipherSuites
in class javax.net.ssl.SSLSocketFactory
public javax.net.ssl.SSLSocket createSocket(java.net.Socket socket, java.lang.String host, int port, boolean autoClose) throws java.io.IOException
createSocket
in class javax.net.ssl.SSLSocketFactory
java.io.IOException
protected javax.net.ssl.SSLSocket configureSocket(javax.net.ssl.SSLSocket sslSocket) throws java.io.IOException
java.io.IOException