Class AcrossWebTemplateConfig
java.lang.Object
com.foreach.across.modules.web.config.AcrossWebTemplateConfig
- All Implemented Interfaces:
 org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration
@ConditionalOnProperty(value="across.web.templates.enabled",
                       matchIfMissing=true)
@OrderInModule(2)
public class AcrossWebTemplateConfig
extends Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
Configures web template support with automatic registration of named web templates.
 This also activates support for prefixing paths in redirect or forward view names.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 
- 
Constructor Details
- 
AcrossWebTemplateConfig
public AcrossWebTemplateConfig() 
 - 
 - 
Method Details
- 
addInterceptors
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) - Specified by:
 addInterceptorsin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
 - 
webTemplateRegistry
 - 
webTemplateInterceptor
 - 
registerNamedWebTemplateProcessors
 
 -