io.quarkus.vertx.http.HttpServerStart Maven / Gradle / Ivy
package io.quarkus.vertx.http;
import io.vertx.core.http.HttpServerOptions;
/**
* Quarkus fires a CDI event of this type asynchronously when the HTTP server starts listening
* on the configured host and port.
*
*
* @ApplicationScoped
* public class MyListener {
*
* void httpStarted(@ObservesAsync HttpServerStart start) {
* // ...notified when the HTTP server starts listening
* }
* }
*
*/
public record HttpServerStart(HttpServerOptions options) {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy