@Configuration
@ConditionalOnClass(name="org.springframework.cloud.gateway.filter.GlobalFilter")
@ConditionalOnProperty(value="spring.cloud.servicecomb.gateway.context.enabled",
havingValue="true",
matchIfMissing=true)
public class GatewayConfiguration
extends Object
| Constructor and Description |
|---|
GatewayConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.cloud.gateway.filter.GlobalFilter |
gatewayAddServiceNameContext(org.springframework.cloud.client.serviceregistry.Registration registration) |
org.springframework.cloud.gateway.filter.GlobalFilter |
gatewayMetricsGlobalFilter() |
org.springframework.cloud.gateway.filter.GlobalFilter |
serializeContextGlobalFilter() |
@Bean public org.springframework.cloud.gateway.filter.GlobalFilter serializeContextGlobalFilter()
@Bean public org.springframework.cloud.gateway.filter.GlobalFilter gatewayMetricsGlobalFilter()
@Bean
public org.springframework.cloud.gateway.filter.GlobalFilter gatewayAddServiceNameContext(@Autowired(required=false)
org.springframework.cloud.client.serviceregistry.Registration registration)
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.