ktor-server-core / io.ktor.config / MapApplicationConfig / MapApplicationConfigValue

MapApplicationConfigValue

protected class MapApplicationConfigValue : ApplicationConfigValue

A config value implementation backed by this config's map

Constructors

<init>

MapApplicationConfigValue(map: Map<String, String>, path: String)

A config value implementation backed by this config's map

Properties

map

val map: Map<String, String>

is usually owner's backing map

path

val path: String

to this value

Functions

getList

fun getList(): List<String>

Get property list value

getString

fun getString(): String

Get property string value