Uses of Interface
org.springframework.messaging.support.ChannelInterceptor
Package
Description
Configuration support for WebSocket messaging using higher level messaging protocols.
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 ChannelInterceptor in org.springframework.messaging.simp.config
Modifier and TypeMethodDescriptionprotected List<ChannelInterceptor>
ChannelRegistration.getInterceptors()
Modifier and TypeMethodDescriptionChannelRegistration.interceptors
(ChannelInterceptor... interceptors) Configure the given interceptors for this message channel, adding them to the channel's current list of interceptors. -
Uses of ChannelInterceptor in org.springframework.messaging.support
Modifier and TypeInterfaceDescriptioninterface
An extension ofChannelInterceptor
with callbacks to intercept the asynchronous sending of aMessage
to a specific subscriber through anExecutor
.Modifier and TypeClassDescriptionclass
A simpler interceptor that callsMessageHeaderAccessor.setImmutable()
on the headers of messages passed through the preSend method.Modifier and TypeMethodDescriptionAbstractMessageChannel.removeInterceptor
(int index) InterceptableChannel.removeInterceptor
(int index) Remove the interceptor at the given index.Modifier and TypeMethodDescriptionAbstractMessageChannel.getInterceptors()
InterceptableChannel.getInterceptors()
Return the list of configured interceptors.Modifier and TypeMethodDescriptionvoid
AbstractMessageChannel.addInterceptor
(int index, ChannelInterceptor interceptor) void
AbstractMessageChannel.addInterceptor
(ChannelInterceptor interceptor) void
ExecutorSubscribableChannel.addInterceptor
(int index, ChannelInterceptor interceptor) void
ExecutorSubscribableChannel.addInterceptor
(ChannelInterceptor interceptor) void
InterceptableChannel.addInterceptor
(int index, ChannelInterceptor interceptor) Add a channel interceptor at the specified index.void
InterceptableChannel.addInterceptor
(ChannelInterceptor interceptor) Add a channel interceptor to the end of the list.boolean
AbstractMessageChannel.removeInterceptor
(ChannelInterceptor interceptor) boolean
InterceptableChannel.removeInterceptor
(ChannelInterceptor interceptor) Remove the given interceptor.Modifier and TypeMethodDescriptionvoid
AbstractMessageChannel.setInterceptors
(List<ChannelInterceptor> interceptors) void
ExecutorSubscribableChannel.setInterceptors
(List<ChannelInterceptor> interceptors) void
InterceptableChannel.setInterceptors
(List<ChannelInterceptor> interceptors) Set the list of channel interceptors clearing any existing interceptors.