Package sk.iway.iwcm.setup
Class SetupSpringConfig
java.lang.Object
sk.iway.iwcm.setup.SetupSpringConfig
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration
@EnableWebMvc
public class SetupSpringConfig
extends Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.servlet.i18n.AcceptHeaderLocaleResolverorg.springframework.context.MessageSourceorg.thymeleaf.spring6.SpringTemplateEngineorg.thymeleaf.spring6.templateresolver.SpringResourceTemplateResolverorg.thymeleaf.spring6.view.ThymeleafViewResolverMethods 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, addErrorResponseInterceptors, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureApiVersioning, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
Constructor Details
-
SetupSpringConfig
public SetupSpringConfig()
-
-
Method Details
-
localeResolver
@Bean public org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver localeResolver() -
thymeleafTemplateResolver
@Bean public org.thymeleaf.spring6.templateresolver.SpringResourceTemplateResolver thymeleafTemplateResolver() -
templateEngine
@Bean public org.thymeleaf.spring6.SpringTemplateEngine templateEngine() -
thymeleafViewResolver
@Bean public org.thymeleaf.spring6.view.ThymeleafViewResolver thymeleafViewResolver() -
messageSource
@Bean public org.springframework.context.MessageSource messageSource()
-