Package: io.vertx.groovy.ext.web.templ

## [Groovy] Class ThymeleafTemplateEngine

- io.vertx.groovy.ext.web.templ.ThymeleafTemplateEngine

- A template engine that uses the Thymeleaf library.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `ThymeleafTemplateEngine (java.lang.Object delegate)`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `static ThymeleafTemplateEngine` | `create()` Create a template engine using defaults
    `java.lang.Object` | `getDelegate()`
    `ThymeleafTemplateEngine` | `setMode(org.thymeleaf.templatemode.TemplateMode mode)` Set the mode for the engine

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class TemplateEngine` | `getDelegate, render`
    `class java.lang.Object` | `java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()`

- - ### Constructor Detail

    - #### ThymeleafTemplateEngine(java.lang.Object delegate)

  - ### Method Detail

    - #### static ThymeleafTemplateEngine create()

      Create a template engine using defaults

      Returns:
        the engine

    - #### java.lang.Object getDelegate()

    - #### ThymeleafTemplateEngine setMode(org.thymeleaf.templatemode.TemplateMode mode)

      Set the mode for the engine

      Returns:
        a reference to this for fluency
      Parameters:
        `mode` - the mode