public interface PebbleTemplateEngine extends TemplateEngine
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_CACHE_SIZE
Default max number of templates to cache
|
static String |
DEFAULT_TEMPLATE_EXTENSION
Default template extension
|
Modifier and Type | Method and Description |
---|---|
static PebbleTemplateEngine |
create(Vertx vertx)
Create a template engine using defaults
|
PebbleTemplateEngine |
setExtension(String extension)
Set the extension for the engine
|
PebbleTemplateEngine |
setMaxCacheSize(int maxCacheSize)
Set the max cache size for the engine
|
render
static final int DEFAULT_MAX_CACHE_SIZE
static final String DEFAULT_TEMPLATE_EXTENSION
static PebbleTemplateEngine create(Vertx vertx)
PebbleTemplateEngine setExtension(String extension)
extension
- the extensionPebbleTemplateEngine setMaxCacheSize(int maxCacheSize)
maxCacheSize
- the maxCacheSizeCopyright © 2017. All rights reserved.