NettyChannelInitializer

class NettyChannelInitializer(applicationProvider: () -> Application, enginePipeline: EnginePipeline, environment: ApplicationEnvironment, callEventGroup: EventExecutorGroup, engineContext: CoroutineContext, userContext: CoroutineContext, connector: EngineConnectorConfig, runningLimit: Int, responseWriteTimeout: Int, requestReadTimeout: Int, httpServerCodec: () -> HttpServerCodec, channelPipelineConfig: ChannelPipeline.() -> Unit, enableHttp2: Boolean) : ChannelInitializer<SocketChannel>

A ChannelInitializer implementation that sets up the default ktor channel pipeline

Constructors

Link copied to clipboard
constructor(applicationProvider: () -> Application, enginePipeline: EnginePipeline, environment: ApplicationEnvironment, callEventGroup: EventExecutorGroup, engineContext: CoroutineContext, userContext: CoroutineContext, connector: EngineConnectorConfig, runningLimit: Int, responseWriteTimeout: Int, requestReadTimeout: Int, httpServerCodec: () -> HttpServerCodec, channelPipelineConfig: ChannelPipeline.() -> Unit, enableHttp2: Boolean)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun channelActive(p0: ChannelHandlerContext)
Link copied to clipboard
open override fun channelInactive(p0: ChannelHandlerContext)
Link copied to clipboard
open override fun channelRead(p0: ChannelHandlerContext, p1: Any)
Link copied to clipboard
open override fun channelReadComplete(p0: ChannelHandlerContext)
Link copied to clipboard
override fun channelRegistered(p0: ChannelHandlerContext)
Link copied to clipboard
open override fun channelUnregistered(p0: ChannelHandlerContext)
Link copied to clipboard
open override fun channelWritabilityChanged(p0: ChannelHandlerContext)
Link copied to clipboard
open override fun exceptionCaught(p0: ChannelHandlerContext, p1: Throwable)
Link copied to clipboard
open override fun handlerAdded(p0: ChannelHandlerContext)
Link copied to clipboard
open override fun handlerRemoved(p0: ChannelHandlerContext)
Link copied to clipboard
open fun isSharable(): Boolean
Link copied to clipboard
open override fun userEventTriggered(p0: ChannelHandlerContext, p1: Any)