public abstract class CachingTemplateEngine<T> extends Object implements TemplateEngine
Modifier and Type | Field and Description |
---|---|
protected io.vertx.ext.web.impl.ConcurrentLRUCache<String,T> |
cache |
protected String |
extension |
Modifier | Constructor and Description |
---|---|
protected |
CachingTemplateEngine(String ext,
int maxCacheSize) |
Modifier and Type | Method and Description |
---|---|
protected String |
adjustLocation(String location) |
protected void |
doSetExtension(String ext) |
boolean |
isCachingEnabled()
Returns true if the template engine caches template files.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
render, render
render, render
protected String extension
protected CachingTemplateEngine(String ext, int maxCacheSize)
public boolean isCachingEnabled()
TemplateEngine
isCachingEnabled
in interface TemplateEngine
protected void doSetExtension(String ext)
Copyright © 2023 Eclipse. All rights reserved.