io.quarkus.smallrye.health.runtime.SmallRyeReadinessHandler Maven / Gradle / Ivy
package io.quarkus.smallrye.health.runtime;
import io.smallrye.health.SmallRyeHealth;
import io.smallrye.health.SmallRyeHealthReporter;
import io.smallrye.mutiny.Uni;
import io.vertx.ext.web.RoutingContext;
public class SmallRyeReadinessHandler extends SmallRyeHealthHandlerBase {
@Override
protected Uni getHealth(SmallRyeHealthReporter reporter, RoutingContext ctx) {
return reporter.getReadinessAsync();
}
}