Class SpringConfigWeb
- java.lang.Object
-
- de.digitalcollections.streaming.euphoria.config.SpringConfigWeb
-
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration @EnableAspectJAutoProxy public class SpringConfigWeb extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
-
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)voidaddResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)Handles HTTP GET requests for /resources/** by efficiently serving up static resources in the ${symbol_dollar}{webappRoot}/resources directorynz.net.ultraq.thymeleaf.LayoutDialectlayoutDialect()org.springframework.web.servlet.LocaleResolverlocaleResolver()-
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, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
-
-
-
Method Detail
-
addResourceHandlers
public void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
Handles HTTP GET requests for /resources/** by efficiently serving up static resources in the ${symbol_dollar}{webappRoot}/resources directory- Specified by:
addResourceHandlersin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer- Parameters:
registry- resourcehandler registry
-
layoutDialect
@Bean public nz.net.ultraq.thymeleaf.LayoutDialect layoutDialect()
-
addInterceptors
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
- Specified by:
addInterceptorsin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
localeResolver
@Bean public org.springframework.web.servlet.LocaleResolver localeResolver()
-
-