Class JdkSSLEngineOptions
java.lang.Object
io.vertx.core.net.SSLEngineOptions
io.vertx.core.net.JdkSSLEngineOptions
Configures a
TCPSSLOptions to use the JDK ssl engine implementation.- Author:
- Julien Viet
-
Field Summary
Fields inherited from class SSLEngineOptions
DEFAULT_USE_WORKER_POOL -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptioncopy()static booleansetUseWorkerThread(boolean useWorkerThread) Set the thread pool to use for SSL blocking operations.toJson()Methods inherited from class SSLEngineOptions
getUseWorkerThread
-
Constructor Details
-
JdkSSLEngineOptions
public JdkSSLEngineOptions() -
JdkSSLEngineOptions
-
JdkSSLEngineOptions
-
-
Method Details
-
isAlpnAvailable
public static boolean isAlpnAvailable()- Returns:
- if alpn support is available via the JDK SSL engine
-
setUseWorkerThread
Description copied from class:SSLEngineOptionsSet the thread pool to use for SSL blocking operations.- Overrides:
setUseWorkerThreadin classSSLEngineOptions- Parameters:
useWorkerThread- whether to use the vertx internal worker pool for SSL blocking operations- Returns:
- a reference to this, so the API can be used fluently
-
toJson
-
copy
- Specified by:
copyin classSSLEngineOptions
-
sslContextFactory
- Specified by:
sslContextFactoryin classSSLEngineOptions- Returns:
- a
SslContextFactorythat will be used to produce the NettySslContext
-