Class MutableMessageHeaders
java.lang.Object
org.springframework.messaging.MessageHeaders
org.springframework.integration.support.MutableMessageHeaders
- All Implemented Interfaces:
Serializable
,Map<String,Object>
public class MutableMessageHeaders extends MessageHeaders
A MessageHeaders that permits direct access to and modification of the
header map.
- Since:
- 4.2
- Author:
- Stuart Williams, David Turanski, Artem Bilan, Nathan Kurtyka
- See Also:
- Serialized Form
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.springframework.messaging.MessageHeaders
CONTENT_TYPE, ERROR_CHANNEL, ID, ID_VALUE_NONE, REPLY_CHANNEL, TIMESTAMP
-
Constructor Summary
Constructors Modifier Constructor Description MutableMessageHeaders(Map<String,Object> headers)
protected
MutableMessageHeaders(Map<String,Object> headers, UUID id, Long timestamp)
-
Method Summary
Methods inherited from class org.springframework.messaging.MessageHeaders
containsKey, containsValue, entrySet, equals, get, get, getErrorChannel, getId, getIdGenerator, getReplyChannel, getTimestamp, hashCode, isEmpty, keySet, size, toString, values
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
Method Details
-
getRawHeaders
- Overrides:
getRawHeaders
in classMessageHeaders
-
putAll
-
put
-
clear
public void clear() -
remove
-