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

public Class JdkSSLEngineOptions

extends SSLEngineOptions
Class Inheritance
Annotations
@DataObject
Imports
io.netty.handler.ssl.SslProvider, io.vertx.codegen.annotations.DataObject, io.vertx.core.json.JsonObject, io.vertx.core.spi.tls.DefaultSslContextFactory, .SslContextFactory, javax.net.ssl.SSLEngine

Configures a TCPSSLOptions to use the JDK ssl engine implementation.
Author
Julien Viet

Field Summary

Modifier and TypeField and Description
private static Boolean
private boolean
Inherited from io.vertx.core.net.SSLEngineOptions:
DEFAULT_USE_WORKER_POOL

Constructor Summary

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

public

Method Summary

Modifier and TypeMethod and Description
public JdkSSLEngineOptions
public static synchronized boolean

Returns:

if alpn support is available via the JDK SSL engine
isAlpnAvailable
()

public boolean
public JdkSSLEngineOptions
setPooledHeapBuffers(boolean pooledHeapBuffers)

Set whether to use pooled heap buffers.

public JdkSSLEngineOptions
setUseWorkerThread(boolean
whether to use the vertx internal worker pool for SSL blocking operations
useWorkerThread
)

Overrides io.vertx.core.net.SSLEngineOptions.setUseWorkerThread.

Set the thread pool to use for SSL blocking operations.

public SslContextFactory
public JsonObject
toJson()
References Deprecated JsonObject is deprecated or references (maybe indirectly) at least one deprecated element.

Inherited from io.vertx.core.net.SSLEngineOptions:
getUseWorkerThread

Field Detail

jdkAlpnAvailableback to summary
private static Boolean jdkAlpnAvailable
pooledHeapBuffersback to summary
private boolean pooledHeapBuffers

Constructor Detail

JdkSSLEngineOptionsback to summary
public JdkSSLEngineOptions()
JdkSSLEngineOptionsback to summary
public JdkSSLEngineOptions(JsonObject json)

References Deprecated

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

See corresponding docs for further information.

JdkSSLEngineOptionsback to summary
public JdkSSLEngineOptions(JdkSSLEngineOptions that)

Method Detail

copyback to summary
public JdkSSLEngineOptions copy()

Implements abstract io.vertx.core.net.SSLEngineOptions.copy.

Annotations
@Override
isAlpnAvailableback to summary
public static synchronized boolean isAlpnAvailable()
Returns:boolean

if alpn support is available via the JDK SSL engine

isPooledHeapBuffersback to summary
public boolean isPooledHeapBuffers()
setPooledHeapBuffersback to summary
public JdkSSLEngineOptions setPooledHeapBuffers(boolean pooledHeapBuffers)

Set whether to use pooled heap buffers. Default is false, but it is recommended to use pooled buffers

setUseWorkerThreadback to summary
public JdkSSLEngineOptions setUseWorkerThread(boolean useWorkerThread)

Overrides io.vertx.core.net.SSLEngineOptions.setUseWorkerThread.

Doc from io.vertx.core.net.SSLEngineOptions.setUseWorkerThread.

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:JdkSSLEngineOptions

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

Annotations
@Override
sslContextFactoryback to summary
public SslContextFactory sslContextFactory()

Implements abstract io.vertx.core.net.SSLEngineOptions.sslContextFactory.

Returns:SslContextFactory

Doc from io.vertx.core.net.SSLEngineOptions.sslContextFactory.

a SslContextFactory that will be used to produce the Netty SslContext

Annotations
@Override
toJsonback to summary
public JsonObject toJson()

References Deprecated

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

See corresponding docs for further information.