Package org.eclipse.jetty.io.ssl
Interface SslClientConnectionFactory.SslEngineFactory
-
- Enclosing class:
- SslClientConnectionFactory
public static interface SslClientConnectionFactory.SslEngineFactoryA factory for
SSLEngineobjects.Typically implemented by
SslContextFactory.Clientto support more flexible creation of SSLEngine instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.net.ssl.SSLEnginenewSslEngine(java.lang.String host, int port, java.util.Map<java.lang.String,java.lang.Object> context)Creates a newSSLEngineinstance 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
SSLEngineinstance 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- theClientConnectionFactorycontext- Returns:
- a new SSLEngine instance
-
-