public class DefaultOpenSSLContextFactory extends Object implements OpenSSLContextFactory
OpenSSLContextFactory for use in NettyConnector and NettyAcceptor.log| Constructor and Description |
|---|
DefaultOpenSSLContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
io.netty.handler.ssl.SslContext |
getClientSslContext(SSLContextConfig config,
Map<String,Object> additionalOpts) |
int |
getPriority()
The priority for the
OpenSSLContextFactory when resolving the service to get the implementation. |
io.netty.handler.ssl.SslContext |
getServerSslContext(SSLContextConfig config,
Map<String,Object> additionalOpts) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearSslContexts, compareTopublic io.netty.handler.ssl.SslContext getClientSslContext(SSLContextConfig config, Map<String,Object> additionalOpts) throws Exception
getClientSslContext in interface OpenSSLContextFactoryadditionalOpts - not used by this implementationSslContext instance for the given configuration.Exceptionpublic io.netty.handler.ssl.SslContext getServerSslContext(SSLContextConfig config, Map<String,Object> additionalOpts) throws Exception
getServerSslContext in interface OpenSSLContextFactoryadditionalOpts - not used by this implementationSslContext instance for the given configuration.Exceptionpublic int getPriority()
OpenSSLContextFactoryOpenSSLContextFactory when resolving the service to get the implementation.
This is used when selecting the implementation when several implementations are loaded.
The highest priority implementation will be used.getPriority in interface OpenSSLContextFactoryCopyright © 2022 JBoss by Red Hat. All rights reserved.