Interface | Description |
---|---|
Content |
Data content.
|
ContentBuilder<B> |
Base interface for content builders.
|
ContentFactory | |
ContentReader |
Base interface for content readers.
|
Record |
A record is an immutable collection of String fields and may be used when
reading or writing record based
Content . |
Record.Builder |
Record Builder.
|
Record.Factory |
Factory for records and record builders.
|
Record.StructuredBuilder |
Record builder that uses
Metadata . |
Record.StructuredReader |
A Structured reader allowing record content to be read using
Metadata . |
RecordContentBuilder |
Builds content in record format.
|
RecordContentReader |
Record content reader.
|
SimpleContentBuilder |
Simple content builder for bytes and/or strings.
|
Enum | Description |
---|---|
Content.Encoding | Deprecated
since 5.7 in future releases encoding will no longer be an
attribute of Content, therefore this facility should no
longer be used
|
This package provides interfaces relating to the handling of topic content. 'Content' is used to represent the state of topics and also updates to the state of topics. It is also used for sending messages via topics.
Content is essentially represented as an array of bytes but these bytes may
be interpreted in different ways using 'readers' or constructed using
'builders'. For example, to create content in record format
you can use a
RecordContentBuilder
and content in this format can be read using a
RecordContentReader
.
When content is sent as a message via a topic then it may also have headers associated with it.
Copyright © 2016 Push Technology Ltd. All Rights Reserved.