クラスの使用
org.springframework.integration.grpc.dsl.GrpcOutboundGatewaySpec
GrpcOutboundGatewaySpec を使用するパッケージ
パッケージ
説明
Spring Integration Java DSL 用の gRPC コンポーネントサポートを提供します
org.springframework.integration.grpc.dsl 内の GrpcOutboundGatewaySpec 使用
org.springframework.integration.grpc.dsl 内の型引数 GrpcOutboundGatewaySpec を持つサブクラス修飾子と型メソッド説明GrpcOutboundGatewaySpec.callOptions(io.grpc.CallOptions callOptions) gRPC 呼び出しのCallOptionsを設定します。GrpcOutboundGatewaySpec.methodName(StringSE methodName) 呼び出す gRPC メソッドの名前を設定します。GrpcOutboundGatewaySpec.methodNameExpression(StringSE methodNameSpelExpression) メソッド名を解決するための Spel 式を設定します。GrpcOutboundGatewaySpec.methodNameExpression(Expression methodNameExpression) 実行時に gRPC メソッド名を解決するために、Expressionを設定します。GrpcOutboundGatewaySpec.methodNameFunction(FunctionSE<Message<?>, StringSE> methodNameFunction) メソッド名の解決には FunctionExpression を設定します。static GrpcOutboundGatewaySpecGrpc.outboundGateway(io.grpc.Channel channel, ClassSE<?> grpcServiceClass) 発信ゲートウェイ用にGrpcOutboundGatewaySpecを作成します。