public class PayloadFrameFlyweight 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 |
encode(ByteBufAllocator allocator,
int streamId,
boolean fragmentFollows,
boolean complete,
boolean next,
Payload payload) |
static ByteBuf |
encodeComplete(ByteBufAllocator allocator,
int streamId) |
static ByteBuf |
encodeNext(ByteBufAllocator allocator,
int streamId,
Payload payload) |
static ByteBuf |
encodeNextComplete(ByteBufAllocator allocator,
int streamId,
Payload payload) |
static ByteBuf |
metadata(ByteBuf byteBuf) |
public static ByteBuf encode(ByteBufAllocator allocator, int streamId, boolean fragmentFollows, boolean complete, boolean next, ByteBuf metadata, ByteBuf data)
public static ByteBuf encode(ByteBufAllocator allocator, int streamId, boolean fragmentFollows, boolean complete, boolean next, Payload payload)
public static ByteBuf encodeNextComplete(ByteBufAllocator allocator, int streamId, Payload payload)
public static ByteBuf encodeNext(ByteBufAllocator allocator, int streamId, Payload payload)
public static ByteBuf encodeComplete(ByteBufAllocator allocator, int streamId)