http4k
Toggle table of contents
6.55.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
http4k
http4k-server-netty
/
org.http4k.server
/
Http4kChannelInitializer
Http4k
Channel
Initializer
class
Http4kChannelInitializer
(
val
ws
:
WsHandler
?
,
val
http
:
HttpHandler
?
,
val
maxSize
:
Int
)
:
ChannelInitializer
<
SocketChannel
>
,
Closeable
(
source
)
Members
Constructors
Http4k
Channel
Initializer
Link copied to clipboard
constructor
(
ws
:
WsHandler
?
,
http
:
HttpHandler
?
,
maxSize
:
Int
)
Properties
http
Link copied to clipboard
val
http
:
HttpHandler
?
is
Sharable
Link copied to clipboard
open
val
isSharable
:
Boolean
max
Size
Link copied to clipboard
val
maxSize
:
Int
ws
Link copied to clipboard
val
ws
:
WsHandler
?
Functions
channel
Active
Link copied to clipboard
open
fun
channelActive
(
ctx
:
ChannelHandlerContext
?
)
channel
Inactive
Link copied to clipboard
open
fun
channelInactive
(
ctx
:
ChannelHandlerContext
?
)
channel
Read
Link copied to clipboard
open
fun
channelRead
(
ctx
:
ChannelHandlerContext
?
,
msg
:
Any
?
)
channel
Read
Complete
Link copied to clipboard
open
fun
channelReadComplete
(
ctx
:
ChannelHandlerContext
?
)
channel
Registered
Link copied to clipboard
fun
channelRegistered
(
ctx
:
ChannelHandlerContext
?
)
channel
Unregistered
Link copied to clipboard
open
fun
channelUnregistered
(
ctx
:
ChannelHandlerContext
?
)
channel
Writability
Changed
Link copied to clipboard
open
fun
channelWritabilityChanged
(
ctx
:
ChannelHandlerContext
?
)
close
Link copied to clipboard
open
override
fun
close
(
)
exception
Caught
Link copied to clipboard
open
fun
exceptionCaught
(
ctx
:
ChannelHandlerContext
?
,
cause
:
Throwable
?
)
handler
Added
Link copied to clipboard
open
fun
handlerAdded
(
ctx
:
ChannelHandlerContext
?
)
handler
Removed
Link copied to clipboard
open
fun
handlerRemoved
(
ctx
:
ChannelHandlerContext
?
)
init
Channel
Link copied to clipboard
open
override
fun
initChannel
(
ch
:
SocketChannel
)
user
Event
Triggered
Link copied to clipboard
open
fun
userEventTriggered
(
ctx
:
ChannelHandlerContext
?
,
evt
:
Any
?
)