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 ThymeleafTemplateEnginebooleanio.vertx.ext.web.templ.thymeleaf.ThymeleafTemplateEngineinthashCode()static ThymeleafTemplateEnginenewInstance(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:
getDelegatein interfaceMutinyDelegate- Overrides:
getDelegatein classTemplateEngine- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
- Overrides:
toStringin classTemplateEngine
-
equals
- Overrides:
equalsin classTemplateEngine
-
hashCode
public int hashCode()- Overrides:
hashCodein 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