api

http4k / org.http4k.server / Undertow

Undertow

data class Undertow : ServerConfig (source)

Constructors

Name Summary
<init> Undertow(port: Int = 8000)
Undertow(port: Int = 8000, enableHttp2: Boolean)

Properties

Name Summary
enableHttp2 val enableHttp2: Boolean
port val port: Int

Functions

Name Summary
toServer fun toServer(httpHandler: HttpHandler): Http4kServer

Extension Functions

Name Summary
with fun <T> T.with(vararg modifiers: (T) -> T): T