http4k / org.http4k.template / Templates
interface Templates
Supported template implementations for templating engine implementations
Name | Summary |
---|---|
Caching | Load and caches templates from a file pathabstract fun Caching(baseTemplateDir: String = "./"): TemplateRenderer |
CachingClasspath | Loads and caches templates from the compiled classpathabstract fun CachingClasspath(baseClasspathPackage: String = ""): TemplateRenderer |
HotReload | Hot-reloads (no-caching) templates from a file pathabstract fun HotReload(baseTemplateDir: String = "./"): TemplateRenderer |
Name | Summary |
---|---|
DustTemplates | class DustTemplates : Templates |
FreemarkerTemplates | class FreemarkerTemplates : Templates |
HandlebarsTemplates | Handlebars templating support. Use the function in the constructor to configure the instance.class HandlebarsTemplates : Templates |
Jade4jTemplates | Jade4j templating support. Use the function in the constructor to configure the instance.class Jade4jTemplates : Templates |
PebbleTemplates | class PebbleTemplates : Templates |
ThymeleafTemplates | class ThymeleafTemplates : Templates |