public class RequestFrameFlyweight extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
computeFrameLength(FrameType type,
Integer metadataLength,
int dataLength) |
static int |
encode(ByteBuf byteBuf,
int streamId,
int flags,
FrameType type,
ByteBuf metadata,
ByteBuf data) |
static int |
encode(ByteBuf byteBuf,
int streamId,
int flags,
FrameType type,
int initialRequestN,
ByteBuf metadata,
ByteBuf data) |
static int |
initialRequestN(ByteBuf byteBuf) |
static int |
payloadOffset(FrameType type,
ByteBuf byteBuf) |
public static int computeFrameLength(FrameType type, @Nullable Integer metadataLength, int dataLength)
public static int encode(ByteBuf byteBuf, int streamId, int flags, FrameType type, int initialRequestN, @Nullable ByteBuf metadata, ByteBuf data)
public static int encode(ByteBuf byteBuf, int streamId, int flags, FrameType type, @Nullable ByteBuf metadata, ByteBuf data)
public static int initialRequestN(ByteBuf byteBuf)