Top Description Fields Constructors Methods
io.vertx.core.net

public abstract Class SSLEngineOptions

extends Object
Class Inheritance
Known Direct Subclasses
io.vertx.core.net.OpenSSLEngineOptions, io.vertx.core.net.JdkSSLEngineOptions
Imports
io.vertx.core.json.JsonObject, io.vertx.core.spi.tls.SslContextFactory

The SSL engine implementation to use in a Vert.x server or client.
Author
Julien Viet

Field Summary

Modifier and TypeField and Description
public static final boolean
DEFAULT_USE_WORKER_POOL

The default thread pool type for SSL blocking operations.

private boolean

Constructor Summary

AccessConstructor and Description
public
public
public
SSLEngineOptions(JsonObject json)
References Deprecated JsonObject is deprecated or references (maybe indirectly) at least one deprecated element.

Method Summary

Modifier and TypeMethod and Description
public abstract SSLEngineOptions
copy()

public boolean

Returns:

whether to use the worker pool for SSL blocking operationsg
getUseWorkerThread
()

public SSLEngineOptions

Returns:

a reference to this, so the API can be used fluently
setUseWorkerThread
(boolean
whether to use the vertx internal worker pool for SSL blocking operations
useWorkerThread
)

Set the thread pool to use for SSL blocking operations.

public abstract SslContextFactory

Returns:

a SslContextFactory that will be used to produce the Netty SslContext
sslContextFactory
()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DEFAULT_USE_WORKER_POOLback to summary
public static final boolean DEFAULT_USE_WORKER_POOL

The default thread pool type for SSL blocking operations.

useWorkerThreadback to summary
private boolean useWorkerThread

Constructor Detail

SSLEngineOptionsback to summary
public SSLEngineOptions()
SSLEngineOptionsback to summary
public SSLEngineOptions(SSLEngineOptions that)
SSLEngineOptionsback to summary
public SSLEngineOptions(JsonObject json)

References Deprecated

JsonObject is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Method Detail

copyback to summary
public abstract SSLEngineOptions copy()
getUseWorkerThreadback to summary
public boolean getUseWorkerThread()
Returns:boolean

whether to use the worker pool for SSL blocking operationsg

setUseWorkerThreadback to summary
public SSLEngineOptions setUseWorkerThread(boolean useWorkerThread)

Set the thread pool to use for SSL blocking operations.

Parameters
useWorkerThread:boolean

whether to use the vertx internal worker pool for SSL blocking operations

Returns:SSLEngineOptions

a reference to this, so the API can be used fluently

sslContextFactoryback to summary
public abstract SslContextFactory sslContextFactory()
Returns:SslContextFactory

a SslContextFactory that will be used to produce the Netty SslContext