クラス Http
java.lang.ObjectSE
org.springframework.integration.http.dsl.Http
HTTP コンポーネントファクトリ。
- 導入:
- 5.0
- 作成者:
- Artem Bilan, Shiliang Li
メソッドのサマリー
修飾子と型メソッド説明inboundChannelAdapter
(StringSE... path) マッピング用に提供されたpath
配列に基づいて、一方向アダプター用のHttpRequestHandlerEndpointSpec
ビルダーを作成します。static HttpControllerEndpointSpec
inboundControllerAdapter
(StringSE viewName, StringSE... path) static HttpControllerEndpointSpec
inboundControllerAdapter
(Expression viewExpression, StringSE... path) 提供された SpEL 式とマッピング用のpath
配列に基づいて、一方向アダプター用のHttpControllerEndpointSpec
ビルダーを作成します。static HttpControllerEndpointSpec
inboundControllerGateway
(StringSE viewName, StringSE... path) static HttpControllerEndpointSpec
inboundControllerGateway
(Expression viewExpression, StringSE... path) 提供された SpEL 式とマッピング用のpath
配列に基づいて、リクエスト / 応答ゲートウェイ用のHttpControllerEndpointSpec
ビルダーを作成します。inboundGateway
(StringSE... path) マッピング用に提供されたpath
配列に基づいて、リクエスト応答ゲートウェイ用のHttpRequestHandlerEndpointSpec
ビルダーを作成します。static HttpMessageHandlerSpec
提供されたuri
に基づいて、一方向アダプター用のHttpMessageHandlerSpec
ビルダーを作成します。static HttpMessageHandlerSpec
outboundChannelAdapter
(StringSE uri, RestTemplate restTemplate) static HttpMessageHandlerSpec
提供されたURI
SE に基づいて、一方向アダプター用のHttpMessageHandlerSpec
ビルダーを作成します。static HttpMessageHandlerSpec
outboundChannelAdapter
(URISE uri, RestTemplate restTemplate) static <P> HttpMessageHandlerSpec
outboundChannelAdapter
(FunctionSE<Message<P>, ?> uriFunction) static <P> HttpMessageHandlerSpec
outboundChannelAdapter
(FunctionSE<Message<P>, ?> uriFunction, RestTemplate restTemplate) 提供されたFunction
に基づいて一方向アダプター用のHttpMessageHandlerSpec
ビルダーを作成し、リクエストメッセージおよび HTTP 交換用のRestTemplate
に対してターゲットuri
を評価します。static HttpMessageHandlerSpec
outboundChannelAdapter
(Expression uriExpression) 提供された SpELExpression
に基づいて一方向アダプター用のHttpMessageHandlerSpec
ビルダーを作成し、リクエストメッセージに対してターゲットuri
を評価します。static HttpMessageHandlerSpec
outboundChannelAdapter
(Expression uriExpression, RestTemplate restTemplate) 提供された SpELExpression
に基づいて一方向アダプター用のHttpMessageHandlerSpec
ビルダーを作成し、リクエストメッセージに対してuri
を評価し、HTTP 交換のためにRestTemplate
を評価します。static HttpMessageHandlerSpec
outboundGateway
(StringSE uri) 提供されたuri
に基づいて、リクエスト / 応答ゲートウェイ用のHttpMessageHandlerSpec
ビルダーを作成します。static HttpMessageHandlerSpec
outboundGateway
(StringSE uri, RestTemplate restTemplate) static HttpMessageHandlerSpec
outboundGateway
(URISE uri) 提供されたURI
SE に基づいて、リクエスト / 応答ゲートウェイ用のHttpMessageHandlerSpec
ビルダーを作成します。static HttpMessageHandlerSpec
outboundGateway
(URISE uri, RestTemplate restTemplate) static <P> HttpMessageHandlerSpec
outboundGateway
(FunctionSE<Message<P>, ?> uriFunction) static <P> HttpMessageHandlerSpec
outboundGateway
(FunctionSE<Message<P>, ?> uriFunction, RestTemplate restTemplate) 提供されたFunction
に基づいてリクエスト応答ゲートウェイ用のHttpMessageHandlerSpec
ビルダーを作成し、リクエストメッセージおよび HTTP 交換のRestTemplate
に対してターゲットuri
を評価します。static HttpMessageHandlerSpec
outboundGateway
(Expression uriExpression) 提供された SpELExpression
に基づいてリクエスト応答ゲートウェイ用のHttpMessageHandlerSpec
ビルダーを作成し、リクエストメッセージに対してターゲットuri
を評価します。static HttpMessageHandlerSpec
outboundGateway
(Expression uriExpression, RestTemplate restTemplate) 提供された SpELExpression
に基づいてリクエスト / 応答ゲートウェイ用のHttpMessageHandlerSpec
ビルダーを作成し、リクエストメッセージおよび HTTP 交換用のRestTemplate
に対してターゲットuri
を評価します。
メソッドの詳細
outboundChannelAdapter
提供されたURI
SE に基づいて、一方向アダプター用のHttpMessageHandlerSpec
ビルダーを作成します。- パラメーター:
uri
- リクエストを送信するURI
SE。- 戻り値:
- HttpMessageHandlerSpec インスタンス
outboundChannelAdapter
提供されたuri
に基づいて、一方向アダプター用のHttpMessageHandlerSpec
ビルダーを作成します。- パラメーター:
uri
- リクエストを送信するuri
。- 戻り値:
- HttpMessageHandlerSpec インスタンス
outboundChannelAdapter
public static <P> HttpMessageHandlerSpec outboundChannelAdapter(FunctionSE<Message<P>, ?> uriFunction) - 型パラメーター:
P
- 予想されるペイロード型。- パラメーター:
uriFunction
- 実行時にuri
を評価するためのFunction
。- 戻り値:
- HttpMessageHandlerSpec インスタンス
outboundChannelAdapter
提供された SpELExpression
に基づいて一方向アダプター用のHttpMessageHandlerSpec
ビルダーを作成し、リクエストメッセージに対してターゲットuri
を評価します。- パラメーター:
uriExpression
- SpELExpression
は、実行時にuri
を評価します。- 戻り値:
- HttpMessageHandlerSpec インスタンス
outboundChannelAdapter
public static HttpMessageHandlerSpec outboundChannelAdapter(URISE uri, @Nullable RestTemplate restTemplate) - パラメーター:
uri
- リクエストを送信するURI
SE。restTemplate
- 使用するRestTemplate
。- 戻り値:
- HttpMessageHandlerSpec インスタンス
outboundChannelAdapter
public static HttpMessageHandlerSpec outboundChannelAdapter(StringSE uri, @Nullable RestTemplate restTemplate) - パラメーター:
uri
- リクエストを送信するuri
。restTemplate
- 使用するRestTemplate
。- 戻り値:
- HttpMessageHandlerSpec インスタンス
outboundChannelAdapter
public static <P> HttpMessageHandlerSpec outboundChannelAdapter(FunctionSE<Message<P>, ?> uriFunction, RestTemplate restTemplate) 提供されたFunction
に基づいて一方向アダプター用のHttpMessageHandlerSpec
ビルダーを作成し、リクエストメッセージおよび HTTP 交換用のRestTemplate
に対してターゲットuri
を評価します。- 型パラメーター:
P
- 予想されるペイロード型。- パラメーター:
uriFunction
- 実行時にuri
を評価するためのFunction
。restTemplate
- 使用するRestTemplate
。- 戻り値:
- HttpMessageHandlerSpec インスタンス
outboundChannelAdapter
public static HttpMessageHandlerSpec outboundChannelAdapter(Expression uriExpression, @Nullable RestTemplate restTemplate) 提供された SpELExpression
に基づいて一方向アダプター用のHttpMessageHandlerSpec
ビルダーを作成し、リクエストメッセージに対してuri
を評価し、HTTP 交換のためにRestTemplate
を評価します。- パラメーター:
uriExpression
- SpELExpression
は、実行時にuri
を評価します。restTemplate
- 使用するRestTemplate
。- 戻り値:
- HttpMessageHandlerSpec インスタンス
outboundGateway
提供されたURI
SE に基づいて、リクエスト / 応答ゲートウェイ用のHttpMessageHandlerSpec
ビルダーを作成します。- パラメーター:
uri
- リクエストを送信するURI
SE。- 戻り値:
- HttpMessageHandlerSpec インスタンス
outboundGateway
提供されたuri
に基づいて、リクエスト / 応答ゲートウェイ用のHttpMessageHandlerSpec
ビルダーを作成します。- パラメーター:
uri
- リクエストを送信するuri
。- 戻り値:
- HttpMessageHandlerSpec インスタンス
outboundGateway
- 型パラメーター:
P
- 予想されるペイロード型。- パラメーター:
uriFunction
- 実行時にuri
を評価するためのFunction
。- 戻り値:
- HttpMessageHandlerSpec インスタンス
outboundGateway
提供された SpELExpression
に基づいてリクエスト応答ゲートウェイ用のHttpMessageHandlerSpec
ビルダーを作成し、リクエストメッセージに対してターゲットuri
を評価します。- パラメーター:
uriExpression
- SpELExpression
は、実行時にuri
を評価します。- 戻り値:
- HttpMessageHandlerSpec インスタンス
outboundGateway
public static HttpMessageHandlerSpec outboundGateway(URISE uri, @Nullable RestTemplate restTemplate) - パラメーター:
uri
- リクエストを送信するURI
SE。restTemplate
- 使用するRestTemplate
。- 戻り値:
- HttpMessageHandlerSpec インスタンス
outboundGateway
public static HttpMessageHandlerSpec outboundGateway(StringSE uri, @Nullable RestTemplate restTemplate) - パラメーター:
uri
- リクエストを送信するuri
。restTemplate
- 使用するRestTemplate
。- 戻り値:
- HttpMessageHandlerSpec インスタンス
outboundGateway
public static <P> HttpMessageHandlerSpec outboundGateway(FunctionSE<Message<P>, ?> uriFunction, RestTemplate restTemplate) 提供されたFunction
に基づいてリクエスト応答ゲートウェイ用のHttpMessageHandlerSpec
ビルダーを作成し、リクエストメッセージおよび HTTP 交換のRestTemplate
に対してターゲットuri
を評価します。- 型パラメーター:
P
- 予想されるペイロード型。- パラメーター:
uriFunction
- 実行時にuri
を評価するためのFunction
。restTemplate
- 使用するRestTemplate
。- 戻り値:
- HttpMessageHandlerSpec インスタンス
outboundGateway
public static HttpMessageHandlerSpec outboundGateway(Expression uriExpression, @Nullable RestTemplate restTemplate) 提供された SpELExpression
に基づいてリクエスト / 応答ゲートウェイ用のHttpMessageHandlerSpec
ビルダーを作成し、リクエストメッセージおよび HTTP 交換用のRestTemplate
に対してターゲットuri
を評価します。- パラメーター:
uriExpression
- SpELExpression
は、実行時にuri
を評価します。restTemplate
- 使用するRestTemplate
。- 戻り値:
- HttpMessageHandlerSpec インスタンス
inboundControllerAdapter
public static HttpControllerEndpointSpec inboundControllerAdapter(StringSE viewName, StringSE... path) - パラメーター:
viewName
- リクエストの最後に構築する MVC ビュー名。path
- パスマッピング URI (例: "/myPath.do")。- 戻り値:
- HttpControllerEndpointSpec インスタンス
inboundControllerAdapter
public static HttpControllerEndpointSpec inboundControllerAdapter(Expression viewExpression, StringSE... path) 提供された SpEL 式とマッピング用のpath
配列に基づいて、一方向アダプター用のHttpControllerEndpointSpec
ビルダーを作成します。- パラメーター:
viewExpression
- リクエストの最後にビルドする MVC ビュー名を評価する SpEL 式。path
- パスマッピング URI (例: "/myPath.do")。- 戻り値:
- HttpControllerEndpointSpec インスタンス
inboundControllerGateway
public static HttpControllerEndpointSpec inboundControllerGateway(StringSE viewName, StringSE... path) - パラメーター:
viewName
- リクエストの最後に構築する MVC ビュー名。path
- パスマッピング URI (例: "/myPath.do")。- 戻り値:
- HttpControllerEndpointSpec インスタンス
inboundControllerGateway
public static HttpControllerEndpointSpec inboundControllerGateway(Expression viewExpression, StringSE... path) 提供された SpEL 式とマッピング用のpath
配列に基づいて、リクエスト / 応答ゲートウェイ用のHttpControllerEndpointSpec
ビルダーを作成します。- パラメーター:
viewExpression
- リクエストの最後にビルドする MVC ビュー名を評価する SpEL 式。path
- パスマッピング URI (例: "/myPath.do")。- 戻り値:
- HttpControllerEndpointSpec インスタンス
inboundChannelAdapter
マッピング用に提供されたpath
配列に基づいて、一方向アダプター用のHttpRequestHandlerEndpointSpec
ビルダーを作成します。- パラメーター:
path
- パスマッピング URI (例: "/myPath.do")。- 戻り値:
- HttpRequestHandlerEndpointSpec インスタンス
inboundGateway
マッピング用に提供されたpath
配列に基づいて、リクエスト応答ゲートウェイ用のHttpRequestHandlerEndpointSpec
ビルダーを作成します。- パラメーター:
path
- パスマッピング URI (例: "/myPath.do")。- 戻り値:
- HttpRequestHandlerEndpointSpec インスタンス