api

http4k / org.http4k.template / FreemarkerTemplates

FreemarkerTemplates

class FreemarkerTemplates : Templates

Constructors

Name Summary
<init> FreemarkerTemplates(configure: (Configuration) -> Configuration = { it }, classLoader: ClassLoader = ClassLoader.getSystemClassLoader())

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