クラス 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(org.springframework.context.ApplicationContext applicationContext) 方法の概要
修飾子と型メソッド説明voidprotected voidconfigureInterceptors(io.grpc.ManagedChannelBuilder<?> builder, ListSE<io.grpc.ClientInterceptor> interceptors, boolean mergeWithGlobalInterceptors, GrpcChannelFactory factory) ManagedChannelBuilderにクライアントインターセプターを設定します。
コンストラクターの詳細
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