public class Http2ServerInitializer extends ChannelInitializer<SocketChannel>
ChannelHandler.Sharable| Constructor and Description |
|---|
Http2ServerInitializer(SslContext sslCtx) |
Http2ServerInitializer(SslContext sslCtx,
int maxHttpContentLength) |
| Modifier and Type | Method and Description |
|---|---|
void |
initChannel(SocketChannel ch)
This method will be called once the
Channel was registered. |
channelRegistered, exceptionCaught, handlerAddedchannelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerRemoved, isSharableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandlerRemovedpublic Http2ServerInitializer(SslContext sslCtx)
public Http2ServerInitializer(SslContext sslCtx, int maxHttpContentLength)
public void initChannel(SocketChannel ch)
ChannelInitializerChannel was registered. After the method returns this instance
will be removed from the ChannelPipeline of the Channel.initChannel in class ChannelInitializer<SocketChannel>ch - the Channel which was registered.Copyright © 2008–2017 The Netty Project. All rights reserved.