Class ThymeleafViewSupportConfiguration

java.lang.Object
com.foreach.across.modules.web.config.ThymeleafViewSupportConfiguration

@Configuration @ConditionalOnProperty(value="across.web.views.thymeleaf.enabled", matchIfMissing=true) @EnableConfigurationProperties(org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties.class) public class ThymeleafViewSupportConfiguration extends Object
Registers Thymeleaf support for all files with .html or .thtml extension.
  • Constructor Details

    • ThymeleafViewSupportConfiguration

      public ThymeleafViewSupportConfiguration()
  • Method Details

    • springTemplateEngine

      @Bean @Exposed @Qualifier("springTemplateEngine") public org.thymeleaf.spring6.SpringTemplateEngine springTemplateEngine(PrefixingPathRegistry prefixingPathRegistry)
    • refreshTemplateResolvers

      @PostRefresh public void refreshTemplateResolvers(org.thymeleaf.spring6.SpringTemplateEngine engine)
    • acrossWebDialect

      @Bean public AcrossWebDialect acrossWebDialect()
    • thymeleafViewElementProcessorRegistry

      @Bean @Exposed public ViewElementModelWriterRegistry thymeleafViewElementProcessorRegistry()
    • viewElementAttributeConverter

      @Bean @Exposed public ViewElementAttributeConverter viewElementAttributeConverter(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • thymeleafViewResolver

      @Bean @Exposed @ConditionalOnMissingBean(name="thymeleafViewResolver") public org.thymeleaf.spring6.view.ThymeleafViewResolver thymeleafViewResolver(org.thymeleaf.spring6.SpringTemplateEngine springTemplateEngine)
    • templateResolver

      @Bean @Exposed public org.thymeleaf.templateresolver.ITemplateResolver templateResolver()
    • thtmlTemplateResolver

      @Bean @Exposed public org.thymeleaf.templateresolver.ITemplateResolver thtmlTemplateResolver()