api

http4k / org.http4k.template / Jade4jTemplates

Jade4jTemplates

class Jade4jTemplates : Templates

Jade4j templating support. Use the function in the constructor to configure the instance.

Constructors

Name Summary
<init> Jade4j templating support. Use the function in the constructor to configure the instance.Jade4jTemplates(configure: JadeConfiguration = JadeConfiguration())

Functions

Name Summary
Caching Load and caches templates from a file pathfun Caching(baseTemplateDir: String): TemplateRenderer
CachingClasspath Loads and caches templates from the compiled classpathfun CachingClasspath(baseClasspathPackage: String): TemplateRenderer
HotReload Hot-reloads (no-caching) templates from a file pathfun HotReload(baseTemplateDir: String): TemplateRenderer