@Sharable
public class NettyHttpServerInitializer
extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
Constructor | Description |
---|---|
NettyHttpServerInitializer(HttpServerProcessor httpServerProcessor) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
void |
initChannel(io.netty.channel.socket.SocketChannel channel) |
Initialize the channel.
|
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggered
public NettyHttpServerInitializer(HttpServerProcessor httpServerProcessor)
httpServerProcessor
- the HTTP server processor.Copyright © 2020 Piranha Cloud. All rights reserved.