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,V>, AbstractMap.SimpleImmutableEntry<K, V> 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.ChannelIdgetData()getDataAsMap(boolean create) getExt()getExt(boolean create) getId()booleanisMeta()booleanbooleanvoidsetChannel(String channel) voidsetClientId(String clientId) voidvoidvoidsetSuccessful(boolean successful) Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
getAdvicein interfaceorg.cometd.bayeux.Message
-
getChannel
- Specified by:
getChannelin interfaceorg.cometd.bayeux.Message
-
getChannelId
public org.cometd.bayeux.ChannelId getChannelId()- Specified by:
getChannelIdin interfaceorg.cometd.bayeux.Message
-
getClientId
- Specified by:
getClientIdin interfaceorg.cometd.bayeux.Message
-
getData
- Specified by:
getDatain interfaceorg.cometd.bayeux.Message
-
getDataAsMap
- Specified by:
getDataAsMapin interfaceorg.cometd.bayeux.Message
-
getExt
- Specified by:
getExtin interfaceorg.cometd.bayeux.Message
-
getId
- Specified by:
getIdin interfaceorg.cometd.bayeux.Message
-
getAdvice
- Specified by:
getAdvicein interfaceorg.cometd.bayeux.Message.Mutable
-
getDataAsMap
- Specified by:
getDataAsMapin interfaceorg.cometd.bayeux.Message.Mutable
-
getExt
- Specified by:
getExtin interfaceorg.cometd.bayeux.Message.Mutable
-
isMeta
public boolean isMeta()- Specified by:
isMetain interfaceorg.cometd.bayeux.Message
-
isPublishReply
public boolean isPublishReply()- Specified by:
isPublishReplyin interfaceorg.cometd.bayeux.Message
-
isSuccessful
public boolean isSuccessful()- Specified by:
isSuccessfulin interfaceorg.cometd.bayeux.Message
-
setChannel
- Specified by:
setChannelin interfaceorg.cometd.bayeux.Message.Mutable
-
setClientId
- Specified by:
setClientIdin interfaceorg.cometd.bayeux.Message.Mutable
-
setData
- Specified by:
setDatain interfaceorg.cometd.bayeux.Message.Mutable
-
setId
- Specified by:
setIdin interfaceorg.cometd.bayeux.Message.Mutable
-
setSuccessful
public void setSuccessful(boolean successful) - Specified by:
setSuccessfulin interfaceorg.cometd.bayeux.Message.Mutable
-