vertx / io.vertx.ext.web.templ / ThymeleafTemplateEngine

ThymeleafTemplateEngine

interface ThymeleafTemplateEngine : TemplateEngine

A template engine that uses the Thymeleaf library.

Author
Tim Fox

Properties

DEFAULT_TEMPLATE_MODE

static val DEFAULT_TEMPLATE_MODE: TemplateMode

Functions

create

open static fun create(): ThymeleafTemplateEngine

Create a template engine using defaults

getThymeleafTemplateEngine

abstract fun getThymeleafTemplateEngine(): TemplateEngine

Get a reference to the internal Thymeleaf TemplateEngine object so it can be configured.

setMode

abstract fun setMode(mode: TemplateMode): ThymeleafTemplateEngine

Set the mode for the engine