io.quarkus.vertx.http.runtime.HeaderConfig Maven / Gradle / Ivy
The newest version!
package io.quarkus.vertx.http.runtime;
import java.util.List;
import java.util.Optional;
import io.quarkus.runtime.annotations.ConfigGroup;
import io.quarkus.runtime.annotations.ConfigItem;
/**
* Configuration that allows for setting an HTTP header
*/
@ConfigGroup
public class HeaderConfig {
/**
* The path this header should be applied
*/
@ConfigItem(defaultValue = "/*")
public String path;
/**
* The value for this header configuration
*/
@ConfigItem
public String value;
/**
* The HTTP methods for this header configuration
*/
@ConfigItem
public Optional> methods;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy