Class TlsCertificateReloader

java.lang.Object
io.quarkus.vertx.http.runtime.options.TlsCertificateReloader

public class TlsCertificateReloader extends Object
Utility class to handle TLS certificate reloading.
  • Constructor Details

    • TlsCertificateReloader

      public TlsCertificateReloader()
  • Method Details

    • initCertReloadingAction

      public static long initCertReloadingAction(io.vertx.core.Vertx vertx, io.vertx.core.http.HttpServer server, io.vertx.core.http.HttpServerOptions options, ServerSslConfig sslConfig, TlsConfigurationRegistry registry, Optional<String> tlsConfigurationName)
      Throws:
      IllegalArgumentException - if any of the configuration is invalid
    • unschedule

      public static void unschedule(io.vertx.core.Vertx vertx, long id)
    • reload

      public static CompletionStage<Void> reload()
      Trigger all the reload tasks. This method is NOT part of the public API, and is only used for testing purpose.
      Returns:
      a Uni that is completed when all the reload tasks have been executed