Interface Message

All Superinterfaces:
Map<String,Object>
All Known Subinterfaces:
Message.Mutable, ServerMessage, ServerMessage.Mutable
All Known Implementing Classes:
HashMapMessage, ServerMessageImpl

public interface Message extends Map<String,Object>

The Bayeux protocol exchange information by means of messages.

This interface represents the API of a Bayeux message, and consists mainly of convenience methods to access the known fields of the message map.

This interface comes in both an immutable and mutable versions. Mutability may be deeply enforced by an implementation, so that it is not correct to cast a passed Message, to a Message.Mutable, even if the implementation allows this.