Constructor and Description |
---|
SpdyFrameEncoder(SpdyVersion spdyVersion)
Creates a new instance with the specified
spdyVersion . |
Modifier and Type | Method and Description |
---|---|
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)
Copyright © 2008–2017 The Netty Project. All rights reserved.