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() |
getDefaultpublic CompositeSSLSocketFactory(SSLSocketFactory sslSocketFactory, SSLParameters sslParameters)
public String[] getDefaultCipherSuites()
getDefaultCipherSuites in class SSLSocketFactorypublic String[] getSupportedCipherSuites()
getSupportedCipherSuites in class SSLSocketFactorypublic Socket createSocket() throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(Socket socket, InputStream inputStream, boolean autoClosable) throws IOException
createSocket in class SSLSocketFactoryIOExceptionpublic Socket createSocket(Socket socket, String host, int port, boolean autoClosable) throws IOException
createSocket in class SSLSocketFactoryIOExceptionpublic Socket createSocket(String host, int port) throws IOException, UnknownHostException
createSocket in class SocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(String host, int port, InetAddress localAddress, int localPort) throws IOException, UnknownHostException
createSocket in class SocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(InetAddress address, int port) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException
createSocket in class SocketFactoryIOExceptionCopyright © 2021. All rights reserved.