FreeMarkerContent
class FreeMarkerContent
Represents a content handled by FreeMarker feature.
Parameters
template
- name that is resolved by freemarker
model
- to be passed during template rendering
etag
- value for E-Tag
header (optional)
contentType
- of response (optional, text/html
with UTF-8 character encoding by default)
Constructors
FreeMarkerContent( Represents a content handled by FreeMarker feature. |
Properties
val contentType: ContentType of response (optional, |
|
val etag: String? value for |
|
val model: Any? to be passed during template rendering |
|
val template: String name that is resolved by freemarker |