NettyChannelInitializer

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

A ChannelInitializer implementation that does setup the default ktor channel pipeline

Constructors

Link copied to clipboard
fun NettyChannelInitializer(enginePipeline: EnginePipeline, environment: ApplicationEngineEnvironment, callEventGroup: EventExecutorGroup, engineContext: CoroutineContext, userContext: CoroutineContext, connector: EngineConnectorConfig, requestQueueLimit: Int, runningLimit: Int, responseWriteTimeout: Int, requestReadTimeout: Int, httpServerCodec: () -> HttpServerCodec, channelPipelineConfig: ChannelPipeline.() -> Unit)

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 fun ensureNotSharable()
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)

Properties

Link copied to clipboard
val added: Boolean