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, wait
clearSslContexts, compareTo
public io.netty.handler.ssl.SslContext getClientSslContext(SSLContextConfig config, Map<String,Object> additionalOpts) throws Exception
getClientSslContext
in interface OpenSSLContextFactory
additionalOpts
- not used by this implementationSslContext
instance for the given configuration.Exception
public io.netty.handler.ssl.SslContext getServerSslContext(SSLContextConfig config, Map<String,Object> additionalOpts) throws Exception
getServerSslContext
in interface OpenSSLContextFactory
additionalOpts
- not used by this implementationSslContext
instance for the given configuration.Exception
public int getPriority()
OpenSSLContextFactory
OpenSSLContextFactory
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 OpenSSLContextFactory
Copyright © 2021 JBoss by Red Hat. All rights reserved.