@Configuration
@ComponentScan(basePackages="de.digitalcollections.iiif.hymir.frontend.impl.springmvc.controller")
@EnableAspectJAutoProxy
@EnableWebMvc
@PropertySource(value="classpath:de/digitalcollections/iiif/hymir/config/SpringConfigWeb-${spring.profiles.active:PROD}.properties")
public class SpringConfigWeb
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
| Constructor and Description |
|---|
SpringConfigWeb() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) |
void |
addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) |
static org.springframework.context.support.PropertySourcesPlaceholderConfigurer |
propertySourcesPlaceholderConfigurer() |
org.thymeleaf.templateresolver.TemplateResolver |
servletContextTemplateResolver() |
org.springframework.web.servlet.LocaleResolver |
sessionLocaleResolver() |
org.thymeleaf.spring4.SpringTemplateEngine |
templateEngine() |
org.springframework.web.servlet.ViewResolver |
viewResolver() |
addArgumentResolvers, addCorsMappings, addFormatters, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendMessageConverters, getMessageCodesResolver, getValidator@Bean public static org.springframework.context.support.PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer()
public void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
addResourceHandlers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigureraddResourceHandlers in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter@Bean public org.thymeleaf.templateresolver.TemplateResolver servletContextTemplateResolver()
@Bean public org.thymeleaf.spring4.SpringTemplateEngine templateEngine()
@Bean public org.springframework.web.servlet.ViewResolver viewResolver()
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.WebMvcConfigurerAdapter@Bean(name="localeResolver") public org.springframework.web.servlet.LocaleResolver sessionLocaleResolver()
Copyright © 2016. All rights reserved.