public interface InterceptableChannel
ChannelInterceptors
を維持し、メッセージ送信のインターセプトを可能にする MessageChannel
。修飾子と型 | メソッドと説明 |
---|---|
void | addInterceptor(ChannelInterceptor interceptor) リストの最後にチャネルインターセプターを追加します。 |
void | addInterceptor(int index, ChannelInterceptor interceptor) 指定したインデックスにチャネルインターセプターを追加します。 |
ListSE<ChannelInterceptor> | getInterceptors() 設定されたインターセプターのリストを返します。 |
boolean | removeInterceptor(ChannelInterceptor interceptor) 指定されたインターセプターを削除します。 |
ChannelInterceptor | removeInterceptor(int index) 指定されたインデックスにあるインターセプターを削除します。 |
void | setInterceptors(ListSE<ChannelInterceptor> interceptors) 既存のインターセプターをクリアするチャネルインターセプターのリストを設定します。 |
void setInterceptors(ListSE<ChannelInterceptor> interceptors)
void addInterceptor(ChannelInterceptor interceptor)
void addInterceptor(int index, ChannelInterceptor interceptor)
ListSE<ChannelInterceptor> getInterceptors()
boolean removeInterceptor(ChannelInterceptor interceptor)
ChannelInterceptor removeInterceptor(int index)