ktor-freemarker
Module Contents
alltypes
Module Contents
class
FreeMarker
Module Contents
FreeMarker
(
config
:
Configuration
)
companion
object
Feature
:
ApplicationFeature
<
ApplicationCallPipeline
,
Configuration
,
FreeMarker
>
Module Contents
fun
install
(
pipeline
:
ApplicationCallPipeline
,
configure
:
Configuration
.
(
)
->
Unit
)
:
FreeMarker
val
key
:
AttributeKey
<
FreeMarker
>
fun
install
(
pipeline
:
ApplicationCallPipeline
,
configure
:
Configuration
.
(
)
->
Unit
)
:
FreeMarker
val
key
:
AttributeKey
<
FreeMarker
>
class
FreeMarkerContent
Module Contents
FreeMarkerContent
(
template
:
String
,
model
:
Any
?
,
etag
:
String
?
=
null
,
contentType
:
ContentType
=
ContentType.Text.Html.withCharset(Charsets.UTF_8)
)
val
contentType
:
ContentType
val
etag
:
String
?
val
model
:
Any
?
val
template
:
String
io.ktor.application.ApplicationCall
Module Contents
suspend
fun
ApplicationCall
.
respondTemplate
(
template
:
String
,
model
:
Any
?
=
null
,
etag
:
String
?
=
null
,
contentType
:
ContentType
=
ContentType.Text.Html.withCharset(Charsets.UTF_8)
)
:
Unit
package
io.ktor.freemarker
Module Contents
class
FreeMarker
Module Contents
FreeMarker
(
config
:
Configuration
)
companion
object
Feature
:
ApplicationFeature
<
ApplicationCallPipeline
,
Configuration
,
FreeMarker
>
Module Contents
fun
install
(
pipeline
:
ApplicationCallPipeline
,
configure
:
Configuration
.
(
)
->
Unit
)
:
FreeMarker
val
key
:
AttributeKey
<
FreeMarker
>
fun
install
(
pipeline
:
ApplicationCallPipeline
,
configure
:
Configuration
.
(
)
->
Unit
)
:
FreeMarker
val
key
:
AttributeKey
<
FreeMarker
>
class
FreeMarkerContent
Module Contents
FreeMarkerContent
(
template
:
String
,
model
:
Any
?
,
etag
:
String
?
=
null
,
contentType
:
ContentType
=
ContentType.Text.Html.withCharset(Charsets.UTF_8)
)
val
contentType
:
ContentType
val
etag
:
String
?
val
model
:
Any
?
val
template
:
String
io.ktor.application.ApplicationCall
Module Contents
suspend
fun
ApplicationCall
.
respondTemplate
(
template
:
String
,
model
:
Any
?
=
null
,
etag
:
String
?
=
null
,
contentType
:
ContentType
=
ContentType.Text.Html.withCharset(Charsets.UTF_8)
)
:
Unit