### YamlMime:JavaType uid: "com.azure.spring.cloud.feature.management.web.FeatureGate" fullName: "com.azure.spring.cloud.feature.management.web.FeatureGate" name: "FeatureGate" nameWithType: "FeatureGate" summary: "THis annotation can be added to any endpoint and will check if the feature is on." syntax: "public interface **FeatureGate**
implements Annotation" methods: - uid: "com.azure.spring.cloud.feature.management.web.FeatureGate.fallback()" fullName: "com.azure.spring.cloud.feature.management.web.FeatureGate.fallback()" name: "fallback()" nameWithType: "FeatureGate.fallback()" summary: "Return endpoint to be fall backed on if feature is off." modifiers: - "abstract" syntax: "public abstract String fallback()" desc: "Return endpoint to be fall backed on if feature is off." returns: description: "Endpoint to be fall backed on if feature is off." type: "String" - uid: "com.azure.spring.cloud.feature.management.web.FeatureGate.feature()" fullName: "com.azure.spring.cloud.feature.management.web.FeatureGate.feature()" name: "feature()" nameWithType: "FeatureGate.feature()" summary: "Return name of the feature that is checked." modifiers: - "abstract" syntax: "public abstract String feature()" desc: "Return name of the feature that is checked." returns: description: "Name of the feature that is checked." type: "String" - uid: "com.azure.spring.cloud.feature.management.web.FeatureGate.snapshot()" fullName: "com.azure.spring.cloud.feature.management.web.FeatureGate.snapshot()" name: "snapshot()" nameWithType: "FeatureGate.snapshot()" summary: "If true, feature will return the same value during the length of the request." modifiers: - "abstract" syntax: "public abstract boolean snapshot()" desc: "If true, feature will return the same value during the length of the request." returns: description: "If true, feature will return the same value during the length of the request." type: "" type: "interface" desc: "THis annotation can be added to any endpoint and will check if the feature is on." implements: - "Annotation" metadata: {} package: "com.azure.spring.cloud.feature.management.web" artifact: com.azure.spring:spring-cloud-azure-feature-management-web:5.18.0