NettyEpollServerAdapter

class NettyEpollServerAdapter(bossGroupThreads: Int = 1, workerGroupThreads: Int = 0, executorThreads: Int = Jvm.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) : NettyServerAdapter

Implements HttpServerPort using Netty Epoll Channel.

Constructors

Link copied to clipboard
constructor()
constructor(bossGroupThreads: Int = 1, workerGroupThreads: Int = 0, executorThreads: Int = Jvm.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)

Functions

Link copied to clipboard
open override 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 override 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<HttpServerFeature>
Link copied to clipboard
open override fun supportedProtocols(): Set<HttpProtocol>