public class SpdyFrameEncoder extends Object
ChannelBuffer
.Constructor and Description |
---|
SpdyFrameEncoder(SpdyVersion spdyVersion)
Creates a new instance with the specified
spdyVersion . |
Modifier and Type | Method and Description |
---|---|
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)
Copyright © 2008-2016 The Netty Project. All Rights Reserved.