public class SocketConnectionFactory extends java.lang.Object implements ConnectionFactory
Modifier and Type | Class and Description |
---|---|
class |
SocketConnectionFactory.Input |
class |
SocketConnectionFactory.Output |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ENABLED_CIPHER_SUITES |
static java.lang.String |
PROPERTY_KEEPALIVE |
static java.lang.String |
PROPERTY_POOL_SIZE |
static java.lang.String |
PROPERTY_POOL_TIMEOUT |
static java.lang.String |
PROPERTY_SOCKET_READ |
static java.lang.String |
PROPERTY_SOCKET_TIMEOUT |
Constructor and Description |
---|
SocketConnectionFactory() |
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection(java.net.URI uri) |
static int |
getInt(java.util.Properties p,
java.lang.String property,
int defaultValue) |
static long |
getLong(java.util.Properties p,
java.lang.String property,
long defaultValue) |
public static final java.lang.String PROPERTY_SOCKET_TIMEOUT
public static final java.lang.String PROPERTY_SOCKET_READ
public static final java.lang.String PROPERTY_POOL_TIMEOUT
public static final java.lang.String PROPERTY_POOL_SIZE
public static final java.lang.String PROPERTY_KEEPALIVE
public static final java.lang.String ENABLED_CIPHER_SUITES
public static int getInt(java.util.Properties p, java.lang.String property, int defaultValue)
public static long getLong(java.util.Properties p, java.lang.String property, long defaultValue)
public Connection getConnection(java.net.URI uri) throws java.io.IOException
getConnection
in interface ConnectionFactory
java.io.IOException