kilua-project
Toggle table of contents
0.0.27
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
kilua-project
kilua-ssr-server-micronaut
/
dev.kilua.ssr
/
SsrController
Ssr
Controller
@
Controller
(
value
=
"/"
)
open
class
SsrController
(
source
)
Server-Side Rendering controller.
Members
Constructors
Ssr
Controller
Link copied to clipboard
constructor
(
)
Properties
host
Resolver
Link copied to clipboard
@
Inject
lateinit
var
hostResolver
:
HttpHostResolver
ssr
Engine
Link copied to clipboard
@
Inject
lateinit
var
ssrEngine
:
SsrEngine
Functions
index
Link copied to clipboard
@
Produces
(
value
=
[
"text/html"
]
)
@
Get
(
value
=
"/index.html"
)
suspend
fun
index
(
request
:
HttpRequest
<
*
>
)
:
HttpResponse
<
String
>
root
Link copied to clipboard
@
Produces
(
value
=
[
"text/html"
]
)
@
Get
(
value
=
"/"
)
suspend
fun
root
(
request
:
HttpRequest
<
*
>
)
:
HttpResponse
<
String
>
sitemap
Link copied to clipboard
@
Produces
(
value
=
[
"text/xml"
]
)
@
Get
(
value
=
"/sitemap.xml"
)
suspend
fun
sitemap
(
request
:
HttpRequest
<
*
>
)
:
HttpResponse
<
String
>