ClientConnectionFactorypublic class SslClientConnectionFactory extends java.lang.Object implements ClientConnectionFactory
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
SSL_CONTEXT_FACTORY_CONTEXT_KEY |
|
static java.lang.String |
SSL_ENGINE_CONTEXT_KEY |
|
static java.lang.String |
SSL_PEER_HOST_CONTEXT_KEY |
|
static java.lang.String |
SSL_PEER_PORT_CONTEXT_KEY |
CONNECTOR_CONTEXT_KEY| Constructor | Description |
|---|---|
SslClientConnectionFactory(SslContextFactory sslContextFactory,
ByteBufferPool byteBufferPool,
java.util.concurrent.Executor executor,
ClientConnectionFactory connectionFactory) |
| Modifier and Type | Method | Description |
|---|---|---|
Connection |
customize(Connection connection,
java.util.Map<java.lang.String,java.lang.Object> context) |
|
boolean |
isAllowMissingCloseMessage() |
|
boolean |
isDirectBuffersForDecryption() |
|
boolean |
isDirectBuffersForEncryption() |
|
Connection |
newConnection(EndPoint endPoint,
java.util.Map<java.lang.String,java.lang.Object> context) |
|
protected SslConnection |
newSslConnection(ByteBufferPool byteBufferPool,
java.util.concurrent.Executor executor,
EndPoint endPoint,
javax.net.ssl.SSLEngine engine) |
|
void |
setAllowMissingCloseMessage(boolean allowMissingCloseMessage) |
|
void |
setDirectBuffersForDecryption(boolean useDirectBuffers) |
|
void |
setDirectBuffersForEncryption(boolean useDirectBuffers) |
public static final java.lang.String SSL_CONTEXT_FACTORY_CONTEXT_KEY
public static final java.lang.String SSL_PEER_HOST_CONTEXT_KEY
public static final java.lang.String SSL_PEER_PORT_CONTEXT_KEY
public static final java.lang.String SSL_ENGINE_CONTEXT_KEY
public SslClientConnectionFactory(SslContextFactory sslContextFactory, ByteBufferPool byteBufferPool, java.util.concurrent.Executor executor, ClientConnectionFactory connectionFactory)
public void setDirectBuffersForEncryption(boolean useDirectBuffers)
public void setDirectBuffersForDecryption(boolean useDirectBuffers)
public boolean isDirectBuffersForDecryption()
public boolean isDirectBuffersForEncryption()
public boolean isAllowMissingCloseMessage()
public void setAllowMissingCloseMessage(boolean allowMissingCloseMessage)
public Connection newConnection(EndPoint endPoint, java.util.Map<java.lang.String,java.lang.Object> context) throws java.io.IOException
newConnection in interface ClientConnectionFactoryendPoint - the EndPoint to link the newly created connection tocontext - the context data to create the connectionConnectionjava.io.IOException - if the connection cannot be createdprotected SslConnection newSslConnection(ByteBufferPool byteBufferPool, java.util.concurrent.Executor executor, EndPoint endPoint, javax.net.ssl.SSLEngine engine)
public Connection customize(Connection connection, java.util.Map<java.lang.String,java.lang.Object> context)
customize in interface ClientConnectionFactoryCopyright © 1995–2018 Webtide. All rights reserved.