ApplicationEngineEnvironmentBuilder

class ApplicationEngineEnvironmentBuilder

Engine environment configuration builder

Constructors

Link copied to clipboard
fun ApplicationEngineEnvironmentBuilder()

Functions

Link copied to clipboard
fun build(builder: ApplicationEngineEnvironmentBuilder.() -> Unit): ApplicationEngineEnvironment

Build an application engine environment

Link copied to clipboard
fun module(body: Application.() -> Unit)

Install application module

Properties

Link copied to clipboard
var classLoader: ClassLoader

Root class loader

Link copied to clipboard
var config: ApplicationConfig

Application config

Link copied to clipboard
val connectors: MutableList<EngineConnectorConfig>

Application connectors list

Link copied to clipboard
var developmentMode: Boolean

Development mode enabled.

Link copied to clipboard
var log: Logger

Application logger

Link copied to clipboard
val modules: MutableList<Application.() -> Unit>

Application modules

Link copied to clipboard
var parentCoroutineContext: CoroutineContext

Parent coroutine context for an application

Link copied to clipboard
var rootPath: String

Application's root path (prefix, context path in servlet container).

Link copied to clipboard
var watchPaths: List<String>

Paths to wait for application reload

Extensions

Link copied to clipboard
inline fun ApplicationEngineEnvironmentBuilder.connector(builder: EngineConnectorBuilder.() -> Unit)

Adds a non-secure connector to this engine environment

Link copied to clipboard
inline fun ApplicationEngineEnvironmentBuilder.sslConnector(keyStore: KeyStore, keyAlias: String, noinline keyStorePassword: () -> CharArray, noinline privateKeyPassword: () -> CharArray, builder: EngineSSLConnectorBuilder.() -> Unit)

Adds a secure connector to this engine environment