public interface FragmentableFrame extends MetadataAndDataFrame
Disposable.Composite, Disposable.SwapFRAME_TYPE_SHIFT| Modifier and Type | Method and Description |
|---|---|
FragmentableFrame |
createFragment(ByteBufAllocator byteBufAllocator,
ByteBuf metadata,
ByteBuf data)
Generates the fragment for this frame.
|
FragmentableFrame |
createNonFragment(ByteBufAllocator byteBufAllocator,
ByteBuf metadata,
ByteBuf data)
Generates the non-fragment for this frame.
|
boolean |
isFollowsFlagSet()
Returns whether the Follows flag is set.
|
getMetadataAsUtf8, getMetadataLength, getUnsafeMetadata, getUnsafeMetadataAsUtf8, getUnsafeMetadataLength, mapMetadatagetDataAsUtf8, getDataLength, getUnsafeData, mapDataconsumeFrame, getFrameType, getUnsafeFrame, mapFramedispose, isDisposedFragmentableFrame createFragment(ByteBufAllocator byteBufAllocator, @Nullable ByteBuf metadata, @Nullable ByteBuf data)
byteBufAllocator - the ByteBufAllocator to usemetadata - the metadatadata - the dataNullPointerException - if ByteBufAllocator is nullFragmentableFrame createNonFragment(ByteBufAllocator byteBufAllocator, @Nullable ByteBuf metadata, @Nullable ByteBuf data)
byteBufAllocator - the ByteBufAllocator to usemetadata - the metadatadata - the dataNullPointerException - if ByteBufAllocator is nullboolean isFollowsFlagSet()