public class SpdyHeaderBlockRawEncoder extends SpdyHeaderBlockEncoder
Modifier and Type | Field and Description |
---|---|
private int |
version |
Constructor and Description |
---|
SpdyHeaderBlockRawEncoder(SpdyVersion version) |
Modifier and Type | Method and Description |
---|---|
ByteBuf |
encode(ByteBufAllocator alloc,
SpdyHeadersFrame frame) |
(package private) void |
end() |
private static void |
setLengthField(ByteBuf buffer,
int writerIndex,
int length) |
private static void |
writeLengthField(ByteBuf buffer,
int length) |
newInstance
public SpdyHeaderBlockRawEncoder(SpdyVersion version)
private static void setLengthField(ByteBuf buffer, int writerIndex, int length)
private static void writeLengthField(ByteBuf buffer, int length)
public ByteBuf encode(ByteBufAllocator alloc, SpdyHeadersFrame frame) throws java.lang.Exception
encode
in class SpdyHeaderBlockEncoder
java.lang.Exception
void end()
end
in class SpdyHeaderBlockEncoder