Package-level declarations

Code implementing the Helidon HTTP server adapter.

Types

Link copied to clipboard
class HelidonRequestAdapter(methodName: Method, req: ServerRequest) : HttpRequestPort
Link copied to clipboard
class HelidonServerAdapter(backlog: Int, writeQueueLength: Int = 0, readTimeout: Duration = Duration.ofSeconds(30), connectTimeout: Duration = Duration.ofSeconds(10), tcpNoDelay: Boolean = false, receiveLog: Boolean = true, sendLog: Boolean = true, validatePath: Boolean = true, validateRequestHeaders: Boolean = true, validateResponseHeaders: Boolean = false) : HttpServerPort

Implements HttpServerPort using Helidon.

Functions

Link copied to clipboard
fun serve(settings: HttpServerSettings = HttpServerSettings(), handlers: HttpHandler): HttpServer
fun serve(settings: HttpServerSettings = HttpServerSettings(), block: HandlerBuilder.() -> Unit): HttpServer

Create a Helidon server and start it. It is a shortcut to avoid passing the adapter.