Package-level declarations

Types

Link copied to clipboard
typealias ConnectorBuilder = (Server) -> ServerConnector
Link copied to clipboard
class Http4kJettyHttpHandler(handler: HttpHandler) : Handler.Abstract
Link copied to clipboard
class Http4kJettyServerWebSocketEndpoint(consumer: WsConsumer, request: Request) : Session.Listener.AbstractAutoDemanding
Link copied to clipboard
class Jetty(port: Int, val stopMode: ServerConfig.StopMode, server: Server) : PolyServerConfig
Link copied to clipboard
class JettyEventStreamHandler(sse: SseHandler, heartBeatDuration: Duration = Duration.ofSeconds(15)) : Handler.Abstract.NonBlocking

Functions

Link copied to clipboard
fun http(httpPort: Int): ConnectorBuilder
Link copied to clipboard
fun http2(http2Port: Int, keystorePath: String, keystorePassword: String): ConnectorBuilder
Link copied to clipboard
fun JettyLoom(port: Int): Jetty
fun JettyLoom(port: Int, stopMode: ServerConfig.StopMode): Jetty
Link copied to clipboard
fun HttpHandler.toJettyHandler(withStatisticsHandler: Boolean = false): Handler.Wrapper
Link copied to clipboard
fun SseHandler.toJettySseHandler(): Handler.Wrapper
Link copied to clipboard
fun WsHandler.toJettyWsHandler(server: Server): Handler.Wrapper