Package io.netty.handler.codec.spdy
Class SpdyHeaderBlockRawEncoder
- java.lang.Object
-
- io.netty.handler.codec.spdy.SpdyHeaderBlockEncoder
-
- io.netty.handler.codec.spdy.SpdyHeaderBlockRawEncoder
-
- Direct Known Subclasses:
SpdyHeaderBlockJZlibEncoder,SpdyHeaderBlockZlibEncoder
public class SpdyHeaderBlockRawEncoder extends SpdyHeaderBlockEncoder
-
-
Field Summary
Fields Modifier and Type Field Description private intversion
-
Constructor Summary
Constructors Constructor Description SpdyHeaderBlockRawEncoder(SpdyVersion version)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteBufencode(ByteBufAllocator alloc, SpdyHeadersFrame frame)(package private) voidend()private static voidsetLengthField(ByteBuf buffer, int writerIndex, int length)private static voidwriteLengthField(ByteBuf buffer, int length)-
Methods inherited from class io.netty.handler.codec.spdy.SpdyHeaderBlockEncoder
newInstance
-
-
-
-
Constructor Detail
-
SpdyHeaderBlockRawEncoder
public SpdyHeaderBlockRawEncoder(SpdyVersion version)
-
-
Method Detail
-
setLengthField
private static void setLengthField(ByteBuf buffer, int writerIndex, int length)
-
writeLengthField
private static void writeLengthField(ByteBuf buffer, int length)
-
encode
public ByteBuf encode(ByteBufAllocator alloc, SpdyHeadersFrame frame) throws java.lang.Exception
- Specified by:
encodein classSpdyHeaderBlockEncoder- Throws:
java.lang.Exception
-
end
void end()
- Specified by:
endin classSpdyHeaderBlockEncoder
-
-