Class ThymeleafTemplateEngine
- java.lang.Object
-
- io.vertx.rxjava3.ext.web.common.template.TemplateEngine
-
- io.vertx.rxjava3.ext.web.templ.thymeleaf.ThymeleafTemplateEngine
-
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
public class ThymeleafTemplateEngine extends TemplateEngine implements io.vertx.lang.rx.RxDelegate
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<ThymeleafTemplateEngine>__TYPE_ARGstatic org.thymeleaf.templatemode.TemplateModeDEFAULT_TEMPLATE_MODE
-
Constructor Summary
Constructors Constructor Description ThymeleafTemplateEngine(ThymeleafTemplateEngine delegate)ThymeleafTemplateEngine(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ThymeleafTemplateEnginecreate(Vertx vertx)Create a template engine using defaultsbooleanequals(Object o)ThymeleafTemplateEnginegetDelegate()inthashCode()static ThymeleafTemplateEnginenewInstance(ThymeleafTemplateEngine arg)StringtoString()org.thymeleaf.TemplateEngineunwrap()Returns the underlying engine, so further configurations or customizations may be applied ornullwhen the engine cannot unwrap it.-
Methods inherited from class io.vertx.rxjava3.ext.web.common.template.TemplateEngine
clearCache, newInstance, render, render, rxRender, rxRender
-
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<ThymeleafTemplateEngine> __TYPE_ARG
-
DEFAULT_TEMPLATE_MODE
public static final org.thymeleaf.templatemode.TemplateMode DEFAULT_TEMPLATE_MODE
-
-
Constructor Detail
-
ThymeleafTemplateEngine
public ThymeleafTemplateEngine(ThymeleafTemplateEngine delegate)
-
ThymeleafTemplateEngine
public ThymeleafTemplateEngine(Object delegate)
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toStringin classTemplateEngine
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classTemplateEngine
-
hashCode
public int hashCode()
- Overrides:
hashCodein classTemplateEngine
-
getDelegate
public ThymeleafTemplateEngine getDelegate()
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate- Overrides:
getDelegatein classTemplateEngine
-
create
public static ThymeleafTemplateEngine create(Vertx vertx)
Create a template engine using defaults- Parameters:
vertx-- Returns:
- the engine
-
unwrap
public org.thymeleaf.TemplateEngine unwrap()
Description copied from class:TemplateEngineReturns the underlying engine, so further configurations or customizations may be applied ornullwhen the engine cannot unwrap it.- Overrides:
unwrapin classTemplateEngine- Returns:
- the engine instance.
-
newInstance
public static ThymeleafTemplateEngine newInstance(ThymeleafTemplateEngine arg)
-
-