public class PayloadFrameCodec extends Object
Modifier and Type | Method and Description |
---|---|
static ByteBuf |
data(ByteBuf byteBuf) |
static ByteBuf |
encode(ByteBufAllocator allocator,
int streamId,
boolean fragmentFollows,
boolean complete,
boolean next,
ByteBuf metadata,
ByteBuf data) |
static ByteBuf |
encodeComplete(ByteBufAllocator allocator,
int streamId) |
static ByteBuf |
encodeNextCompleteReleasingPayload(ByteBufAllocator allocator,
int streamId,
Payload payload) |
static ByteBuf |
encodeNextReleasingPayload(ByteBufAllocator allocator,
int streamId,
Payload payload) |
static ByteBuf |
metadata(ByteBuf byteBuf) |
public static ByteBuf encodeNextReleasingPayload(ByteBufAllocator allocator, int streamId, Payload payload)
public static ByteBuf encodeNextCompleteReleasingPayload(ByteBufAllocator allocator, int streamId, Payload payload)
public static ByteBuf encodeComplete(ByteBufAllocator allocator, int streamId)
public static ByteBuf encode(ByteBufAllocator allocator, int streamId, boolean fragmentFollows, boolean complete, boolean next, @Nullable ByteBuf metadata, @Nullable ByteBuf data)