Class MessageUtils
java.lang.Object
org.springframework.cloud.function.context.message.MessageUtils
- Author:
- Dave Syer, Oleg Zhurakousky
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class!!! INTERNAL USE ONLY, MAY CHANGE OR REMOVED WITHOUT NOTICE!!! -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoCaseInsensitiveHeadersStructure(org.springframework.messaging.Message<?> message) Returns (payload, headers) structure identical to `message` while substituting headers with case insensitive map.
-
Field Details
-
MESSAGE_TYPE
Value for 'message-type' typically use as header key. -
TARGET_PROTOCOL
Value for 'target-protocol' typically use as header key. -
SOURCE_TYPE
Value for 'target-protocol' typically use as header key.
-
-
Constructor Details
-
MessageUtils
public MessageUtils()
-
-
Method Details
-
toCaseInsensitiveHeadersStructure
public static MessageUtils.MessageStructureWithCaseInsensitiveHeaderKeys toCaseInsensitiveHeadersStructure(org.springframework.messaging.Message<?> message) Returns (payload, headers) structure identical to `message` while substituting headers with case insensitive map.
-