@ChannelHandler.Sharable
public class NettyHttpServerInitializer
extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
| Constructor and Description |
|---|
NettyHttpServerInitializer(cloud.piranha.api.HttpServerProcessor httpServerProcessor)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
initChannel(io.netty.channel.socket.SocketChannel channel)
Initialize the channel.
|
channelRegistered, exceptionCaught, handlerAdded, handlerRemovedpublic NettyHttpServerInitializer(cloud.piranha.api.HttpServerProcessor httpServerProcessor)
httpServerProcessor - the HTTP server processor.Copyright © 2020. All rights reserved.