public class Http2SettingsHandler
extends io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http2.Http2Settings>
Http2Settings object and notifies a ChannelPromise| Constructor and Description |
|---|
Http2SettingsHandler(io.netty.channel.ChannelPromise promise)
Create new instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
awaitSettings(long timeout,
TimeUnit unit)
Wait for this handler to be added after the upgrade to HTTP/2, and for initial preface
handshake to complete.
|
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http2.Http2Settings msg) |
acceptInboundMessage, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic Http2SettingsHandler(io.netty.channel.ChannelPromise promise)
promise - Promise object used to notify when first settings are receivedCopyright © 2008–2025 The Netty Project. All rights reserved.