ktor-velocity
Module Contents
alltypes
Module Contents
class
Velocity
Module Contents
Velocity
(
engine
:
VelocityEngine
)
companion
object
Feature
:
ApplicationFeature
<
ApplicationCallPipeline
,
VelocityEngine
,
Velocity
>
Module Contents
fun
install
(
pipeline
:
ApplicationCallPipeline
,
configure
:
VelocityEngine
.
(
)
->
Unit
)
:
Velocity
val
key
:
AttributeKey
<
Velocity
>
fun
install
(
pipeline
:
ApplicationCallPipeline
,
configure
:
VelocityEngine
.
(
)
->
Unit
)
:
Velocity
val
key
:
AttributeKey
<
Velocity
>
class
VelocityContent
Module Contents
VelocityContent
(
template
:
String
,
model
:
Map
<
String
,
Any
>
,
etag
:
String
?
=
null
,
contentType
:
ContentType
=
ContentType.Text.Html.withCharset(Charsets.UTF_8)
)
val
contentType
:
ContentType
val
etag
:
String
?
val
model
:
Map
<
String
,
Any
>
val
template
:
String
io.ktor.application.ApplicationCall
Module Contents
suspend
fun
ApplicationCall
.
respondTemplate
(
template
:
String
,
model
:
Map
<
String
,
Any
>
=
emptyMap()
,
etag
:
String
?
=
null
,
contentType
:
ContentType
=
ContentType.Text.Html.withCharset(Charsets.UTF_8)
)
:
Unit
package
io.ktor.velocity
Module Contents
class
Velocity
Module Contents
Velocity
(
engine
:
VelocityEngine
)
companion
object
Feature
:
ApplicationFeature
<
ApplicationCallPipeline
,
VelocityEngine
,
Velocity
>
Module Contents
fun
install
(
pipeline
:
ApplicationCallPipeline
,
configure
:
VelocityEngine
.
(
)
->
Unit
)
:
Velocity
val
key
:
AttributeKey
<
Velocity
>
fun
install
(
pipeline
:
ApplicationCallPipeline
,
configure
:
VelocityEngine
.
(
)
->
Unit
)
:
Velocity
val
key
:
AttributeKey
<
Velocity
>
class
VelocityContent
Module Contents
VelocityContent
(
template
:
String
,
model
:
Map
<
String
,
Any
>
,
etag
:
String
?
=
null
,
contentType
:
ContentType
=
ContentType.Text.Html.withCharset(Charsets.UTF_8)
)
val
contentType
:
ContentType
val
etag
:
String
?
val
model
:
Map
<
String
,
Any
>
val
template
:
String
io.ktor.application.ApplicationCall
Module Contents
suspend
fun
ApplicationCall
.
respondTemplate
(
template
:
String
,
model
:
Map
<
String
,
Any
>
=
emptyMap()
,
etag
:
String
?
=
null
,
contentType
:
ContentType
=
ContentType.Text.Html.withCharset(Charsets.UTF_8)
)
:
Unit