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.TemplateModeDEFAULT_TEMPLATE_MODE
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static ThymeleafTemplateEnginecreate(Vertx vertx)Create a template engine using defaultsorg.thymeleaf.TemplateEngineunwrap()Returns the underlying engine, so further configurations or customizations may be applied ornullwhen 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:TemplateEngineReturns the underlying engine, so further configurations or customizations may be applied ornullwhen the engine cannot unwrap it.- Specified by:
unwrapin interfaceTemplateEngine- Returns:
- the engine instance.
-
-