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, values
equals, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
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
public HashMapMessage()
public HashMapMessage(org.cometd.bayeux.Message message)
public Map<String,Object> getAdvice()
getAdvice
in interface org.cometd.bayeux.Message
public String getChannel()
getChannel
in interface org.cometd.bayeux.Message
public org.cometd.bayeux.ChannelId getChannelId()
getChannelId
in interface org.cometd.bayeux.Message
public String getClientId()
getClientId
in interface org.cometd.bayeux.Message
public Object getData()
getData
in interface org.cometd.bayeux.Message
public Map<String,Object> getDataAsMap()
getDataAsMap
in interface org.cometd.bayeux.Message
public Map<String,Object> getExt()
getExt
in interface org.cometd.bayeux.Message
public String getId()
getId
in interface org.cometd.bayeux.Message
public Map<String,Object> getAdvice(boolean create)
getAdvice
in interface org.cometd.bayeux.Message.Mutable
public Map<String,Object> getDataAsMap(boolean create)
getDataAsMap
in interface org.cometd.bayeux.Message.Mutable
public Map<String,Object> getExt(boolean create)
getExt
in interface org.cometd.bayeux.Message.Mutable
public boolean isMeta()
isMeta
in interface org.cometd.bayeux.Message
public boolean isPublishReply()
isPublishReply
in interface org.cometd.bayeux.Message
public boolean isSuccessful()
isSuccessful
in interface org.cometd.bayeux.Message
public void setChannel(String channel)
setChannel
in interface org.cometd.bayeux.Message.Mutable
public void setClientId(String clientId)
setClientId
in interface org.cometd.bayeux.Message.Mutable
public void setData(Object data)
setData
in interface org.cometd.bayeux.Message.Mutable
public void setId(String id)
setId
in interface org.cometd.bayeux.Message.Mutable
public void setSuccessful(boolean successful)
setSuccessful
in interface org.cometd.bayeux.Message.Mutable
Copyright © 2008–2023 The CometD Project. All rights reserved.