Package com.linkedin.alpini.netty4.ssl
Interface SSLEngineFactory
- All Superinterfaces:
SslFactory
- All Known Implementing Classes:
SSLEngineFactoryImpl
Factory interface to create
SSLEngine and get SSLSessionContext objects for Netty4 pipelines-
Method Summary
Modifier and TypeMethodDescriptionstatic SSLEngineFactoryadaptSSLFactory(SslFactory factory) default io.netty.handler.ssl.SslContextcontext(boolean isServer) The default implementation for the anonymous classes below.createSSLEngine(io.netty.buffer.ByteBufAllocator alloc, boolean isServer) createSSLEngine(io.netty.buffer.ByteBufAllocator alloc, String host, int port, boolean isServer) sessionContext(boolean isServer) Methods inherited from interface com.linkedin.alpini.base.ssl.SslFactory
getSSLContext, getSSLParameters, isSslEnabled
-
Method Details
-
createSSLEngine
-
createSSLEngine
-
sessionContext
-
context
default io.netty.handler.ssl.SslContext context(boolean isServer) The default implementation for the anonymous classes below. :69- Parameters:
isServer-truefor server SSL context.- Returns:
- instance of SslContext
-
adaptSSLFactory
-