A ClientConnectionFactory that creates client-side SslConnection instances.
| Modifier and Type | Class and Description |
|---|---|
| private class | |
| public static interface | SslClientConnectionFactory.SslEngineFactory
A factory for |
| Modifier and Type | Field and Description |
|---|---|
| private final ByteBufferPool | |
| private final ClientConnectionFactory | |
| private boolean | |
| private boolean | |
| private final Executor | |
| private boolean | |
| private final SslContextFactory. | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public | SslClientConnectionFactory(SslContextFactory.
|
| Modifier and Type | Method and Description |
|---|---|
| public Connection | customize(Connection connection, Map<String, Object> context)
Overrides default org. |
| public ByteBufferPool | |
| public ClientConnectionFactory | |
| public Executor | |
| public SslContextFactory. | |
| public boolean | |
| public boolean | |
| public boolean | |
| public Connection | newConnection(EndPoint
the endPoint, Map<String, Object> org. to link the newly created connection tothe context data to create the connection context)Implements org. |
| protected SslConnection | |
| public void | |
| public void | |
| public void | setRequireCloseMessage(boolean
whether peers must send the TLS requireCloseMessage)close_notify message
|
| _byteBufferPool | back to summary |
|---|---|
| private final ByteBufferPool _byteBufferPool | |
| _clientConnectionFactory | back to summary |
|---|---|
| private final ClientConnectionFactory _clientConnectionFactory | |
| _directBuffersForDecryption | back to summary |
|---|---|
| private boolean _directBuffersForDecryption | |
| _directBuffersForEncryption | back to summary |
|---|---|
| private boolean _directBuffersForEncryption | |
| _executor | back to summary |
|---|---|
| private final Executor _executor | |
| _requireCloseMessage | back to summary |
|---|---|
| private boolean _requireCloseMessage | |
| _sslContextFactory | back to summary |
|---|---|
| private final SslContextFactory. | |
| SSL_ENGINE_CONTEXT_KEY | back to summary |
|---|---|
| public static final String SSL_ENGINE_CONTEXT_KEY | |
| SslClientConnectionFactory | back to summary |
|---|---|
| public SslClientConnectionFactory(SslContextFactory. | |
| customize | back to summary |
|---|---|
| public Connection customize(Connection connection, Map<String, Object> context) Overrides default org.
| |
| getByteBufferPool | back to summary |
|---|---|
| public ByteBufferPool getByteBufferPool() | |
| getClientConnectionFactory | back to summary |
|---|---|
| public ClientConnectionFactory getClientConnectionFactory() | |
| getExecutor | back to summary |
|---|---|
| public Executor getExecutor() | |
| getSslContextFactory | back to summary |
|---|---|
| public SslContextFactory. | |
| isDirectBuffersForDecryption | back to summary |
|---|---|
| public boolean isDirectBuffersForDecryption() | |
| isDirectBuffersForEncryption | back to summary |
|---|---|
| public boolean isDirectBuffersForEncryption() | |
| isRequireCloseMessage | back to summary |
|---|---|
public boolean isRequireCloseMessage()
| |
| newConnection | back to summary |
|---|---|
| public Connection newConnection(EndPoint endPoint, Map<String, Object> context) throws IOException Implements org.
| |
| newSslConnection | back to summary |
|---|---|
| protected SslConnection newSslConnection(EndPoint endPoint, SSLEngine engine) | |
| setDirectBuffersForDecryption | back to summary |
|---|---|
| public void setDirectBuffersForDecryption(boolean useDirectBuffers) | |
| setDirectBuffersForEncryption | back to summary |
|---|---|
| public void setDirectBuffersForEncryption(boolean useDirectBuffers) | |
| setRequireCloseMessage | back to summary |
|---|---|
public void setRequireCloseMessage(boolean requireCloseMessage)
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | handshakeSucceeded(SslHandshakeListener.
the event object carrying information about the TLS handshake event eventOverrides default org. Callback method invoked when the TLS handshake succeeds. |
| context | back to summary |
|---|---|
| private final Map<String, Object> context | |
| HTTPSHandshakeListener | back to summary |
|---|---|
| private HTTPSHandshakeListener(Map<String, Object> context) | |
| handshakeSucceeded | back to summary |
|---|---|
| public void handshakeSucceeded(SslHandshakeListener. Overrides default org. Doc from org. Callback method invoked when the TLS handshake succeeds.
| |
A factory for SSLEngine objects.
Typically implemented by SslContextFactory.
to support more flexible creation of SSLEngine instances.
| Modifier and Type | Method and Description |
|---|---|
| public SSLEngine | Returns: a new SSLEngine instancethe peer host host, int the peer port port, Map<String, Object> the context)ClientConnectionFactory contextCreates a new |