-
Notifications
You must be signed in to change notification settings - Fork 5
io microsphere spring cloud gateway commons config ConfigUtils
github-actions[bot] edited this page Jul 1, 2026
·
6 revisions
Type: Class | Module: microsphere-spring-cloud-gateway-commons | Package: io.microsphere.spring.cloud.gateway.commons.config | Since: 1.0.0
The utilities class for Configuration
public abstract class ConfigUtils implements UtilsAuthor: Mercy
-
Introduced in:
1.0.0 -
Current Project Version:
0.2.11-SNAPSHOT
This component is tested and compatible with the following Java versions:
| Java Version | Status |
|---|---|
| Java 17 | ✅ Compatible |
| Java 21 | ✅ Compatible |
| Java 25 | ✅ Compatible |
Add the following dependency to your pom.xml:
<dependency>
<groupId>io.github.microsphere-projects</groupId>
<artifactId>microsphere-spring-cloud-gateway-commons</artifactId>
<version>${microsphere-gateway.version}</version>
</dependency>Tip: Use the BOM (
microsphere-gateway-dependencies) for consistent version management. See the Getting Started guide.
import io.microsphere.spring.cloud.gateway.commons.config.ConfigUtils;| Method | Description |
|---|---|
getWebEndpointConfig |
Get the WebEndpointConfig from the specified Environment
|
getWebEndpointConfig |
Get the WebEndpointConfig from the specified metadata |
public static WebEndpointConfig getWebEndpointConfig(Environment environment, String configPrefix)Get the WebEndpointConfig from the specified Environment
public static WebEndpointConfig getWebEndpointConfig(Map<String, Object> metadata)Get the WebEndpointConfig from the specified metadata
WebEndpointConfig
This documentation was auto-generated from the source code of microsphere-gateway.
spring-cloud-gateway-commons
- CommonConstants
- CommonsPropertyConstants
- ConditionalOnMicrosphereGatewayEnabled
- ConditionalOnMicrosphereWebEndpointMappingEnabled
- ConfigUtils
- RouteConstants
- WebEndpointConfig
- WebEndpointConfigurationPropertiesBindListener
spring-cloud-gateway-server-webflux
- CachingFilteringWebHandler
- ConditionalOnGatewayEnabled
- DefaultGatewayFilterChain
- DisabledHeartbeatEventRouteRefreshListenerInterceptor
- FilteringWebHandlerBeanDefinitionRegistryPostProcessor
- GatewayAutoConfiguration
- GatewayPropertyConstants
- GatewayUtils
- PropagatingRefreshRoutesEventApplicationListener
- WebEndpointApplicationContextInitializer
- WebEndpointMappingGatewayAutoConfiguration
- WebEndpointMappingGlobalFilter
spring-cloud-gateway-server-webmvc