ApplicationEngineFactory

interface ApplicationEngineFactory<out TEngine : ApplicationEngine, TConfiguration : Configuration>

Factory interface for creating ApplicationEngine instances

Functions

create

abstract fun create(
    environment: ApplicationEngineEnvironment,
    configure: TConfiguration.() -> Unit
): TEngine

Creates an engine from the given environment and configure script

Inheritors

CIO

An ApplicationEngineFactory providing a CIO-based ApplicationEngine

Jetty

An ApplicationEngineFactory providing a Jetty-based ApplicationEngine

Netty

An ApplicationEngineFactory providing a Netty-based ApplicationEngine

TestEngine

An ApplicationEngineFactory providing a CIO-based ApplicationEngine

Tomcat

An ApplicationEngineFactory providing a Tomcat-based ApplicationEngine