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

javaVertXServer.MainApiHeader.mustache Maven / Gradle / Ivy

The newest version!
package {{invokerPackage}};

public class MainApiHeader {
    private String name;
    private String value;
    private Iterable values;

    protected MainApiHeader(String name, String value) {
        super();
        this.name = name;
        this.value = value;
        this.values = null;
    }

    protected MainApiHeader(String name, Iterable values) {
        super();
        this.name = name;
        this.value = null;
        this.values = values;
    }

    public String getName() {
        return name;
    }

    public String getValue() {
        return value;
    }

    public Iterable getValues() {
        return values;
    }

    public static final MainApiHeader CONTENT_TYPE_JSON = new MainApiHeader("Content-Type", "application/json");
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy