Class BinaryData

java.lang.Object
java.util.AbstractMap<K,​V>
java.util.HashMap<String,​Object>
org.cometd.bayeux.BinaryData
All Implemented Interfaces:
Serializable, Cloneable, Map<String,​Object>

public class BinaryData
extends HashMap<String,​Object>

Reified representation of binary data chunk contained in a message.

BinaryData is composed of a metaData map that contains application information about the binary chunk (such as a file name, the mime type, or the chunk number), of the binary chunk itself (either in byte[] or ByteBuffer format), and of the boolean last flag indicating whether it is the last chunk.

See Also:
Serialized Form