All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkiverse.quinoa.deployment.items.ForwardedDevServerBuildItem Maven / Gradle / Ivy

package io.quarkiverse.quinoa.deployment.items;

import io.quarkiverse.quinoa.QuinoaNetworkConfiguration;
import io.quarkus.builder.item.SimpleBuildItem;

public final class ForwardedDevServerBuildItem extends SimpleBuildItem {

    private final QuinoaNetworkConfiguration networkConfiguration;

    public ForwardedDevServerBuildItem(QuinoaNetworkConfiguration networkConfiguration) {
        this.networkConfiguration = networkConfiguration;
    }

    public QuinoaNetworkConfiguration getNetworkConfiguration() {
        return networkConfiguration;
    }

    public boolean isTls() {
        return networkConfiguration.isTls();
    }

    public boolean isTlsAllowInsecure() {
        return networkConfiguration.isTlsAllowInsecure();
    }

    public String getHost() {
        return networkConfiguration.getHost();
    }

    public Integer getPort() {
        return networkConfiguration.getPort();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy