Uses of Interface
org.springframework.messaging.support.ChannelInterceptor
Packages that use ChannelInterceptor Package Description org.springframework.messaging.simp.config Configuration support for WebSocket messaging using higher level messaging protocols.org.springframework.messaging.support Provides implementations ofMessagealong with a MessageBuilder and MessageHeaderAccessor for building and working with messages and message headers, as well as variousMessageChannelimplementations 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 ChannelInterceptor Modifier and Type Method Description protected List<ChannelInterceptor>ChannelRegistration. getInterceptors()Methods in org.springframework.messaging.simp.config with parameters of type ChannelInterceptor Modifier and Type Method Description ChannelRegistrationChannelRegistration. interceptors(ChannelInterceptor... interceptors)Configure the given interceptors for this message channel, adding them to the channel's current list of interceptors.ChannelRegistrationChannelRegistration. setInterceptors(ChannelInterceptor... interceptors)Deprecated.as of 4.3.12, in favor ofChannelRegistration.interceptors(ChannelInterceptor...)Uses of ChannelInterceptor in org.springframework.messaging.support
Subinterfaces of ChannelInterceptor in org.springframework.messaging.support Modifier and Type Interface Description interfaceExecutorChannelInterceptorAn extension ofChannelInterceptorwith callbacks to intercept the asynchronous sending of aMessageto a specific subscriber through anExecutor.Classes in org.springframework.messaging.support that implement ChannelInterceptor Modifier and Type Class Description classChannelInterceptorAdapterDeprecated.as of 5.0.7ChannelInterceptorhas default methods (made possible by a Java 8 baseline) and can be implemented directly without the need for this no-op adapterclassImmutableMessageChannelInterceptorA simpler interceptor that callsMessageHeaderAccessor.setImmutable()on the headers of messages passed through the preSend method.Methods in org.springframework.messaging.support that return ChannelInterceptor Modifier and Type Method Description ChannelInterceptorAbstractMessageChannel. removeInterceptor(int index)ChannelInterceptorInterceptableChannel. removeInterceptor(int index)Remove the interceptor at the given index.Methods in org.springframework.messaging.support that return types with arguments of type ChannelInterceptor Modifier and Type Method Description List<ChannelInterceptor>AbstractMessageChannel. getInterceptors()List<ChannelInterceptor>InterceptableChannel. getInterceptors()Return the list of configured interceptors.Methods in org.springframework.messaging.support with parameters of type ChannelInterceptor Modifier and Type Method Description voidAbstractMessageChannel. addInterceptor(int index, ChannelInterceptor interceptor)voidAbstractMessageChannel. addInterceptor(ChannelInterceptor interceptor)voidExecutorSubscribableChannel. addInterceptor(int index, ChannelInterceptor interceptor)voidExecutorSubscribableChannel. addInterceptor(ChannelInterceptor interceptor)voidInterceptableChannel. addInterceptor(int index, ChannelInterceptor interceptor)Add a channel interceptor at the specified index.voidInterceptableChannel. addInterceptor(ChannelInterceptor interceptor)Add a channel interceptor to the end of the list.booleanAbstractMessageChannel. removeInterceptor(ChannelInterceptor interceptor)booleanInterceptableChannel. removeInterceptor(ChannelInterceptor interceptor)Remove the given interceptor.Method parameters in org.springframework.messaging.support with type arguments of type ChannelInterceptor Modifier and Type Method Description voidAbstractMessageChannel. setInterceptors(List<ChannelInterceptor> interceptors)voidExecutorSubscribableChannel. setInterceptors(List<ChannelInterceptor> interceptors)voidInterceptableChannel. setInterceptors(List<ChannelInterceptor> interceptors)Set the list of channel interceptors clearing any existing interceptors.