public final class SslContextUtil extends Object
SslContextBuilder.| Modifier and Type | Field and Description |
|---|---|
static List<String> |
DEFAULT_CIPHERS |
static List<String> |
DEFAULT_PROTOCOLS |
| Modifier and Type | Method and Description |
|---|---|
static io.netty.handler.ssl.SslContext |
createSslContext(io.netty.handler.ssl.SslContextBuilder builder,
boolean forceHttp1,
Iterable<? extends Consumer<? super io.netty.handler.ssl.SslContextBuilder>> userCustomizers)
Creates a
SslContext with Armeria's defaults, enabling support for HTTP/2,
TLSv1.3 (if supported), and TLSv1.2. |
public static io.netty.handler.ssl.SslContext createSslContext(io.netty.handler.ssl.SslContextBuilder builder,
boolean forceHttp1,
Iterable<? extends Consumer<? super io.netty.handler.ssl.SslContextBuilder>> userCustomizers)
SslContext with Armeria's defaults, enabling support for HTTP/2,
TLSv1.3 (if supported), and TLSv1.2.Copyright © 2020 LeanCloud. All rights reserved.