public class ConfigurableSslSocketFactory extends SSLSocketFactory
Constructor and Description |
---|
ConfigurableSslSocketFactory() |
Modifier and Type | Method and Description |
---|---|
Socket |
createSocket() |
Socket |
createSocket(InetAddress address,
int port) |
Socket |
createSocket(InetAddress address,
int port,
InetAddress remoteAddress,
int remotePort) |
Socket |
createSocket(Socket socket,
InputStream inputStream,
boolean autoClose) |
Socket |
createSocket(Socket socket,
String host,
int port,
boolean autoClose) |
Socket |
createSocket(String host,
int port) |
Socket |
createSocket(String host,
int port,
InetAddress localAddress,
int localPort) |
static void |
createSslFactory(Map<String,?> sslConfigs) |
static SocketFactory |
getDefault() |
String[] |
getDefaultCipherSuites() |
String[] |
getSupportedCipherSuites() |
public static SocketFactory getDefault()
public String[] getDefaultCipherSuites()
getDefaultCipherSuites
in class SSLSocketFactory
public String[] getSupportedCipherSuites()
getSupportedCipherSuites
in class SSLSocketFactory
public Socket createSocket(Socket socket, String host, int port, boolean autoClose) throws IOException
createSocket
in class SSLSocketFactory
IOException
public Socket createSocket() throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(String host, int port) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(String host, int port, InetAddress localAddress, int localPort) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(InetAddress address, int port) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(InetAddress address, int port, InetAddress remoteAddress, int remotePort) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(Socket socket, InputStream inputStream, boolean autoClose) throws IOException
createSocket
in class SSLSocketFactory
IOException