Package-level declarations
Types
Link copied to clipboard
class JteContent(val template: String, val params: Map<String, Any?>, val etag: String? = null, val contentType: ContentType = ContentType.Text.Html.withCharset(Charsets.UTF_8))
A response content handled by the Jte plugin.
Functions
Link copied to clipboard
suspend fun ApplicationCall.respondTemplate(template: String, vararg params: Pair<String, Any?>, etag: String? = null, contentType: ContentType = ContentType.Text.Html.withCharset(Charsets.UTF_8))
suspend fun ApplicationCall.respondTemplate(template: String, params: Map<String, Any?> = emptyMap(), etag: String? = null, contentType: ContentType = ContentType.Text.Html.withCharset(Charsets.UTF_8))
Properties
Link copied to clipboard
A plugin that allows you to use jte templates as views within your application. Provides the ability to respond with JteContent. You can learn more from JTE.