Class TlsCertificateReloader
java.lang.Object
io.quarkus.vertx.http.runtime.options.TlsCertificateReloader
Utility class to handle TLS certificate reloading.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic longinitCertReloadingAction(io.vertx.core.Vertx vertx, io.vertx.core.http.HttpServer server, io.vertx.core.http.HttpServerOptions options, ServerSslConfig sslConfig, io.quarkus.tls.TlsConfigurationRegistry registry, Optional<String> tlsConfigurationName) static CompletionStage<Void>reload()Trigger all the reload tasks.static voidunschedule(io.vertx.core.Vertx vertx, long id)
-
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, io.quarkus.tls.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
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
-