クラス ClientInterceptorsConfigurer

java.lang.ObjectSE
org.springframework.grpc.client.ClientInterceptorsConfigurer
実装済みのインターフェース一覧:
org.springframework.beans.factory.InitializingBean

public class ClientInterceptorsConfigurer extends ObjectSE implements org.springframework.beans.factory.InitializingBean
ManagedChannelBuilder にクライアントインターセプターを設定します。
作成者:
Chris Bono, Andrey Litvitski
  • コンストラクターの詳細

    • ClientInterceptorsConfigurer

      public ClientInterceptorsConfigurer(org.springframework.context.ApplicationContext applicationContext)
  • 方法の詳細

    • configureInterceptors

      protected void configureInterceptors(io.grpc.ManagedChannelBuilder<?> builder, ListSE<io.grpc.ClientInterceptor> interceptors, boolean mergeWithGlobalInterceptors, GrpcChannelFactory factory)
      ManagedChannelBuilder にクライアントインターセプターを設定します。
      パラメーター:
      builder - 構成するビルダー
      interceptors - チャネルに適用されるインターセプターの非 null リスト
      mergeWithGlobalInterceptors - 提供されたインターセプターをグローバルインターセプターと混合すべきかどうか。
      factory - グローバルインターセプターをフィルタリングするために使用されるチャネルファクトリ
    • afterPropertiesSet

      public void afterPropertiesSet()
      次で指定:
      インターフェース org.springframework.beans.factory.InitializingBean 内の afterPropertiesSet