public class SpdyFrameEncoder
extends java.lang.Object
ByteBuf
.构造器和说明 |
---|
SpdyFrameEncoder(SpdyVersion spdyVersion)
Creates a new instance with the specified
spdyVersion . |
限定符和类型 | 方法和说明 |
---|---|
ByteBuf |
encodeDataFrame(ByteBufAllocator allocator,
int streamId,
boolean last,
ByteBuf data) |
ByteBuf |
encodeGoAwayFrame(ByteBufAllocator allocator,
int lastGoodStreamId,
int statusCode) |
ByteBuf |
encodeHeadersFrame(ByteBufAllocator allocator,
int streamId,
boolean last,
ByteBuf headerBlock) |
ByteBuf |
encodePingFrame(ByteBufAllocator allocator,
int id) |
ByteBuf |
encodeRstStreamFrame(ByteBufAllocator allocator,
int streamId,
int statusCode) |
ByteBuf |
encodeSettingsFrame(ByteBufAllocator allocator,
SpdySettingsFrame spdySettingsFrame) |
ByteBuf |
encodeSynReplyFrame(ByteBufAllocator allocator,
int streamId,
boolean last,
ByteBuf headerBlock) |
ByteBuf |
encodeSynStreamFrame(ByteBufAllocator allocator,
int streamId,
int associatedToStreamId,
byte priority,
boolean last,
boolean unidirectional,
ByteBuf headerBlock) |
ByteBuf |
encodeWindowUpdateFrame(ByteBufAllocator allocator,
int streamId,
int deltaWindowSize) |
public SpdyFrameEncoder(SpdyVersion spdyVersion)
spdyVersion
.public ByteBuf encodeDataFrame(ByteBufAllocator allocator, int streamId, boolean last, ByteBuf data)
public ByteBuf encodeSynStreamFrame(ByteBufAllocator allocator, int streamId, int associatedToStreamId, byte priority, boolean last, boolean unidirectional, ByteBuf headerBlock)
public ByteBuf encodeSynReplyFrame(ByteBufAllocator allocator, int streamId, boolean last, ByteBuf headerBlock)
public ByteBuf encodeRstStreamFrame(ByteBufAllocator allocator, int streamId, int statusCode)
public ByteBuf encodeSettingsFrame(ByteBufAllocator allocator, SpdySettingsFrame spdySettingsFrame)
public ByteBuf encodePingFrame(ByteBufAllocator allocator, int id)
public ByteBuf encodeGoAwayFrame(ByteBufAllocator allocator, int lastGoodStreamId, int statusCode)
public ByteBuf encodeHeadersFrame(ByteBufAllocator allocator, int streamId, boolean last, ByteBuf headerBlock)
public ByteBuf encodeWindowUpdateFrame(ByteBufAllocator allocator, int streamId, int deltaWindowSize)