public class SocketFactoryFactory
extends java.lang.Object
SocketFactory based on the PGProperty.SOCKET_FACTORY.| Constructor and Description |
|---|
SocketFactoryFactory() |
| Modifier and Type | Method and Description |
|---|---|
static javax.net.SocketFactory |
getSocketFactory(java.util.Properties info)
Instantiates
SocketFactory based on the PGProperty.SOCKET_FACTORY. |
static javax.net.ssl.SSLSocketFactory |
getSslSocketFactory(java.util.Properties info)
Instantiates
SSLSocketFactory based on the PGProperty.SSL_FACTORY. |
public static javax.net.SocketFactory getSocketFactory(java.util.Properties info)
throws PSQLException
SocketFactory based on the PGProperty.SOCKET_FACTORY.info - connection propertiesPSQLException - if something goes wrongpublic static javax.net.ssl.SSLSocketFactory getSslSocketFactory(java.util.Properties info)
throws PSQLException
SSLSocketFactory based on the PGProperty.SSL_FACTORY.info - connection propertiesPSQLException - if something goes wrongCopyright © 2025 PostgreSQL Global Development Group. All rights reserved.