ApplicationEngineEnvironmentBuilder

class ApplicationEngineEnvironmentBuilder

Engine environment configuration builder

Constructors

<init>

ApplicationEngineEnvironmentBuilder()

Engine environment configuration builder

Properties

classLoader

var classLoader: ClassLoader

Root class loader

config

var config: ApplicationConfig

Application config

connectors

Application connectors list

log

var log: Logger

Application logger

modules

val modules: MutableList<Application.() -> Unit>

Application modules

parentCoroutineContext

var parentCoroutineContext: <ERROR CLASS>

Parent coroutine context for an application

rootPath

var rootPath: String

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

watchPaths

var watchPaths: List<String>

Paths to wait for application reload

Functions

build

Build an application engine environment

module

fun module(body: Application.() -> Unit): Unit

Install application module

Extension Functions

connector

fun ApplicationEngineEnvironmentBuilder.connector(
    builder: EngineConnectorBuilder.() -> Unit
): Unit

Adds a non-secure connector to this engine environment

sslConnector

fun ApplicationEngineEnvironmentBuilder.sslConnector(
    keyStore: KeyStore,
    keyAlias: String,
    keyStorePassword: () -> CharArray,
    privateKeyPassword: () -> CharArray,
    builder: EngineSSLConnectorBuilder.() -> Unit
): Unit

Adds a secure connector to this engine environment