ApacheServer

class ApacheServer(val port: Int = 8000, val address: InetAddress? = null, canonicalHostname: String? = null, val stopMode: ServerConfig.StopMode = StopMode.Graceful(Duration.ofSeconds(5))) : ServerConfig

Constructors

Link copied to clipboard
constructor(port: Int = 8000)
constructor(port: Int = 8000, address: InetAddress? = null, canonicalHostname: String? = null)
constructor(port: Int = 8000, address: InetAddress? = null, canonicalHostname: String? = null, stopMode: ServerConfig.StopMode = StopMode.Graceful(Duration.ofSeconds(5)))

Properties

Link copied to clipboard
val address: InetAddress? = null
Link copied to clipboard
val port: Int = 8000
Link copied to clipboard
open override val stopMode: ServerConfig.StopMode

Functions

Link copied to clipboard
open override fun toServer(http: HttpHandler): Http4kServer