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