Class SSLEngineOptions

java.lang.Object
io.vertx.core.net.SSLEngineOptions
Direct Known Subclasses:
JdkSSLEngineOptions, OpenSSLEngineOptions

public abstract class SSLEngineOptions extends Object
The SSL engine implementation to use in a Vert.x server or client.
Author:
Julien Viet
  • Field Details

    • DEFAULT_USE_WORKER_POOL

      public static final boolean DEFAULT_USE_WORKER_POOL
      The default thread pool type for SSL blocking operations.
      See Also:
  • Constructor Details

    • SSLEngineOptions

      public SSLEngineOptions()
    • SSLEngineOptions

      public SSLEngineOptions(SSLEngineOptions that)
    • SSLEngineOptions

      public SSLEngineOptions(JsonObject json)
  • Method Details

    • copy

      public abstract SSLEngineOptions copy()
    • sslContextFactory

      public abstract SslContextFactory sslContextFactory()
      Returns:
      a SslContextFactory that will be used to produce the Netty SslContext
    • getUseWorkerThread

      public boolean getUseWorkerThread()
      Returns:
      whether to use the worker pool for SSL blocking operationsg
    • setUseWorkerThread

      public SSLEngineOptions setUseWorkerThread(boolean useWorkerThread)
      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