Skip to content

io microsphere spring cloud gateway server webmvc annotation ConditionalOnGatewayServerMvcAvailable

github-actions[bot] edited this page Jul 9, 2026 · 1 revision

ConditionalOnGatewayServerMvcAvailable

Type: Annotation | Module: microsphere-spring-cloud-gateway-server-webmvc | Package: io.microsphere.spring.cloud.gateway.server.webmvc.annotation | Since: 1.0.0

Source: microsphere-spring-cloud-gateway-server-webmvc/src/main/java/io/microsphere/spring/cloud/gateway/server/webmvc/annotation/ConditionalOnGatewayServerMvcAvailable.java

Overview

The conditional annotation meta-annotates ConditionalOnProperty @ConditionalOnProperty for Spring Cloud Gateway Server MVC available.

Declaration

public @interface ConditionalOnGatewayServerMvcAvailable

Author: Mercy

Version Information

  • Introduced in: 1.0.0
  • Current Project Version: 0.2.14-SNAPSHOT

Version Compatibility

This component is tested and compatible with the following Java versions:

Java Version Status
Java 17 ✅ Compatible
Java 21 ✅ Compatible
Java 25 ✅ Compatible

Usage

Maven Dependency

Add the following dependency to your pom.xml:

<dependency>
    <groupId>io.github.microsphere-projects</groupId>
    <artifactId>microsphere-spring-cloud-gateway-server-webmvc</artifactId>
    <version>${microsphere-gateway.version}</version>
</dependency>

Tip: Use the BOM (microsphere-gateway-dependencies) for consistent version management. See the Getting Started guide.

Import

import io.microsphere.spring.cloud.gateway.server.webmvc.annotation.ConditionalOnGatewayServerMvcAvailable;

See Also

  • ConditionalOnProperty
  • ConditionalOnClass
  • org.springframework.cloud.gateway.server.mvc.config.GatewayMvcProperties

This documentation was auto-generated from the source code of microsphere-gateway.

Clone this wiki locally