Package org.eclipse.jetty.io.ssl
Interface SslClientConnectionFactory.SslEngineFactory
-
- Enclosing class:
- SslClientConnectionFactory
public static interface SslClientConnectionFactory.SslEngineFactory
A factory for
SSLEngine
objects.Typically implemented by
SslContextFactory.Client
to support more flexible creation of SSLEngine instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.net.ssl.SSLEngine
newSslEngine(java.lang.String host, int port, java.util.Map<java.lang.String,java.lang.Object> context)
Creates a newSSLEngine
instance for the given peer host and port, and with the given context to help the creation of the SSLEngine.
-
-
-
Method Detail
-
newSslEngine
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.- Parameters:
host
- the peer hostport
- the peer portcontext
- theClientConnectionFactory
context- Returns:
- a new SSLEngine instance
-
-