## Uses of Class
org.springframework.messaging.support.MessageHeaderAccessor

Packages that use MessageHeaderAccessor
org.springframework.messaging.simp: Generic support for Simple Messaging Protocols including protocols such as STOMP.
org.springframework.messaging.simp.stomp: Generic support for simple messaging protocols (like STOMP).
org.springframework.messaging.support: Provides implementations of `Message` along with a MessageBuilder and MessageHeaderAccessor for building and working with messages and message headers, as well as various `MessageChannel` implementations and channel interceptor support.

### Uses of MessageHeaderAccessor in org.springframework.messaging.simp

Subclasses of MessageHeaderAccessor in org.springframework.messaging.simp
`class` `SimpMessageHeaderAccessor` A base class for working with message headers in simple messaging protocols that support basic messaging patterns.

Methods in org.springframework.messaging.simp that return MessageHeaderAccessor
`protected MessageHeaderAccessor` SimpMessageHeaderAccessor.`createAccessor(Message<?> message)`

### Uses of MessageHeaderAccessor in org.springframework.messaging.simp.stomp

Subclasses of MessageHeaderAccessor in org.springframework.messaging.simp.stomp
`class` `StompHeaderAccessor` A `MessageHeaderAccessor` to use when creating a `Message` from a decoded STOMP frame, or when encoding a `Message` to a STOMP frame.

Methods in org.springframework.messaging.simp.stomp that return MessageHeaderAccessor
`protected MessageHeaderAccessor` StompHeaderAccessor.`createAccessor(Message<?> message)`

### Uses of MessageHeaderAccessor in org.springframework.messaging.support

Subclasses of MessageHeaderAccessor in org.springframework.messaging.support
`class` `NativeMessageHeaderAccessor` `MessageHeaderAccessor` sub-class that supports storage and access of headers from an external source such as a message broker.

Methods in org.springframework.messaging.support with type parameters of type MessageHeaderAccessor
`static <T extends MessageHeaderAccessor> T` MessageHeaderAccessor.`getAccessor(Message<?> message, Class<T> requiredType)` Return the original `MessageHeaderAccessor` used to create the headers of the given `Message`, or `null` if that's not available or if its type does not match the required type.
`static <T extends MessageHeaderAccessor> T` MessageHeaderAccessor.`getAccessor(MessageHeaders messageHeaders, Class<T> requiredType)` A variation of `getAccessor(org.springframework.messaging.Message, Class)` with a `MessageHeaders` instance instead of a `Message`.

Methods in org.springframework.messaging.support that return MessageHeaderAccessor
`protected MessageHeaderAccessor` MessageHeaderAccessor.`createAccessor(Message<?> message)` Build a 'nested' accessor for the given message.
`static MessageHeaderAccessor` MessageHeaderAccessor.`getAccessor(Message<?> message)` Return the original `MessageHeaderAccessor` used to create the headers of the given `Message`, or `null` if that's not available or if its type does not match the required type.
`static MessageHeaderAccessor` MessageHeaderAccessor.`getMutableAccessor(Message<?> message)` Return a mutable `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 `MessageHeaderAccessor` instance.

Methods in org.springframework.messaging.support with parameters of type MessageHeaderAccessor
`void` IdTimestampMessageHeaderInitializer.`initHeaders(MessageHeaderAccessor headerAccessor)`
`void` MessageHeaderInitializer.`initHeaders(MessageHeaderAccessor headerAccessor)` Initialize the given `MessageHeaderAccessor`.
`MessageBuilder<T>` MessageBuilder.`setHeaders(MessageHeaderAccessor accessor)` Set the message headers to use by providing a `MessageHeaderAccessor`.