VelocityContent
class VelocityContent
Represents a response content that could be used to respond with call.respond(VelocityContent(...))
Parameters
template
- name to be resolved by velocity
model
- to be passed to the template
etag
- header value (optional)
contentType
- (optional, text/html
with UTF-8 character encoding by default)
Constructors
VelocityContent( Represents a response content that could be used to respond with |
Properties
val contentType: ContentType (optional, |
|
val etag: String? header value (optional) |
|
to be passed to the template |
|
val template: String name to be resolved by velocity |