Package io.netty.handler.codec.http2
Class Http2ConnectionHandler.BaseDecoder
- java.lang.Object
-
- io.netty.handler.codec.http2.Http2ConnectionHandler.BaseDecoder
-
- Direct Known Subclasses:
Http2ConnectionHandler.FrameDecoder
,Http2ConnectionHandler.PrefaceDecoder
- Enclosing class:
- Http2ConnectionHandler
private abstract class Http2ConnectionHandler.BaseDecoder extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description private
BaseDecoder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
channelActive(ChannelHandlerContext ctx)
void
channelInactive(ChannelHandlerContext ctx)
abstract void
decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out)
void
handlerRemoved(ChannelHandlerContext ctx)
boolean
prefaceSent()
Determine if the HTTP/2 connection preface been sent.
-
-
-
Method Detail
-
decode
public abstract void decode(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out) throws java.lang.Exception
- Throws:
java.lang.Exception
-
handlerRemoved
public void handlerRemoved(ChannelHandlerContext ctx) throws java.lang.Exception
- Throws:
java.lang.Exception
-
channelActive
public void channelActive(ChannelHandlerContext ctx) throws java.lang.Exception
- Throws:
java.lang.Exception
-
channelInactive
public void channelInactive(ChannelHandlerContext ctx) throws java.lang.Exception
- Throws:
java.lang.Exception
-
prefaceSent
public boolean prefaceSent()
Determine if the HTTP/2 connection preface been sent.
-
-