public class SpdyFrameEncoder extends Object
ByteBuf
.Constructor and Description |
---|
SpdyFrameEncoder(SpdyVersion spdyVersion)
Creates a new instance with the specified
spdyVersion . |
Modifier and Type | Method and Description |
---|---|
io.netty.buffer.ByteBuf |
encodeDataFrame(io.netty.buffer.ByteBufAllocator allocator,
int streamId,
boolean last,
io.netty.buffer.ByteBuf data) |
io.netty.buffer.ByteBuf |
encodeGoAwayFrame(io.netty.buffer.ByteBufAllocator allocator,
int lastGoodStreamId,
int statusCode) |
io.netty.buffer.ByteBuf |
encodeHeadersFrame(io.netty.buffer.ByteBufAllocator allocator,
int streamId,
boolean last,
io.netty.buffer.ByteBuf headerBlock) |
io.netty.buffer.ByteBuf |
encodePingFrame(io.netty.buffer.ByteBufAllocator allocator,
int id) |
io.netty.buffer.ByteBuf |
encodeRstStreamFrame(io.netty.buffer.ByteBufAllocator allocator,
int streamId,
int statusCode) |
io.netty.buffer.ByteBuf |
encodeSettingsFrame(io.netty.buffer.ByteBufAllocator allocator,
SpdySettingsFrame spdySettingsFrame) |
io.netty.buffer.ByteBuf |
encodeSynReplyFrame(io.netty.buffer.ByteBufAllocator allocator,
int streamId,
boolean last,
io.netty.buffer.ByteBuf headerBlock) |
io.netty.buffer.ByteBuf |
encodeSynStreamFrame(io.netty.buffer.ByteBufAllocator allocator,
int streamId,
int associatedToStreamId,
byte priority,
boolean last,
boolean unidirectional,
io.netty.buffer.ByteBuf headerBlock) |
io.netty.buffer.ByteBuf |
encodeWindowUpdateFrame(io.netty.buffer.ByteBufAllocator allocator,
int streamId,
int deltaWindowSize) |
public SpdyFrameEncoder(SpdyVersion spdyVersion)
spdyVersion
.public io.netty.buffer.ByteBuf encodeDataFrame(io.netty.buffer.ByteBufAllocator allocator, int streamId, boolean last, io.netty.buffer.ByteBuf data)
public io.netty.buffer.ByteBuf encodeSynStreamFrame(io.netty.buffer.ByteBufAllocator allocator, int streamId, int associatedToStreamId, byte priority, boolean last, boolean unidirectional, io.netty.buffer.ByteBuf headerBlock)
public io.netty.buffer.ByteBuf encodeSynReplyFrame(io.netty.buffer.ByteBufAllocator allocator, int streamId, boolean last, io.netty.buffer.ByteBuf headerBlock)
public io.netty.buffer.ByteBuf encodeRstStreamFrame(io.netty.buffer.ByteBufAllocator allocator, int streamId, int statusCode)
public io.netty.buffer.ByteBuf encodeSettingsFrame(io.netty.buffer.ByteBufAllocator allocator, SpdySettingsFrame spdySettingsFrame)
public io.netty.buffer.ByteBuf encodePingFrame(io.netty.buffer.ByteBufAllocator allocator, int id)
public io.netty.buffer.ByteBuf encodeGoAwayFrame(io.netty.buffer.ByteBufAllocator allocator, int lastGoodStreamId, int statusCode)
public io.netty.buffer.ByteBuf encodeHeadersFrame(io.netty.buffer.ByteBufAllocator allocator, int streamId, boolean last, io.netty.buffer.ByteBuf headerBlock)
public io.netty.buffer.ByteBuf encodeWindowUpdateFrame(io.netty.buffer.ByteBufAllocator allocator, int streamId, int deltaWindowSize)
Copyright © 2008–2023 The Netty Project. All rights reserved.