vertx / io.vertx.ext.web.templ / JadeTemplateEngine

JadeTemplateEngine

interface JadeTemplateEngine : TemplateEngine

A template engine that uses Jade.

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(): JadeTemplateEngine

Create a template engine using defaults

getJadeConfiguration

abstract fun getJadeConfiguration(): JadeConfiguration

Get a reference to the internal JadeConfiguration object so it can be configured.

setExtension

abstract fun setExtension(extension: String): JadeTemplateEngine

Set the extension for the engine

setMaxCacheSize

abstract fun setMaxCacheSize(maxCacheSize: Int): JadeTemplateEngine

Set the max cache size for the engine