AbstractKtorEmbeddedServer

abstract class AbstractKtorEmbeddedServer(val ctx: ApplicationContext, val serverConfiguration: HttpServerConfiguration, val engineEnvironment: ApplicationEngineEnvironment, val applicationEngine: ApplicationEngine) : EmbeddedServer

Implementation of the EmbeddedServer interface for Ktor.

Author

graemerocher

Since

1.0

Inheritors

Constructors

Link copied to clipboard
constructor(ctx: ApplicationContext, serverConfiguration: HttpServerConfiguration, engineEnvironment: ApplicationEngineEnvironment, applicationEngine: ApplicationEngine)

Properties

Link copied to clipboard
open val applicationEngine: ApplicationEngine
Link copied to clipboard
open val ctx: ApplicationContext
Link copied to clipboard
open val engineEnvironment: ApplicationEngineEnvironment
Link copied to clipboard
Link copied to clipboard
open val serverConfiguration: HttpServerConfiguration

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun getApplicationConfiguration(): ApplicationConfiguration
Link copied to clipboard
open override fun getApplicationContext(): ApplicationContext
Link copied to clipboard
open fun getContextURI(): URI
Link copied to clipboard
open fun getEnvironment(): Environment
Link copied to clipboard
open override fun getHost(): String
Link copied to clipboard
open override fun getPort(): Int
Link copied to clipboard
open override fun getScheme(): String
Link copied to clipboard
open override fun getURI(): URI
Link copied to clipboard
open override fun getURL(): URL
Link copied to clipboard
open fun isForceExit(): Boolean
Link copied to clipboard
open fun isKeepAlive(): Boolean
Link copied to clipboard
open override fun isRunning(): Boolean
Link copied to clipboard
open override fun isServer(): Boolean
Link copied to clipboard
@NonNull
open fun refresh(): @NonNull LifeCycle<LifeCycle<*>>
Link copied to clipboard
open override fun start(): EmbeddedServer
Link copied to clipboard
open override fun stop(): EmbeddedServer