インターフェースの使用
org.springframework.web.service.invoker.HttpExchangeAdapter
HttpExchangeAdapter を使用するパッケージ
パッケージ
説明
org.springframework.web.client パッケージをサポートするクラス。org.springframework.web.reactive.function.client パッケージをサポートするクラス。HttpExchange メソッドでアノテーションが付けられた HTTP サービスのクライアントプロキシを作成するためのサポート。HTTP サービスクライアントプロキシのレジストリを作成し、プロキシを Bean として宣言するためのサポート。
org.springframework.web.client.support 内の HttpExchangeAdapter 使用
修飾子と型クラス説明final class404 レスポンスで発生するHttpClientErrorException.NotFound例外を抑制し、ステータスがHttpStatus.NOT_FOUNDステータスに設定されたResponseEntity、またはNotFoundRestClientAdapterDecorator.exchangeForBody(org.springframework.web.service.invoker.HttpRequestValues, org.springframework.core.ParameterizedTypeReference<T>)からnullを返すHttpExchangeAdapterDecorator。final classfinal class修飾子と型メソッド説明RestClientHttpServiceGroupAdapter.createExchangeAdapter(RestClient.Builder clientBuilder) 型 HttpExchangeAdapter のパラメーターを持つ org.springframework.web.client.support のコンストラクターorg.springframework.web.reactive.function.client.support 内の HttpExchangeAdapter 使用
修飾子と型クラス説明class404 レスポンスから生じるWebClientResponseException.NotFound例外を抑制し、ステータスがHttpStatus.NOT_FOUNDステータスに設定されたResponseEntityを返すか、NotFoundWebClientAdapterDecorator.exchangeForBodyMono(org.springframework.web.service.invoker.HttpRequestValues, org.springframework.core.ParameterizedTypeReference<T>)から空のMonoを返すHttpExchangeAdapterDecorator。final class修飾子と型メソッド説明WebClientHttpServiceGroupAdapter.createExchangeAdapter(WebClient.Builder clientBuilder) 型 HttpExchangeAdapter のパラメーターを持つ org.springframework.web.reactive.function.client.support のコンストラクターorg.springframework.web.service.invoker 内の HttpExchangeAdapter 使用
org.springframework.web.service.invoker 内の HttpExchangeAdapter サブインターフェース修飾子と型クラス説明class同期HttpExchangeAdapter契約に適応するReactorHttpExchangeAdapter実装の便利な基本クラス。class別のアダプターインスタンスをラップして委譲するHttpExchangeAdapter。class別のアダプターインスタンスをラップして委譲するReactorHttpExchangeAdapter。修飾子と型メソッド説明HttpExchangeAdapterDecorator.getHttpExchangeAdapter()ラップされたデリゲートHttpExchangeAdapterを返します。型 HttpExchangeAdapter のパラメーターを持つ org.springframework.web.service.invoker のメソッド修飾子と型メソッド説明HttpServiceProxyFactory.builderFor(HttpExchangeAdapter exchangeAdapter) 指定されたクライアントで初期化されたビルダーを返します。HttpServiceProxyFactory.Builder.exchangeAdapter(HttpExchangeAdapter adapter) リクエストを実行する HTTP クライアントを提供します。型 HttpExchangeAdapter の型引数を持つ org.springframework.web.service.invoker のメソッドパラメーター修飾子と型メソッド説明HttpServiceProxyFactory.Builder.exchangeAdapterDecorator(FunctionSE<HttpExchangeAdapter, HttpExchangeAdapter> decorator) 構成されたHttpExchangeAdapterをラップする関数を提供します。HttpServiceProxyFactory.Builder.exchangeAdapterDecorator(FunctionSE<HttpExchangeAdapter, HttpExchangeAdapter> decorator) 構成されたHttpExchangeAdapterをラップする関数を提供します。型 HttpExchangeAdapter のパラメーターを持つ org.springframework.web.service.invoker のコンストラクター修飾子コンストラクター説明RequestBodyArgumentResolver(HttpExchangeAdapter exchangeAdapter) 構成設定にアクセスするためのHttpExchangeAdapterを含むコンストラクター。RequestPartArgumentResolver(HttpExchangeAdapter exchangeAdapter) 構成設定にアクセスするためのHttpExchangeAdapterを含むコンストラクター。org.springframework.web.service.registry 内の HttpExchangeAdapter 使用
修飾子と型メソッド説明HttpServiceGroupAdapter.createExchangeAdapter(CB clientBuilder) クライアントビルダーを使用して、グループのHttpServiceProxyFactoryを初期化するために使用するHttpExchangeAdapterを作成します。