Class SSLEngineOptions
java.lang.Object
io.vertx.core.net.SSLEngineOptions
- Direct Known Subclasses:
JdkSSLEngineOptions, OpenSSLEngineOptions
The SSL engine implementation to use in a Vert.x server or client.
- Author:
- Julien Viet
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanThe default thread pool type for SSL blocking operations. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract SSLEngineOptionscopy()booleansetUseWorkerThread(boolean useWorkerThread) Set the thread pool to use for SSL blocking operations.abstract SslContextFactory
-
Field Details
-
DEFAULT_USE_WORKER_POOL
public static final boolean DEFAULT_USE_WORKER_POOLThe default thread pool type for SSL blocking operations.- See Also:
-
-
Constructor Details
-
SSLEngineOptions
public SSLEngineOptions() -
SSLEngineOptions
-
SSLEngineOptions
-
-
Method Details
-
copy
-
sslContextFactory
- Returns:
- a
SslContextFactorythat will be used to produce the NettySslContext
-
getUseWorkerThread
public boolean getUseWorkerThread()- Returns:
- whether to use the worker pool for SSL blocking operationsg
-
setUseWorkerThread
Set the thread pool to use for SSL blocking operations.- 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
-