Skip to content

Templating engines

Example showing how to use the Templating modules - in this case Handlebars, both by standard response manipulation and via a typesafe view lens.

Gradle setup

    compile group: "org.http4k", name: "http4k-core", version: "3.163.0"
    compile group: "org.http4k", name: "http4k-template-handlebars", version: "3.163.0"

Code