Class ThymeleafTemplateEngine


  • public class ThymeleafTemplateEngine
    extends AbstractTemplateEngine

    A template engine which renders pages using Thymeleaf.

    This template engine is not recommended for large sites because the whole model is loaded into memory due to Thymeleaf internal limitations.

    The default rendering mode is "HTML", but it is possible to use another mode for each document type, by adding a key in the configuration, for example:

    template.feed.thymeleaf.mode=XML