Class ThymeleafTemplateEngine
- java.lang.Object
-
- io.vertx.mutiny.ext.web.common.template.TemplateEngine
-
- io.vertx.mutiny.ext.web.templ.thymeleaf.ThymeleafTemplateEngine
-
public class ThymeleafTemplateEngine extends TemplateEngine
A template engine that uses the Thymeleaf library. TheTemplateEngine.unwrap()
shall return an object of classTemplateEngine
NOTE: This class has been automatically generated from theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<ThymeleafTemplateEngine>
__TYPE_ARG
static org.thymeleaf.templatemode.TemplateMode
DEFAULT_TEMPLATE_MODE
-
Constructor Summary
Constructors Constructor Description ThymeleafTemplateEngine(io.vertx.ext.web.templ.thymeleaf.ThymeleafTemplateEngine delegate)
ThymeleafTemplateEngine(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ThymeleafTemplateEngine
create(Vertx vertx)
boolean
equals(Object o)
io.vertx.ext.web.templ.thymeleaf.ThymeleafTemplateEngine
getDelegate()
int
hashCode()
static ThymeleafTemplateEngine
newInstance(io.vertx.ext.web.templ.thymeleaf.ThymeleafTemplateEngine arg)
ThymeleafTemplateEngine
setMode(org.thymeleaf.templatemode.TemplateMode mode)
Deprecated.seeTemplateEngine.unwrap()
Set the mode for the engineString
toString()
-
Methods inherited from class io.vertx.mutiny.ext.web.common.template.TemplateEngine
clearCache, newInstance, render, render, renderAndAwait, renderAndAwait, renderAndForget, renderAndForget, unwrap
-
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<ThymeleafTemplateEngine> __TYPE_ARG
-
DEFAULT_TEMPLATE_MODE
public static final org.thymeleaf.templatemode.TemplateMode DEFAULT_TEMPLATE_MODE
-
-
Constructor Detail
-
ThymeleafTemplateEngine
public ThymeleafTemplateEngine(io.vertx.ext.web.templ.thymeleaf.ThymeleafTemplateEngine delegate)
-
ThymeleafTemplateEngine
public ThymeleafTemplateEngine(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.web.templ.thymeleaf.ThymeleafTemplateEngine getDelegate()
- Overrides:
getDelegate
in classTemplateEngine
-
toString
public String toString()
- Overrides:
toString
in classTemplateEngine
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classTemplateEngine
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classTemplateEngine
-
create
public static ThymeleafTemplateEngine create(Vertx vertx)
- Parameters:
vertx
-- Returns:
- the engine
-
setMode
@Deprecated public ThymeleafTemplateEngine setMode(org.thymeleaf.templatemode.TemplateMode mode)
Deprecated.seeTemplateEngine.unwrap()
Set the mode for the engine- Parameters:
mode
- the mode- Returns:
- a reference to this for fluency
-
newInstance
public static ThymeleafTemplateEngine newInstance(io.vertx.ext.web.templ.thymeleaf.ThymeleafTemplateEngine arg)
-
-