ktor-locations / io.ktor.locations

Package io.ktor.locations

Types

LocationAttributeRouteService

class LocationAttributeRouteService : LocationRouteService

Implements LocationRouteService by extracting routing information from a Location annotation.

LocationInfo

data class LocationInfo

A location class/object registration info.

LocationPropertyInfo

abstract class LocationPropertyInfo

Represents a location's property

LocationRouteService

interface LocationRouteService

Provides services for extracting routing information from a location class.

Locations

open class Locations

Ktor feature that allows to handle and construct routes in a typed way.

Annotations

KtorExperimentalLocationsAPI

annotation class KtorExperimentalLocationsAPI

API marked with this annotation is experimental and is not guaranteed to be stable.

Location

annotation class Location

Annotation for classes that will act as typed routes.

Exceptions

LocationRoutingException

class LocationRoutingException : Exception

Exception indicating that route parameters in curly brackets do not match class properties.

Extensions for External Classes

io.ktor.application.Application

io.ktor.application.ApplicationCall

io.ktor.routing.Route

io.ktor.util.pipeline.PipelineContext