vertx / io.vertx.ext.web.templ / MVELTemplateEngine

# MVELTemplateEngine

`interface MVELTemplateEngine : TemplateEngine`

A template engine that uses the Handlebars library.

Author
Tim Fox

### Properties

DEFAULT_MAX_CACHE_SIZE | `static val DEFAULT_MAX_CACHE_SIZE: Int` Default max number of templates to cache
DEFAULT_TEMPLATE_EXTENSION | `static val DEFAULT_TEMPLATE_EXTENSION: String` Default template extension

### Functions

create | `open static fun create(): MVELTemplateEngine` Create a template engine using defaults
setExtension | `abstract fun setExtension(extension: String): MVELTemplateEngine` Set the extension for the engine
setMaxCacheSize | `abstract fun setMaxCacheSize(maxCacheSize: Int): MVELTemplateEngine` Set the max cache size for the engine