public class HashMapMessage extends HashMap<String,Object> implements org.cometd.bayeux.Message.Mutable, Serializable
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>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 and Description |
|---|
HashMapMessage() |
HashMapMessage(org.cometd.bayeux.Message message) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAdvice() |
Map<String,Object> |
getAdvice(boolean create) |
String |
getChannel() |
org.cometd.bayeux.ChannelId |
getChannelId() |
String |
getClientId() |
Object |
getData() |
Map<String,Object> |
getDataAsMap() |
Map<String,Object> |
getDataAsMap(boolean create) |
Map<String,Object> |
getExt() |
Map<String,Object> |
getExt(boolean create) |
String |
getId() |
boolean |
isMeta() |
boolean |
isPublishReply() |
boolean |
isSuccessful() |
void |
setChannel(String channel) |
void |
setClientId(String clientId) |
void |
setData(Object data) |
void |
setId(String id) |
void |
setSuccessful(boolean successful) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic HashMapMessage()
public HashMapMessage(org.cometd.bayeux.Message message)
public Map<String,Object> getAdvice()
getAdvice in interface org.cometd.bayeux.Messagepublic String getChannel()
getChannel in interface org.cometd.bayeux.Messagepublic org.cometd.bayeux.ChannelId getChannelId()
getChannelId in interface org.cometd.bayeux.Messagepublic String getClientId()
getClientId in interface org.cometd.bayeux.Messagepublic Object getData()
getData in interface org.cometd.bayeux.Messagepublic Map<String,Object> getDataAsMap()
getDataAsMap in interface org.cometd.bayeux.Messagepublic Map<String,Object> getExt()
getExt in interface org.cometd.bayeux.Messagepublic String getId()
getId in interface org.cometd.bayeux.Messagepublic Map<String,Object> getAdvice(boolean create)
getAdvice in interface org.cometd.bayeux.Message.Mutablepublic Map<String,Object> getDataAsMap(boolean create)
getDataAsMap in interface org.cometd.bayeux.Message.Mutablepublic Map<String,Object> getExt(boolean create)
getExt in interface org.cometd.bayeux.Message.Mutablepublic boolean isMeta()
isMeta in interface org.cometd.bayeux.Messagepublic boolean isPublishReply()
isPublishReply in interface org.cometd.bayeux.Messagepublic boolean isSuccessful()
isSuccessful in interface org.cometd.bayeux.Messagepublic void setChannel(String channel)
setChannel in interface org.cometd.bayeux.Message.Mutablepublic void setClientId(String clientId)
setClientId in interface org.cometd.bayeux.Message.Mutablepublic void setData(Object data)
setData in interface org.cometd.bayeux.Message.Mutablepublic void setId(String id)
setId in interface org.cometd.bayeux.Message.Mutablepublic void setSuccessful(boolean successful)
setSuccessful in interface org.cometd.bayeux.Message.MutableCopyright © 2008–2024 The CometD Project. All rights reserved.