MustacheContent
class MustacheContent
Response content which could be used to respond ApplicationCalls like `call.respond(MustacheContent(…))
Parameters
template
- name of the template to be resolved by Mustache
model
- which is passed into the template
etag
- value for E-Tag
header (optional)
contentType
- response’s content type which is set to text/html;charset=utf-8
by default
Constructors
MustacheContent( Response content which could be used to respond ApplicationCalls like `call.respond(MustacheContent(…)) |
Properties
val contentType: ContentType response’s content type which is set to |
|
val etag: String? value for |
|
val model: Any? which is passed into the template |
|
val template: String name of the template to be resolved by Mustache |