MustacheContent
constructor(template: String, model: Any?, etag: String? = null, contentType: ContentType = ContentType.Text.Html.withCharset(Charsets.UTF_8))
Parameters
template
name that is resolved by Mustache
model
to be passed during template rendering
etag
value for the E-Tag
header (optional)
contentType
of response (optional, text/html
with the UTF-8 character encoding by default)