Package | Description |
---|---|
org.springframework.messaging.simp.config |
Configuration support for WebSocket messaging using higher level messaging protocols.
|
org.springframework.messaging.support |
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. |
Modifier and Type | Method and Description |
---|---|
protected List<ChannelInterceptor> |
ChannelRegistration.getInterceptors() |
Modifier and Type | Method and Description |
---|---|
ChannelRegistration |
ChannelRegistration.interceptors(ChannelInterceptor... interceptors)
Configure the given interceptors for this message channel,
adding them to the channel's current list of interceptors.
|
ChannelRegistration |
ChannelRegistration.setInterceptors(ChannelInterceptor... interceptors)
Deprecated.
as of 4.3.12, in favor of
ChannelRegistration.interceptors(ChannelInterceptor...) |
Modifier and Type | Interface and Description |
---|---|
interface |
ExecutorChannelInterceptor
An extension of
ChannelInterceptor with callbacks to intercept the
asynchronous sending of a Message to
a specific subscriber through an Executor . |
Modifier and Type | Class and Description |
---|---|
class |
ChannelInterceptorAdapter
Deprecated.
as of 5.0.7
ChannelInterceptor has default methods (made
possible by a Java 8 baseline) and can be implemented directly without the
need for this no-op adapter |
class |
ImmutableMessageChannelInterceptor
A simpler interceptor that calls
MessageHeaderAccessor.setImmutable()
on the headers of messages passed through the preSend method. |
Modifier and Type | Method and Description |
---|---|
ChannelInterceptor |
AbstractMessageChannel.removeInterceptor(int index) |
ChannelInterceptor |
InterceptableChannel.removeInterceptor(int index)
Remove the interceptor at the given index.
|
Modifier and Type | Method and Description |
---|---|
List<ChannelInterceptor> |
AbstractMessageChannel.getInterceptors() |
List<ChannelInterceptor> |
InterceptableChannel.getInterceptors()
Return the list of configured interceptors.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractMessageChannel.addInterceptor(ChannelInterceptor interceptor) |
void |
InterceptableChannel.addInterceptor(ChannelInterceptor interceptor)
Add a channel interceptor to the end of the list.
|
void |
ExecutorSubscribableChannel.addInterceptor(ChannelInterceptor interceptor) |
void |
AbstractMessageChannel.addInterceptor(int index,
ChannelInterceptor interceptor) |
void |
InterceptableChannel.addInterceptor(int index,
ChannelInterceptor interceptor)
Add a channel interceptor at the specified index.
|
void |
ExecutorSubscribableChannel.addInterceptor(int index,
ChannelInterceptor interceptor) |
boolean |
AbstractMessageChannel.removeInterceptor(ChannelInterceptor interceptor) |
boolean |
InterceptableChannel.removeInterceptor(ChannelInterceptor interceptor)
Remove the given interceptor.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractMessageChannel.setInterceptors(List<ChannelInterceptor> interceptors) |
void |
InterceptableChannel.setInterceptors(List<ChannelInterceptor> interceptors)
Set the list of channel interceptors clearing any existing interceptors.
|
void |
ExecutorSubscribableChannel.setInterceptors(List<ChannelInterceptor> interceptors) |