Package io.netty.handler.codec.http3
Class Http3ConnectionHandler
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.handler.codec.http3.Http3ConnectionHandler
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
- Direct Known Subclasses:
Http3ClientConnectionHandler,Http3ServerConnectionHandler
public abstract class Http3ConnectionHandler extends io.netty.channel.ChannelInboundHandlerAdapterHandler that handles HTTP3 connections.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchannelActive(io.netty.channel.ChannelHandlerContext ctx)voidchannelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg)voidhandlerAdded(io.netty.channel.ChannelHandlerContext ctx)booleanisGoAwayReceived()Returnstrueif we received a GOAWAY frame from the remote peer.booleanisSharable()Always returnsfalseas it keeps state.-
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
-
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerRemoved
-
-
-
-
Method Detail
-
isGoAwayReceived
public final boolean isGoAwayReceived()
Returnstrueif we received a GOAWAY frame from the remote peer.- Returns:
trueif we received the frame,falseotherwise.
-
handlerAdded
public void handlerAdded(io.netty.channel.ChannelHandlerContext ctx)
- Specified by:
handlerAddedin interfaceio.netty.channel.ChannelHandler- Overrides:
handlerAddedin classio.netty.channel.ChannelHandlerAdapter
-
channelActive
public void channelActive(io.netty.channel.ChannelHandlerContext ctx)
- Specified by:
channelActivein interfaceio.netty.channel.ChannelInboundHandler- Overrides:
channelActivein classio.netty.channel.ChannelInboundHandlerAdapter
-
channelRead
public void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg)- Specified by:
channelReadin interfaceio.netty.channel.ChannelInboundHandler- Overrides:
channelReadin classio.netty.channel.ChannelInboundHandlerAdapter
-
isSharable
public boolean isSharable()
Always returnsfalseas it keeps state.- Overrides:
isSharablein classio.netty.channel.ChannelHandlerAdapter
-
-