ktor-thymeleaf
Module Contents
alltypes
Module Contents
class
Thymeleaf
Module Contents
Thymeleaf
(
engine
:
TemplateEngine
)
companion
object
Feature
:
ApplicationFeature
<
ApplicationCallPipeline
,
TemplateEngine
,
Thymeleaf
>
Module Contents
fun
install
(
pipeline
:
ApplicationCallPipeline
,
configure
:
TemplateEngine
.
(
)
->
Unit
)
:
Thymeleaf
val
key
:
AttributeKey
<
Thymeleaf
>
fun
install
(
pipeline
:
ApplicationCallPipeline
,
configure
:
TemplateEngine
.
(
)
->
Unit
)
:
Thymeleaf
val
key
:
AttributeKey
<
Thymeleaf
>
class
ThymeleafContent
Module Contents
ThymeleafContent
(
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.thymeleaf
Module Contents
class
Thymeleaf
Module Contents
Thymeleaf
(
engine
:
TemplateEngine
)
companion
object
Feature
:
ApplicationFeature
<
ApplicationCallPipeline
,
TemplateEngine
,
Thymeleaf
>
Module Contents
fun
install
(
pipeline
:
ApplicationCallPipeline
,
configure
:
TemplateEngine
.
(
)
->
Unit
)
:
Thymeleaf
val
key
:
AttributeKey
<
Thymeleaf
>
fun
install
(
pipeline
:
ApplicationCallPipeline
,
configure
:
TemplateEngine
.
(
)
->
Unit
)
:
Thymeleaf
val
key
:
AttributeKey
<
Thymeleaf
>
class
ThymeleafContent
Module Contents
ThymeleafContent
(
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