public class JdkSSLEngineOptions extends SSLEngineOptions
TCPSSLOptions
to use the JDK ssl engine implementation.DEFAULT_USE_WORKER_POOL
Constructor and Description |
---|
JdkSSLEngineOptions() |
JdkSSLEngineOptions(JdkSSLEngineOptions that) |
JdkSSLEngineOptions(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
JdkSSLEngineOptions |
copy() |
static boolean |
isAlpnAvailable() |
boolean |
isPooledHeapBuffers() |
JdkSSLEngineOptions |
setPooledHeapBuffers(boolean pooledHeapBuffers)
Set whether to use pooled heap buffers.
|
JdkSSLEngineOptions |
setUseWorkerThread(boolean useWorkerThread)
Set the thread pool to use for SSL blocking operations.
|
SslContextFactory |
sslContextFactory() |
JsonObject |
toJson() |
getUseWorkerThread
public JdkSSLEngineOptions()
public JdkSSLEngineOptions(JsonObject json)
public JdkSSLEngineOptions(JdkSSLEngineOptions that)
public static boolean isAlpnAvailable()
public JdkSSLEngineOptions setPooledHeapBuffers(boolean pooledHeapBuffers)
false
, but it is recommended to use pooled bufferspublic boolean isPooledHeapBuffers()
public JdkSSLEngineOptions setUseWorkerThread(boolean useWorkerThread)
SSLEngineOptions
setUseWorkerThread
in class SSLEngineOptions
useWorkerThread
- whether to use the vertx internal worker pool for SSL blocking operationspublic JsonObject toJson()
public JdkSSLEngineOptions copy()
copy
in class SSLEngineOptions
public SslContextFactory sslContextFactory()
sslContextFactory
in class SSLEngineOptions
SslContextFactory
that will be used to produce the Netty SslContext
Copyright © 2024 Eclipse. All rights reserved.