@Configuration
public class LocaleConfiguration
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
implements org.springframework.context.EnvironmentAware
| Constructor and Description |
|---|
LocaleConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) |
org.springframework.web.servlet.LocaleResolver |
localeResolver() |
org.springframework.context.MessageSource |
messageSource() |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
addArgumentResolvers, addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidatorpublic void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment in interface org.springframework.context.EnvironmentAware@Bean(name="localeResolver") public org.springframework.web.servlet.LocaleResolver localeResolver()
@Bean public org.springframework.context.MessageSource messageSource()
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
addInterceptors in interface org.springframework.web.servlet.config.annotation.WebMvcConfigureraddInterceptors in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterCopyright © 2019 VILT Group. All rights reserved.