NettyHttpServer

open class NettyHttpServer(    bossGroupThreads: Int = 1,     workerGroupThreads: Int = 0,     executorThreads: Int = Platform.cpuCount * 2,     soBacklog: Int = 4 * 1_024,     soReuseAddr: Boolean = true,     soKeepAlive: Boolean = true,     shutdownQuietSeconds: Long = 0,     shutdownTimeoutSeconds: Long = 0,     keepAliveHandler: Boolean = true,     httpAggregatorHandler: Boolean = true,     chunkedHandler: Boolean = true,     enableWebsockets: Boolean = true) : HttpServerPort

Implements HttpServerPort using Netty Channel.

Constructors

Link copied to clipboard
constructor(    bossGroupThreads: Int = 1,     workerGroupThreads: Int = 0,     executorThreads: Int = Platform.cpuCount * 2,     soBacklog: Int = 4 * 1_024,     soReuseAddr: Boolean = true,     soKeepAlive: Boolean = true,     shutdownQuietSeconds: Long = 0,     shutdownTimeoutSeconds: Long = 0,     keepAliveHandler: Boolean = true,     httpAggregatorHandler: Boolean = true,     chunkedHandler: Boolean = true,     enableWebsockets: Boolean = true)
constructor()

Functions

Link copied to clipboard
open fun groupSupplier(it: Int): MultithreadEventLoopGroup
Link copied to clipboard
open override fun options(): Map<String, *>
Link copied to clipboard
open override fun runtimePort(): Int
Link copied to clipboard
open fun serverBootstrapSupplier(bossGroup: MultithreadEventLoopGroup, workerGroup: MultithreadEventLoopGroup): ServerBootstrap
Link copied to clipboard
open override fun shutDown()
Link copied to clipboard
open override fun started(): Boolean
Link copied to clipboard
open override fun startUp(server: HttpServer)
Link copied to clipboard
open override fun supportedFeatures(): Set<HttpFeature>
Link copied to clipboard
open override fun supportedProtocols(): Set<HttpProtocol>