public final class SslContexts extends Object
SslContext classes.| Modifier and Type | Method and Description |
|---|---|
static io.netty.handler.ssl.SslContext |
newSSLContext(HttpsConnectorConfig httpsConnectorConfig)
Produce an SslContext based on the provided configuration.
|
static io.netty.handler.ssl.SslContext |
newSSLContext(HttpsConnectorConfig httpsConnectorConfig,
MetricRegistry metricRegistry)
Produce an SslContext that will record metrics, based on the provided configuration.
|
public static io.netty.handler.ssl.SslContext newSSLContext(HttpsConnectorConfig httpsConnectorConfig)
httpsConnectorConfig - configurationpublic static io.netty.handler.ssl.SslContext newSSLContext(HttpsConnectorConfig httpsConnectorConfig, MetricRegistry metricRegistry)
httpsConnectorConfig - configurationmetricRegistry - metric registryCopyright © 2013–2020 Hotels.com. All rights reserved.