ROUTES

enum ROUTES : Enum<ROUTES>

Типы (категории) встроенных маршрутов web-сервера.

Используются, например, при динамической (re)загрузке маршрутов через site.geniyz.web.osgi.ServiceManager.

Каждому значению соответствует обработчик-функция в этом же пакете: site.geniyz.web.routing.api, site.geniyz.web.routing.cfg, site.geniyz.web.routing.dyn, site.geniyz.web.routing.sec, site.geniyz.web.routing.static.

Entries

Link copied to clipboard

Маршрут конфигурации (см. site.geniyz.web.routing.cfg)

Link copied to clipboard

Маршрут API (см. site.geniyz.web.routing.api)

Link copied to clipboard

Динамические (внешние, дополнения) маршруты (см. site.geniyz.web.routing.dyn)

Link copied to clipboard

Маршрут авторизации/безопасности (см. site.geniyz.web.routing.sec)

Link copied to clipboard

Маршрут статического контента (см. site.geniyz.web.routing.static)

Properties

Link copied to clipboard
val entries: EnumEntries<ROUTES>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int

Functions

Link copied to clipboard
fun valueOf(value: String): ROUTES

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
fun values(): Array<ROUTES>

Returns an array containing the constants of this enum type, in the order they're declared.