Class SpringConfigWeb
- java.lang.Object
-
- de.digitalcollections.cudami.template.website.springboot.config.SpringConfigWeb
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean,org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration public class SpringConfigWeb extends java.lang.Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer, org.springframework.beans.factory.InitializingBean
-
-
Constructor Summary
Constructors Constructor Description SpringConfigWeb()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)voidafterPropertiesSet()org.springframework.web.servlet.LocaleResolversessionLocaleResolver()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
-
-
-
Method Detail
-
addInterceptors
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
- Specified by:
addInterceptorsin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
java.lang.Exception
-
sessionLocaleResolver
@Bean(name="localeResolver") public org.springframework.web.servlet.LocaleResolver sessionLocaleResolver()
-
-