public class SslClientConnectionFactory extends Object implements ClientConnectionFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
SSL_CONTEXT_FACTORY_CONTEXT_KEY |
static String |
SSL_ENGINE_CONTEXT_KEY |
static String |
SSL_PEER_HOST_CONTEXT_KEY |
static String |
SSL_PEER_PORT_CONTEXT_KEY |
CONNECTOR_CONTEXT_KEY| Constructor and Description |
|---|
SslClientConnectionFactory(SslContextFactory sslContextFactory,
ByteBufferPool byteBufferPool,
Executor executor,
ClientConnectionFactory connectionFactory) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
customize(Connection connection,
Map<String,Object> context) |
Connection |
newConnection(EndPoint endPoint,
Map<String,Object> context) |
protected SslConnection |
newSslConnection(ByteBufferPool byteBufferPool,
Executor executor,
EndPoint endPoint,
SSLEngine engine) |
public static final String SSL_CONTEXT_FACTORY_CONTEXT_KEY
public static final String SSL_PEER_HOST_CONTEXT_KEY
public static final String SSL_PEER_PORT_CONTEXT_KEY
public static final String SSL_ENGINE_CONTEXT_KEY
public SslClientConnectionFactory(SslContextFactory sslContextFactory, ByteBufferPool byteBufferPool, Executor executor, ClientConnectionFactory connectionFactory)
public Connection newConnection(EndPoint endPoint, Map<String,Object> context) throws IOException
newConnection in interface ClientConnectionFactoryendPoint - the EndPoint to link the newly created connection tocontext - the context data to create the connectionConnectionIOException - if the connection cannot be createdprotected SslConnection newSslConnection(ByteBufferPool byteBufferPool, Executor executor, EndPoint endPoint, SSLEngine engine)
public Connection customize(Connection connection, Map<String,Object> context)
customize in interface ClientConnectionFactoryCopyright © 1995–2016 Webtide. All rights reserved.