Class ThymeleafTemplateEngine
java.lang.Object
io.vertx.mutiny.ext.web.common.template.TemplateEngine
io.vertx.mutiny.ext.web.templ.thymeleaf.ThymeleafTemplateEngine
- All Implemented Interfaces:
MutinyDelegate
A template engine that uses the Thymeleaf library.
The
TemplateEngine.unwrap()
shall return an object of class TemplateEngine
NOTE: This class has been automatically generated from the original
non Mutiny-ified interface using Vert.x codegen.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TypeArg<ThymeleafTemplateEngine>
static final org.thymeleaf.templatemode.TemplateMode
-
Constructor Summary
ConstructorsConstructorDescriptionThymeleafTemplateEngine
(io.vertx.ext.web.templ.thymeleaf.ThymeleafTemplateEngine delegate) ThymeleafTemplateEngine
(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionstatic ThymeleafTemplateEngine
boolean
io.vertx.ext.web.templ.thymeleaf.ThymeleafTemplateEngine
int
hashCode()
static ThymeleafTemplateEngine
newInstance
(io.vertx.ext.web.templ.thymeleaf.ThymeleafTemplateEngine arg) setMode
(org.thymeleaf.templatemode.TemplateMode mode) Deprecated.toString()
Methods inherited from class io.vertx.mutiny.ext.web.common.template.TemplateEngine
clearCache, newInstance, render, render, renderAndAwait, renderAndAwait, renderAndForget, renderAndForget, unwrap
-
Field Details
-
__TYPE_ARG
-
DEFAULT_TEMPLATE_MODE
public static final org.thymeleaf.templatemode.TemplateMode DEFAULT_TEMPLATE_MODE
-
-
Constructor Details
-
ThymeleafTemplateEngine
public ThymeleafTemplateEngine(io.vertx.ext.web.templ.thymeleaf.ThymeleafTemplateEngine delegate) -
ThymeleafTemplateEngine
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.templ.thymeleaf.ThymeleafTemplateEngine getDelegate()- Specified by:
getDelegate
in interfaceMutinyDelegate
- Overrides:
getDelegate
in classTemplateEngine
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
- Overrides:
toString
in classTemplateEngine
-
equals
- Overrides:
equals
in classTemplateEngine
-
hashCode
public int hashCode()- Overrides:
hashCode
in classTemplateEngine
-
create
- Parameters:
vertx
-- Returns:
- the engine
-
setMode
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)
-
TemplateEngine.unwrap()
Set the mode for the engine