Added Methods |
MessageHeaderAccessor createAccessor(Message<?> )
|
|
MessageHeaderAccessor getAccessor(Message<?>, Class<T>)
|
Return the original {@code MessageHeaderAccessor} used to create the headers
of the given {@code Message}, or {@code null} if that's not available or if
its type does not match the required type. |
MessageHeaderAccessor getAccessor(MessageHeaders, Class<T>)
|
A variation of .getAccessor(org.springframework.messaging.Message, Class)
with a {@code MessageHeaders} instance instead of a {@code Message}. |
String getDetailedLogMessage(Object )
|
Return a more detailed message for logging purposes. |
String getDetailedPayloadLogMessage(Object )
|
|
MessageHeaders getMessageHeaders()
|
Return the underlying {@code MessageHeaders} instance. |
MessageHeaderAccessor getMutableAccessor(Message<?> )
|
Return a mutable {@code MessageHeaderAccessor} for the given message attempting
to match the type of accessor used to create the message headers, or otherwise
wrapping the message with a {@code MessageHeaderAccessor} instance. |
String getShortLogMessage(Object )
|
Return a concise message for logging purposes. |
String getShortPayloadLogMessage(Object )
|
|
boolean isMutable()
|
Whether the underlying headers can still be modified. |
boolean isReadableContentType()
|
|
void setImmutable()
|
By default when .getMessageHeaders() is called, {@code "this"}
{@code MessageHeaderAccessor} instance can no longer be used to modify the
underlying message headers. |
void setLeaveMutable(boolean )
|
By default when .getMessageHeaders() is called, {@code "this"}
{@code MessageHeaderAccessor} instance can no longer be used to modify the
underlying message headers and the returned {@code MessageHeaders} is immutable. |
void setModified(boolean )
|
|