interface PebbleTemplateEngine : TemplateEngine
A template engine that uses the Pebble library.
Author
Dan Kristensen
static val DEFAULT_MAX_CACHE_SIZE: Int
Default max number of templates to cache |
|
static val DEFAULT_TEMPLATE_EXTENSION: String
Default template extension |
open static fun create(vertx: Vertx): PebbleTemplateEngine
Create a template engine using defaults open static fun create(engine: PebbleEngine): PebbleTemplateEngine
Create a template engine using a custom Builder, e.g. if you want use custom Filters or Functions. |
|
abstract fun setExtension(extension: String): PebbleTemplateEngine
Set the extension for the engine |
|
abstract fun setMaxCacheSize(maxCacheSize: Int): PebbleTemplateEngine
Set the max cache size for the engine |