Package io.vertx.ext.web.templ.thymeleaf
Interface ThymeleafTemplateEngine
-
- All Superinterfaces:
TemplateEngine
public interface ThymeleafTemplateEngine extends TemplateEngine
A template engine that uses the Thymeleaf library. Theunwrap()
shall return an object of classTemplateEngine
- Author:
- Tim Fox
-
-
Field Summary
Fields Modifier and Type Field Description static org.thymeleaf.templatemode.TemplateMode
DEFAULT_TEMPLATE_MODE
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static ThymeleafTemplateEngine
create(Vertx vertx)
Create a template engine using defaultsorg.thymeleaf.TemplateEngine
unwrap()
Returns the underlying engine, so further configurations or customizations may be applied ornull
when the engine cannot unwrap it.-
Methods inherited from interface io.vertx.ext.web.common.template.TemplateEngine
clearCache, render, render
-
-
-
-
Method Detail
-
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 ornull
when the engine cannot unwrap it.- Specified by:
unwrap
in interfaceTemplateEngine
- Returns:
- the engine instance.
-
-