public abstract class CachingTemplateEngine<T> extends Object implements TemplateEngine
| Modifier | Constructor and Description |
|---|---|
protected |
CachingTemplateEngine(Vertx vertx,
String ext) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
adjustLocation(String location) |
void |
clearCache()
Clears any internal caches used by this engine.
|
io.vertx.ext.web.common.template.impl.TemplateHolder<T> |
getTemplate(String filename) |
io.vertx.ext.web.common.template.impl.TemplateHolder<T> |
putTemplate(String filename,
io.vertx.ext.web.common.template.impl.TemplateHolder<T> templateHolder) |
protected String extension
public io.vertx.ext.web.common.template.impl.TemplateHolder<T> getTemplate(String filename)
public io.vertx.ext.web.common.template.impl.TemplateHolder<T> putTemplate(String filename, io.vertx.ext.web.common.template.impl.TemplateHolder<T> templateHolder)
public void clearCache()
TemplateEngineclearCache in interface TemplateEngineCopyright © 2022 Eclipse. All rights reserved.