public abstract class Http3ConnectionHandler
extends io.netty.channel.ChannelInboundHandlerAdapter
| Modifier and Type | Method and Description |
|---|---|
void |
channelActive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
void |
handlerAdded(io.netty.channel.ChannelHandlerContext ctx) |
boolean |
isGoAwayReceived()
Returns
true if we received a GOAWAY frame from the remote peer. |
boolean |
isSharable()
Always returns
false as it keeps state. |
io.netty.channel.ChannelHandler |
newCodec(io.netty.incubator.codec.http3.Http3RequestStreamCodecState encodeState,
io.netty.incubator.codec.http3.Http3RequestStreamCodecState decodeState)
Returns a new codec that will encode and decode
Http3Frames for this HTTP/3 connection. |
channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerRemovedpublic final boolean isGoAwayReceived()
true if we received a GOAWAY frame from the remote peer.true if we received the frame, false otherwise.public final io.netty.channel.ChannelHandler newCodec(io.netty.incubator.codec.http3.Http3RequestStreamCodecState encodeState,
io.netty.incubator.codec.http3.Http3RequestStreamCodecState decodeState)
Http3Frames for this HTTP/3 connection.public void handlerAdded(io.netty.channel.ChannelHandlerContext ctx)
handlerAdded in interface io.netty.channel.ChannelHandlerhandlerAdded in class io.netty.channel.ChannelHandlerAdapterpublic void channelActive(io.netty.channel.ChannelHandlerContext ctx)
channelActive in interface io.netty.channel.ChannelInboundHandlerchannelActive in class io.netty.channel.ChannelInboundHandlerAdapterpublic void channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
channelRead in interface io.netty.channel.ChannelInboundHandlerchannelRead in class io.netty.channel.ChannelInboundHandlerAdapterpublic boolean isSharable()
false as it keeps state.isSharable in class io.netty.channel.ChannelHandlerAdapterCopyright © 2020–2024 The Netty Project. All rights reserved.