MessageChannel that
maintains a list ChannelInterceptors and allows interception of message sending.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | addInterceptor(int index, ChannelInterceptor interceptor)
Add a channel interceptor at the specified index. |
| public List | |
| public boolean | |
| public ChannelInterceptor | |
| public void | setInterceptors(List<ChannelInterceptor> interceptors)
Set the list of channel interceptors clearing any existing interceptors. |
| addInterceptor | back to summary |
|---|---|
| public void addInterceptor(ChannelInterceptor interceptor) Add a channel interceptor to the end of the list. | |
| addInterceptor | back to summary |
|---|---|
| public void addInterceptor(int index, ChannelInterceptor interceptor) Add a channel interceptor at the specified index. | |
| getInterceptors | back to summary |
|---|---|
| public List Return the list of configured interceptors. | |
| removeInterceptor | back to summary |
|---|---|
| public boolean removeInterceptor(ChannelInterceptor interceptor) Remove the given interceptor. | |
| removeInterceptor | back to summary |
|---|---|
| public ChannelInterceptor removeInterceptor(int index) Remove the interceptor at the given index. | |
| setInterceptors | back to summary |
|---|---|
| public void setInterceptors(List<ChannelInterceptor> interceptors) Set the list of channel interceptors clearing any existing interceptors. | |