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_ARG
static org.thymeleaf.templatemode.TemplateMode
DEFAULT_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 ThymeleafTemplateEngine
create(Vertx vertx)
Create a template engine using defaultsboolean
equals(Object o)
ThymeleafTemplateEngine
getDelegate()
int
hashCode()
static ThymeleafTemplateEngine
newInstance(ThymeleafTemplateEngine arg)
String
toString()
org.thymeleaf.TemplateEngine
unwrap()
Returns the underlying engine, so further configurations or customizations may be applied ornull
when 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:
toString
in classTemplateEngine
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classTemplateEngine
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classTemplateEngine
-
getDelegate
public ThymeleafTemplateEngine getDelegate()
- Specified by:
getDelegate
in interfaceio.vertx.lang.rx.RxDelegate
- Overrides:
getDelegate
in 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:TemplateEngine
Returns the underlying engine, so further configurations or customizations may be applied ornull
when the engine cannot unwrap it.- Overrides:
unwrap
in classTemplateEngine
- Returns:
- the engine instance.
-
newInstance
public static ThymeleafTemplateEngine newInstance(ThymeleafTemplateEngine arg)
-
-