public final class CompositeSSLSocketFactory extends SSLSocketFactory
SSLSocketUtils
which provides the same functionality
while it has a stable API because it is part of the public API.Constructor and Description |
---|
CompositeSSLSocketFactory(SSLSocketFactory sslSocketFactory,
SSLParameters sslParameters) |
Modifier and Type | Method and Description |
---|---|
Socket |
createSocket() |
Socket |
createSocket(InetAddress address,
int port) |
Socket |
createSocket(InetAddress address,
int port,
InetAddress localAddress,
int localPort) |
Socket |
createSocket(Socket socket,
InputStream inputStream,
boolean autoClosable) |
Socket |
createSocket(Socket socket,
String host,
int port,
boolean autoClosable) |
Socket |
createSocket(String host,
int port) |
Socket |
createSocket(String host,
int port,
InetAddress localAddress,
int localPort) |
String[] |
getDefaultCipherSuites() |
String[] |
getSupportedCipherSuites() |
getDefault
public CompositeSSLSocketFactory(SSLSocketFactory sslSocketFactory, SSLParameters sslParameters)
public String[] getDefaultCipherSuites()
getDefaultCipherSuites
in class SSLSocketFactory
public String[] getSupportedCipherSuites()
getSupportedCipherSuites
in class SSLSocketFactory
public Socket createSocket() throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(Socket socket, InputStream inputStream, boolean autoClosable) throws IOException
createSocket
in class SSLSocketFactory
IOException
public Socket createSocket(Socket socket, String host, int port, boolean autoClosable) throws IOException
createSocket
in class SSLSocketFactory
IOException
public Socket createSocket(String host, int port) throws IOException, UnknownHostException
createSocket
in class SocketFactory
IOException
UnknownHostException
public Socket createSocket(String host, int port, InetAddress localAddress, int localPort) throws IOException, UnknownHostException
createSocket
in class SocketFactory
IOException
UnknownHostException
public Socket createSocket(InetAddress address, int port) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException
createSocket
in class SocketFactory
IOException
Copyright © 2021. All rights reserved.