public class RequestStreamFrameCodec extends Object
Modifier and Type | Method and Description |
---|---|
static ByteBuf |
data(ByteBuf byteBuf) |
static ByteBuf |
encode(ByteBufAllocator allocator,
int streamId,
boolean fragmentFollows,
long initialRequestN,
ByteBuf metadata,
ByteBuf data) |
static ByteBuf |
encodeReleasingPayload(ByteBufAllocator allocator,
int streamId,
long initialRequestN,
Payload payload) |
static long |
initialRequestN(ByteBuf byteBuf) |
static ByteBuf |
metadata(ByteBuf byteBuf) |
public static ByteBuf encodeReleasingPayload(ByteBufAllocator allocator, int streamId, long initialRequestN, Payload payload)
public static ByteBuf encode(ByteBufAllocator allocator, int streamId, boolean fragmentFollows, long initialRequestN, @Nullable ByteBuf metadata, ByteBuf data)
public static long initialRequestN(ByteBuf byteBuf)