api

http4k / org.http4k.server / Jetty

Jetty

class Jetty : WsServerConfig (source)

Constructors

Name Summary
<init> Jetty(port: Int = 8000)
Jetty(port: Int, vararg inConnectors: ConnectorBuilder)
Jetty(port: Int, server: Server)

Functions

Name Summary
toServer fun toServer(httpHandler: HttpHandler?, wsHandler: WsHandler?): Http4kServer

Inherited Functions

Name Summary
toServer open fun toServer(httpHandler: HttpHandler): Http4kServer
toWsServer open fun toWsServer(wsHandler: WsHandler): Http4kServer

Extension Functions

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