Http4kChannelHandler

class Http4kChannelHandler(handler: HttpHandler, appExecutor: Executor) : SimpleChannelInboundHandler<FullHttpRequest> (source)

Exposed to allow for insertion into a customised Netty server instance

Constructors

Link copied to clipboard
constructor(handler: HttpHandler, appExecutor: Executor)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open fun channelActive(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun channelInactive(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun channelRead(ctx: ChannelHandlerContext?, msg: Any?)
Link copied to clipboard
open fun channelReadComplete(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun channelRegistered(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun channelUnregistered(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun channelWritabilityChanged(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun exceptionCaught(ctx: ChannelHandlerContext?, cause: Throwable?)
Link copied to clipboard
open fun handlerAdded(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun handlerRemoved(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun userEventTriggered(ctx: ChannelHandlerContext?, evt: Any?)