インターフェース InterceptableChannel

すべての既知の実装クラス:
AbstractMessageChannelAbstractSubscribableChannelExecutorSubscribableChannel

public interface InterceptableChannel
リスト ChannelInterceptors を維持し、メッセージ送信のインターセプトを可能にする MessageChannel
導入:
4.1
作成者:
Rossen Stoyanchev
  • メソッドの詳細

    • setInterceptors

      void setInterceptors(ListSE<ChannelInterceptor> interceptors)
      既存のインターセプターをクリアするチャネルインターセプターのリストを設定します。
    • addInterceptor

      void addInterceptor(ChannelInterceptor interceptor)
      リストの最後にチャネルインターセプターを追加します。
    • addInterceptor

      void addInterceptor(int index, ChannelInterceptor interceptor)
      指定したインデックスにチャネルインターセプターを追加します。
    • getInterceptors

      ListSE<ChannelInterceptor> getInterceptors()
      設定されたインターセプターのリストを返します。
    • removeInterceptor

      boolean removeInterceptor(ChannelInterceptor interceptor)
      指定されたインターセプターを削除します。
    • removeInterceptor

      ChannelInterceptor removeInterceptor(int index)
      指定されたインデックスにあるインターセプターを削除します。