Uses of Interface
org.springframework.messaging.support.MessageHeaderInitializer
Packages that use MessageHeaderInitializer Package Description org.springframework.messaging.simp Generic support for Simple Messaging Protocols including protocols such as STOMP.org.springframework.messaging.simp.annotation.support Support classes for handling messages from simple messaging protocols (like STOMP).org.springframework.messaging.simp.broker Provides a "simple" message broker implementation along with an abstract base class and other supporting types such as a registry for subscriptions.org.springframework.messaging.simp.stomp Generic support for simple messaging protocols (like STOMP).org.springframework.messaging.simp.user Support for handling messages to "user" destinations (i.e.org.springframework.messaging.support Provides implementations ofMessage
along with a MessageBuilder and MessageHeaderAccessor for building and working with messages and message headers, as well as variousMessageChannel
implementations and channel interceptor support.org.springframework.web.socket.messaging WebSocket integration for Spring's messaging module.Uses of MessageHeaderInitializer in org.springframework.messaging.simp
Methods in org.springframework.messaging.simp that return MessageHeaderInitializer Modifier and Type Method Description MessageHeaderInitializer
SimpMessagingTemplate. getHeaderInitializer()
Return the configured header initializer.Methods in org.springframework.messaging.simp with parameters of type MessageHeaderInitializer Modifier and Type Method Description void
SimpMessagingTemplate. setHeaderInitializer(MessageHeaderInitializer headerInitializer)
Configure aMessageHeaderInitializer
to apply to the headers of all messages created through theSimpMessagingTemplate
.Uses of MessageHeaderInitializer in org.springframework.messaging.simp.annotation.support
Methods in org.springframework.messaging.simp.annotation.support that return MessageHeaderInitializer Modifier and Type Method Description MessageHeaderInitializer
SendToMethodReturnValueHandler. getHeaderInitializer()
Return the configured header initializer.MessageHeaderInitializer
SimpAnnotationMethodMessageHandler. getHeaderInitializer()
Return the configured header initializer.MessageHeaderInitializer
SubscriptionMethodReturnValueHandler. getHeaderInitializer()
Return the configured header initializer.Methods in org.springframework.messaging.simp.annotation.support with parameters of type MessageHeaderInitializer Modifier and Type Method Description void
SendToMethodReturnValueHandler. setHeaderInitializer(MessageHeaderInitializer headerInitializer)
Configure aMessageHeaderInitializer
to apply to the headers of all messages sent to the client outbound channel.void
SimpAnnotationMethodMessageHandler. setHeaderInitializer(MessageHeaderInitializer headerInitializer)
Configure aMessageHeaderInitializer
to pass on toHandlerMethodReturnValueHandlers
that send messages from controller return values.void
SubscriptionMethodReturnValueHandler. setHeaderInitializer(MessageHeaderInitializer headerInitializer)
Configure aMessageHeaderInitializer
to apply to the headers of all messages sent to the client outbound channel.Uses of MessageHeaderInitializer in org.springframework.messaging.simp.broker
Methods in org.springframework.messaging.simp.broker that return MessageHeaderInitializer Modifier and Type Method Description MessageHeaderInitializer
SimpleBrokerMessageHandler. getHeaderInitializer()
Return the configured header initializer.Methods in org.springframework.messaging.simp.broker with parameters of type MessageHeaderInitializer Modifier and Type Method Description void
SimpleBrokerMessageHandler. setHeaderInitializer(MessageHeaderInitializer headerInitializer)
Configure aMessageHeaderInitializer
to apply to the headers of all messages sent to the client outbound channel.Uses of MessageHeaderInitializer in org.springframework.messaging.simp.stomp
Methods in org.springframework.messaging.simp.stomp that return MessageHeaderInitializer Modifier and Type Method Description MessageHeaderInitializer
StompBrokerRelayMessageHandler. getHeaderInitializer()
Return the configured header initializer.MessageHeaderInitializer
StompDecoder. getHeaderInitializer()
Return the configuredMessageHeaderInitializer
, if any.Methods in org.springframework.messaging.simp.stomp with parameters of type MessageHeaderInitializer Modifier and Type Method Description void
StompBrokerRelayMessageHandler. setHeaderInitializer(MessageHeaderInitializer headerInitializer)
Configure aMessageHeaderInitializer
to apply to the headers of all messages created through theStompBrokerRelayMessageHandler
that are sent to the client outbound message channel.void
StompDecoder. setHeaderInitializer(MessageHeaderInitializer headerInitializer)
Configure aMessageHeaderInitializer
to apply to the headers ofMessages
from decoded STOMP frames.Uses of MessageHeaderInitializer in org.springframework.messaging.simp.user
Methods in org.springframework.messaging.simp.user that return MessageHeaderInitializer Modifier and Type Method Description MessageHeaderInitializer
UserDestinationMessageHandler. getHeaderInitializer()
Return the configured header initializer.Methods in org.springframework.messaging.simp.user with parameters of type MessageHeaderInitializer Modifier and Type Method Description void
UserDestinationMessageHandler. setHeaderInitializer(MessageHeaderInitializer headerInitializer)
Configure a customMessageHeaderInitializer
to initialize the headers of resolved target messages.Uses of MessageHeaderInitializer in org.springframework.messaging.support
Classes in org.springframework.messaging.support that implement MessageHeaderInitializer Modifier and Type Class Description class
IdTimestampMessageHeaderInitializer
AMessageHeaderInitializer
to customize the strategy for ID and TIMESTAMP message header generation.Uses of MessageHeaderInitializer in org.springframework.web.socket.messaging
Methods in org.springframework.web.socket.messaging that return MessageHeaderInitializer Modifier and Type Method Description MessageHeaderInitializer
StompSubProtocolHandler. getHeaderInitializer()
Return the configured header initializer.Methods in org.springframework.web.socket.messaging with parameters of type MessageHeaderInitializer Modifier and Type Method Description void
StompSubProtocolHandler. setHeaderInitializer(MessageHeaderInitializer headerInitializer)
Configure aMessageHeaderInitializer
to apply to the headers of all messages created from decoded STOMP frames and other messages sent to the client inbound channel.