Package-level declarations


Link copied to clipboard

Triggers eager initialization on the target class or type.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
@DefaultScope(value = Singleton::class)
annotation class Page(val route: String = UriMapping.DEFAULT_URI, val name: String = "", val produces: Array<String> = [MediaType.TEXT_HTML], val consumes: Array<String> = [], val precompile: Boolean = true)

Annotations which is applied to handlers which respond to HTTP requests with HTTP responses, typically encoded in HTML, for the purpose of presenting a user interface.