public interface JteTemplateEngine extends TemplateEngine
| Modifier and Type | Method and Description |
|---|---|
static JteTemplateEngine |
create()
Creates a vert.x template engine for precompiled HTML jte templates with sane defaults.
|
static JteTemplateEngine |
create(gg.jte.TemplateEngine engine)
Creates a vert.x template engine for jte templates with a user custom engine.
|
static JteTemplateEngine |
create(Vertx vertx,
String templateRootDirectory)
Creates a vert.x template engine for jte HTML templates with sane defaults.
|
clearCache, render, render, render, render, unwrapstatic JteTemplateEngine create(Vertx vertx, String templateRootDirectory)
Hot reloading is active, when WebEnvironment.development() is true.
vertx - the vert.x instancetemplateRootDirectory - the directory where jte templates are locatedstatic JteTemplateEngine create()
Hot reloading is never active.
static JteTemplateEngine create(gg.jte.TemplateEngine engine)
Copyright © 2022 Eclipse. All rights reserved.