Uses of Interface
org.springframework.messaging.support.MessageHeaderInitializer
Package
Description
Generic support for Simple Messaging Protocols including protocols such as STOMP.
Support classes for handling messages from simple messaging protocols
(like STOMP).
Provides a "simple" message broker implementation along with an abstract base
class and other supporting types such as a registry for subscriptions.
Generic support for simple messaging protocols (like STOMP).
Support for handling messages to "user" destinations (i.e.
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.WebSocket integration for Spring's messaging module.
-
Uses of MessageHeaderInitializer in org.springframework.messaging.simp
Modifier and TypeMethodDescriptionSimpMessagingTemplate.getHeaderInitializer()
Return the configured header initializer.Modifier and TypeMethodDescriptionvoid
SimpMessagingTemplate.setHeaderInitializer
(@Nullable 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
Modifier and TypeMethodDescriptionSendToMethodReturnValueHandler.getHeaderInitializer()
Return the configured header initializer.SimpAnnotationMethodMessageHandler.getHeaderInitializer()
Return the configured header initializer.SubscriptionMethodReturnValueHandler.getHeaderInitializer()
Return the configured header initializer.Modifier and TypeMethodDescriptionvoid
SendToMethodReturnValueHandler.setHeaderInitializer
(@Nullable MessageHeaderInitializer headerInitializer) Configure aMessageHeaderInitializer
to apply to the headers of all messages sent to the client outbound channel.void
SimpAnnotationMethodMessageHandler.setHeaderInitializer
(@Nullable MessageHeaderInitializer headerInitializer) Configure aMessageHeaderInitializer
to pass on toHandlerMethodReturnValueHandlers
that send messages from controller return values.void
SubscriptionMethodReturnValueHandler.setHeaderInitializer
(@Nullable 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
Modifier and TypeMethodDescriptionSimpleBrokerMessageHandler.getHeaderInitializer()
Return the configured header initializer.Modifier and TypeMethodDescriptionvoid
SimpleBrokerMessageHandler.setHeaderInitializer
(@Nullable 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
Modifier and TypeMethodDescriptionStompBrokerRelayMessageHandler.getHeaderInitializer()
Return the configured header initializer.StompDecoder.getHeaderInitializer()
Return the configuredMessageHeaderInitializer
, if any.Modifier and TypeMethodDescriptionvoid
StompBrokerRelayMessageHandler.setHeaderInitializer
(@Nullable 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
(@Nullable MessageHeaderInitializer headerInitializer) Configure aMessageHeaderInitializer
to apply to the headers ofMessages
from decoded STOMP frames. -
Uses of MessageHeaderInitializer in org.springframework.messaging.simp.user
Modifier and TypeMethodDescriptionUserDestinationMessageHandler.getHeaderInitializer()
Return the configured header initializer.Modifier and TypeMethodDescriptionvoid
UserDestinationMessageHandler.setHeaderInitializer
(@Nullable MessageHeaderInitializer headerInitializer) Configure a customMessageHeaderInitializer
to initialize the headers of resolved target messages. -
Uses of MessageHeaderInitializer in org.springframework.messaging.support
Modifier and TypeClassDescriptionclass
AMessageHeaderInitializer
to customize the strategy for ID and TIMESTAMP message header generation. -
Uses of MessageHeaderInitializer in org.springframework.web.socket.messaging
Modifier and TypeMethodDescriptionStompSubProtocolHandler.getHeaderInitializer()
Return the configured header initializer.Modifier and TypeMethodDescriptionvoid
StompSubProtocolHandler.setHeaderInitializer
(@Nullable 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.