Uses of Interface
org.springframework.messaging.support.ChannelInterceptor
Packages that use 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
Methods in org.springframework.messaging.simp.config that return types with arguments of type ChannelInterceptorModifier and TypeMethodDescriptionprotected List<ChannelInterceptor>
ChannelRegistration.getInterceptors()
Methods in org.springframework.messaging.simp.config with parameters of type ChannelInterceptorModifier 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
Subinterfaces of ChannelInterceptor in org.springframework.messaging.supportModifier and TypeInterfaceDescriptioninterface
An extension ofChannelInterceptor
with callbacks to intercept the asynchronous sending of aMessage
to a specific subscriber through anExecutor
.Classes in org.springframework.messaging.support that implement ChannelInterceptorModifier and TypeClassDescriptionclass
A simpler interceptor that callsMessageHeaderAccessor.setImmutable()
on the headers of messages passed through the preSend method.Methods in org.springframework.messaging.support that return ChannelInterceptorModifier and TypeMethodDescriptionAbstractMessageChannel.removeInterceptor
(int index) InterceptableChannel.removeInterceptor
(int index) Remove the interceptor at the given index.Methods in org.springframework.messaging.support that return types with arguments of type ChannelInterceptorModifier and TypeMethodDescriptionAbstractMessageChannel.getInterceptors()
InterceptableChannel.getInterceptors()
Return the list of configured interceptors.Methods in org.springframework.messaging.support with parameters of type ChannelInterceptorModifier 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.Method parameters in org.springframework.messaging.support with type arguments of type ChannelInterceptorModifier 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.