Class Http2ConnectionHandler.BaseDecoder
java.lang.Object
io.netty.handler.codec.http2.Http2ConnectionHandler.BaseDecoder
- Direct Known Subclasses:
Http2ConnectionHandler.FrameDecoder, Http2ConnectionHandler.PrefaceDecoder
- Enclosing class:
Http2ConnectionHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidabstract voiddecode(ChannelHandlerContext ctx, ByteBuf in, List<Object> out) voidbooleanDetermine if the HTTP/2 connection preface been sent.voidSend the preface if needed.
-
Constructor Details
-
BaseDecoder
private BaseDecoder()
-
-
Method Details
-
decode
-
handlerRemoved
- Throws:
Exception
-
channelActive
- Throws:
Exception
-
channelInactive
- Throws:
Exception
-
prefaceSent
public boolean prefaceSent()Determine if the HTTP/2 connection preface been sent. -
sendPrefaceIfNeeded
Send the preface if needed.- Parameters:
ctx- theChannelHandlerContextto use.- Throws:
Exception- thrown on error.
-