Package org.cometd.common
Class HashMapMessage
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,
,Object> org.cometd.bayeux.Message
,org.cometd.bayeux.Message.Mutable
public class HashMapMessage
extends HashMap<String,Object>
implements org.cometd.bayeux.Message.Mutable, Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K extends Object,
V extends Object> Nested classes/interfaces inherited from interface org.cometd.bayeux.Message
org.cometd.bayeux.Message.Mutable
-
Field Summary
Fields inherited from interface org.cometd.bayeux.Message
ADVICE_FIELD, CHANNEL_FIELD, CLIENT_ID_FIELD, CONNECTION_TYPE_FIELD, DATA_FIELD, ERROR_FIELD, EXT_FIELD, ID_FIELD, INTERVAL_FIELD, MAX_INTERVAL_FIELD, MIN_VERSION_FIELD, RECONNECT_FIELD, RECONNECT_HANDSHAKE_VALUE, RECONNECT_NONE_VALUE, RECONNECT_RETRY_VALUE, SUBSCRIPTION_FIELD, SUCCESSFUL_FIELD, SUPPORTED_CONNECTION_TYPES_FIELD, TIMEOUT_FIELD, TIMESTAMP_FIELD, TRANSPORT_FIELD, VERSION_FIELD
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAdvice
(boolean create) org.cometd.bayeux.ChannelId
getData()
getDataAsMap
(boolean create) getExt()
getExt
(boolean create) getId()
boolean
isMeta()
boolean
boolean
void
setChannel
(String channel) void
setClientId
(String clientId) void
void
void
setSuccessful
(boolean successful) Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Constructor Details
-
HashMapMessage
public HashMapMessage() -
HashMapMessage
public HashMapMessage(org.cometd.bayeux.Message message)
-
-
Method Details
-
getAdvice
- Specified by:
getAdvice
in interfaceorg.cometd.bayeux.Message
-
getChannel
- Specified by:
getChannel
in interfaceorg.cometd.bayeux.Message
-
getChannelId
public org.cometd.bayeux.ChannelId getChannelId()- Specified by:
getChannelId
in interfaceorg.cometd.bayeux.Message
-
getClientId
- Specified by:
getClientId
in interfaceorg.cometd.bayeux.Message
-
getData
- Specified by:
getData
in interfaceorg.cometd.bayeux.Message
-
getDataAsMap
- Specified by:
getDataAsMap
in interfaceorg.cometd.bayeux.Message
-
getExt
- Specified by:
getExt
in interfaceorg.cometd.bayeux.Message
-
getId
- Specified by:
getId
in interfaceorg.cometd.bayeux.Message
-
getAdvice
- Specified by:
getAdvice
in interfaceorg.cometd.bayeux.Message.Mutable
-
getDataAsMap
- Specified by:
getDataAsMap
in interfaceorg.cometd.bayeux.Message.Mutable
-
getExt
- Specified by:
getExt
in interfaceorg.cometd.bayeux.Message.Mutable
-
isMeta
public boolean isMeta()- Specified by:
isMeta
in interfaceorg.cometd.bayeux.Message
-
isPublishReply
public boolean isPublishReply()- Specified by:
isPublishReply
in interfaceorg.cometd.bayeux.Message
-
isSuccessful
public boolean isSuccessful()- Specified by:
isSuccessful
in interfaceorg.cometd.bayeux.Message
-
setChannel
- Specified by:
setChannel
in interfaceorg.cometd.bayeux.Message.Mutable
-
setClientId
- Specified by:
setClientId
in interfaceorg.cometd.bayeux.Message.Mutable
-
setData
- Specified by:
setData
in interfaceorg.cometd.bayeux.Message.Mutable
-
setId
- Specified by:
setId
in interfaceorg.cometd.bayeux.Message.Mutable
-
setSuccessful
public void setSuccessful(boolean successful) - Specified by:
setSuccessful
in interfaceorg.cometd.bayeux.Message.Mutable
-