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) |
newInstancepublic 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 SpdyHeaderBlockEncoderjava.lang.Exceptionvoid end()
end in class SpdyHeaderBlockEncoder