クラス RSockets
java.lang.ObjectSE
org.springframework.integration.rsocket.dsl.RSockets
RSocket コンポーネントファクトリ。
- 導入:
- 5.2
- 作成者:
- Artem Bilan
方法の概要
修飾子と型メソッド説明static RSocketInboundGatewaySpecinboundGateway(StringSE... path) マッピング用に提供されたpath配列に基づいて、リクエスト / 応答リアクティブゲートウェイ用のRSocketInboundGatewaySpecビルダーを作成します。static RSocketOutboundGatewaySpecoutboundGateway(StringSE route, ObjectSE... routeVariables) 提供されたrouteとオプションの変数に基づいて、リクエスト / 応答ゲートウェイ用のRSocketOutboundGatewaySpecビルダーを作成し、ルートテンプレートを展開します。static <P> RSocketOutboundGatewaySpecoutboundGateway(FunctionSE<Message<P>, ?> routeFunction) 提供されたFunctionに基づいてリクエスト応答ゲートウェイ用のRSocketOutboundGatewaySpecビルダーを作成し、リクエストメッセージに対してターゲットrouteを評価します。static RSocketOutboundGatewaySpecoutboundGateway(Expression routeExpression) 提供された SpELExpressionに基づいてリクエスト応答ゲートウェイ用のRSocketOutboundGatewaySpecビルダーを作成し、リクエストメッセージに対してターゲットrouteを評価します。
方法の詳細
outboundGateway
public static RSocketOutboundGatewaySpec outboundGateway(StringSE route, ObjectSE... routeVariables) 提供されたrouteとオプションの変数に基づいて、リクエスト / 応答ゲートウェイ用のRSocketOutboundGatewaySpecビルダーを作成し、ルートテンプレートを展開します。- パラメーター:
route- リクエストを送信するroute。routeVariables- ルートテンプレートを展開する変数。- 戻り値:
- RSocketOutboundGatewaySpec インスタンス
outboundGateway
public static <P> RSocketOutboundGatewaySpec outboundGateway(FunctionSE<Message<P>, ?> routeFunction) 提供されたFunctionに基づいてリクエスト応答ゲートウェイ用のRSocketOutboundGatewaySpecビルダーを作成し、リクエストメッセージに対してターゲットrouteを評価します。- 型パラメーター:
P- 予想されるペイロード型。- パラメーター:
routeFunction- 実行時にrouteを評価するためのFunction。- 戻り値:
- RSocketOutboundGatewaySpec インスタンス
outboundGateway
提供された SpELExpressionに基づいてリクエスト応答ゲートウェイ用のRSocketOutboundGatewaySpecビルダーを作成し、リクエストメッセージに対してターゲットrouteを評価します。- パラメーター:
routeExpression- SpELExpressionは、実行時にrouteを評価します。- 戻り値:
- RSocketOutboundGatewaySpec インスタンス
inboundGateway
マッピング用に提供されたpath配列に基づいて、リクエスト / 応答リアクティブゲートウェイ用のRSocketInboundGatewaySpecビルダーを作成します。- パラメーター:
path- パスマッピング URI (例: "/myPath.do")。- 戻り値:
- RSocketInboundGatewaySpec インスタンス