Class ThymeleafConfig


  • @Configuration
    public class ThymeleafConfig
    extends Object
    Thymeleaf configuration.
    • Constructor Detail

      • ThymeleafConfig

        @Autowired
        public ThymeleafConfig​(org.springframework.web.context.WebApplicationContext applicationContext)
    • Method Detail

      • htmlTemplateResolver

        @Bean("htmlTemplateResolver")
        public org.thymeleaf.spring5.templateresolver.SpringResourceTemplateResolver htmlTemplateResolver()
      • cssTemplateResolver

        @Bean("cssTemplateResolver")
        public org.thymeleaf.spring5.templateresolver.SpringResourceTemplateResolver cssTemplateResolver()
      • javascriptTemplateResolver

        @Bean("javascriptTemplateResolver")
        public org.thymeleaf.spring5.templateresolver.SpringResourceTemplateResolver javascriptTemplateResolver()
      • htmlViewResolver

        @Bean
        public org.springframework.web.servlet.ViewResolver htmlViewResolver​(org.thymeleaf.spring5.SpringTemplateEngine templateEngine)
      • cssViewResolver

        @Bean
        public org.springframework.web.servlet.ViewResolver cssViewResolver​(org.thymeleaf.spring5.SpringTemplateEngine templateEngine)
      • javascriptViewResolver

        @Bean
        public org.springframework.web.servlet.ViewResolver javascriptViewResolver​(org.thymeleaf.spring5.SpringTemplateEngine templateEngine)
      • templateEngine

        @Bean
        public org.thymeleaf.spring5.SpringTemplateEngine templateEngine​(org.springframework.beans.factory.ObjectProvider<org.thymeleaf.templateresolver.ITemplateResolver> templateResolvers)