@Configuration(proxyBeanMethods=false) @ConditionalOnWebApplication public class ConfigServerMvcConfiguration extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
| Constructor and Description |
|---|
ConfigServerMvcConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureContentNegotiation(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer) |
EnvironmentController |
environmentController(EnvironmentRepository envRepository,
ConfigServerProperties server) |
ResourceController |
resourceController(ResourceRepository repository,
EnvironmentRepository envRepository,
ConfigServerProperties server) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidatorpublic void configureContentNegotiation(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer)
configureContentNegotiation in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer@Bean @RefreshScope public EnvironmentController environmentController(EnvironmentRepository envRepository, ConfigServerProperties server)
@Bean @ConditionalOnBean(value=ResourceRepository.class) public ResourceController resourceController(ResourceRepository repository, EnvironmentRepository envRepository, ConfigServerProperties server)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.