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 int
version
-
Constructor Summary
Constructors Constructor Description SpdyHeaderBlockRawEncoder(SpdyVersion version)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
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:
encode
in classSpdyHeaderBlockEncoder
- Throws:
java.lang.Exception
-
end
void end()
- Specified by:
end
in classSpdyHeaderBlockEncoder
-
-