public abstract class WrappedFactory extends SSLSocketFactory
| Modifier and Type | Field and Description |
|---|---|
protected SSLSocketFactory |
factory |
| Constructor and Description |
|---|
WrappedFactory() |
| Modifier and Type | Method and Description |
|---|---|
Socket |
createSocket(InetAddress host,
int port) |
Socket |
createSocket(InetAddress address,
int port,
InetAddress localAddress,
int localPort) |
Socket |
createSocket(Socket socket,
String host,
int port,
boolean autoClose) |
Socket |
createSocket(String host,
int port) |
Socket |
createSocket(String host,
int port,
InetAddress localHost,
int localPort) |
String[] |
getDefaultCipherSuites() |
String[] |
getSupportedCipherSuites() |
createSocket, getDefaultcreateSocketprotected SSLSocketFactory factory
public Socket createSocket(InetAddress host, int port) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(String host, int port) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(String host, int port, InetAddress localHost, int localPort) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(Socket socket, String host, int port, boolean autoClose) throws IOException
createSocket in class SSLSocketFactoryIOExceptionpublic String[] getDefaultCipherSuites()
getDefaultCipherSuites in class SSLSocketFactorypublic String[] getSupportedCipherSuites()
getSupportedCipherSuites in class SSLSocketFactoryCopyright © 1997-2020 PostgreSQL Global Development Group. All Rights Reserved.