@Configuration @Import(value=EurekaServerInitializerConfiguration.class) @EnableDiscoveryClient @EnableConfigurationProperties(value=EurekaDashboardProperties.class) public class EurekaServerConfiguration extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
| Constructor and Description |
|---|
EurekaServerConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
EurekaController |
eurekaController() |
javax.ws.rs.core.Application |
jerseyApplication(org.springframework.core.env.Environment environment,
org.springframework.core.io.ResourceLoader resourceLoader)
Construct a Jersey
Application with all the resources
required by the Eureka server. |
org.springframework.boot.context.embedded.FilterRegistrationBean |
jerseyFilterRegistration(javax.ws.rs.core.Application eurekaJerseyApp)
Register the Jersey filter
|
org.springframework.boot.context.embedded.FilterRegistrationBean |
traceFilterRegistration(javax.servlet.Filter filter) |
addArgumentResolvers, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendMessageConverters, getMessageCodesResolver, getValidator@Bean public EurekaController eurekaController()
@Bean public org.springframework.boot.context.embedded.FilterRegistrationBean jerseyFilterRegistration(javax.ws.rs.core.Application eurekaJerseyApp)
eurekaJerseyApp - the jersey application@Bean
public javax.ws.rs.core.Application jerseyApplication(org.springframework.core.env.Environment environment,
org.springframework.core.io.ResourceLoader resourceLoader)
Application with all the resources
required by the Eureka server.@Bean
public org.springframework.boot.context.embedded.FilterRegistrationBean traceFilterRegistration(@Qualifier(value="webRequestLoggingFilter")
javax.servlet.Filter filter)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.