public static interface SslClientConnectionFactory.SslEngineFactory
A factory for SSLEngine
objects.
Typically implemented by SslContextFactory.Client
to support more flexible creation of SSLEngine instances.
Modifier and Type | Method and Description |
---|---|
javax.net.ssl.SSLEngine |
newSslEngine(java.lang.String host,
int port,
java.util.Map<java.lang.String,java.lang.Object> context)
Creates a new
SSLEngine instance for the given peer host and port,
and with the given context to help the creation of the SSLEngine. |
javax.net.ssl.SSLEngine newSslEngine(java.lang.String host, int port, java.util.Map<java.lang.String,java.lang.Object> context)
Creates a new SSLEngine
instance for the given peer host and port,
and with the given context to help the creation of the SSLEngine.
host
- the peer hostport
- the peer portcontext
- the ClientConnectionFactory
contextCopyright © 1995–2021 Webtide. All rights reserved.