Interface ThymeleafTemplateEngine

All Superinterfaces:
TemplateEngine

public interface ThymeleafTemplateEngine extends TemplateEngine
A template engine that uses the Thymeleaf library. The unwrap() shall return an object of class TemplateEngine
Author:
Tim Fox
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.thymeleaf.templatemode.TemplateMode
     
  • Method Summary

    Modifier and Type
    Method
    Description
    create(Vertx vertx)
    Create a template engine using defaults
    org.thymeleaf.TemplateEngine
    Returns the underlying engine, so further configurations or customizations may be applied or null when the engine cannot unwrap it.

    Methods inherited from interface TemplateEngine

    clearCache, render, render
  • Field Details

    • DEFAULT_TEMPLATE_MODE

      static final org.thymeleaf.templatemode.TemplateMode DEFAULT_TEMPLATE_MODE
  • Method Details

    • create

      static ThymeleafTemplateEngine create(Vertx vertx)
      Create a template engine using defaults
      Returns:
      the engine
    • unwrap

      org.thymeleaf.TemplateEngine unwrap()
      Description copied from interface: TemplateEngine
      Returns the underlying engine, so further configurations or customizations may be applied or null when the engine cannot unwrap it.
      Specified by:
      unwrap in interface TemplateEngine
      Returns:
      the engine instance.