ByteBuf. This is intended for low-level efficient manipulation of such buffers. See TaggingMetadata for an Iterator-like approach to decoding entries.
| Modifier and Type | Field and Description |
|---|---|
| private static int | TAG_LENGTH_MAX
Tag max length in bytes |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static RoutingMetadata | Returns: routing metadatathe allocator, Collection<String> ByteBufAllocator to use to create intermediate buffers as needed.tag values tags)create routing metadata |
| public static ByteBuf | Returns: tagging contentthe allocator, Collection<String> ByteBufAllocator to use to create intermediate buffers as needed.tag values tags)create tagging content |
| public static TaggingMetadata | Returns: tagging metadatacomposite metadata entry entrycreate tagging metadata from composite metadata entry |
| public static TaggingMetadata | Returns: Tagging Metadatathe allocator, String ByteBufAllocator to use to create intermediate buffers as needed.the knownMimeType, Collection<String> WellKnownMimeType to encode.tag values tags)create tagging metadata |
| TAG_LENGTH_MAX | back to summary |
|---|---|
| private static int TAG_LENGTH_MAX Tag max length in bytes | |
| TaggingMetadataCodec | back to summary |
|---|---|
| public TaggingMetadataCodec() | |
| createRoutingMetadata | back to summary |
|---|---|
| public static RoutingMetadata createRoutingMetadata(ByteBufAllocator allocator, Collection<String> tags) create routing metadata
| |
| createTaggingContent | back to summary |
|---|---|
| public static ByteBuf createTaggingContent(ByteBufAllocator allocator, Collection<String> tags) create tagging content
| |
| createTaggingMetadata | back to summary |
|---|---|
| public static TaggingMetadata createTaggingMetadata(CompositeMetadata. create tagging metadata from composite metadata entry
| |
| createTaggingMetadata | back to summary |
|---|---|
| public static TaggingMetadata createTaggingMetadata(ByteBufAllocator allocator, String knownMimeType, Collection<String> tags) create tagging metadata
| |