public class SslClientConnectionFactory extends Object implements ClientConnectionFactory
ClientConnectionFactory.Helper| Modifier and Type | Field and Description |
|---|---|
static String |
SSL_ENGINE_CONTEXT_KEY |
static String |
SSL_PEER_HOST_CONTEXT_KEY |
static String |
SSL_PEER_PORT_CONTEXT_KEY |
| Constructor and Description |
|---|
SslClientConnectionFactory(SslContextFactory sslContextFactory,
ByteBufferPool byteBufferPool,
Executor executor,
ClientConnectionFactory connectionFactory) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
newConnection(EndPoint endPoint,
Map<String,Object> context) |
protected SslConnection |
newSslConnection(ByteBufferPool byteBufferPool,
Executor executor,
EndPoint endPoint,
SSLEngine engine) |
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)
Copyright © 1995-2015 Webtide. All Rights Reserved.