パッケージ jakarta.ws.rs.client

インターフェース RxInvokerProvider<T extends RxInvoker>

型パラメーター:
T - RxInvoker サブクラス型。

public interface RxInvokerProvider<T extends RxInvoker>
RxInvoker プロバイダー。

RxInvokerProvider は、Configurable.register(Class) を使用してクライアントランタイムに登録する必要があります。これは、他のリアクティブな実装のプラグインサポートへの方法を提供します。Invocation.Builder.rx(Class) を参照してください。

導入:
2.1
作成者:
Pavel Bucek, Santiago Pericas-Geertsen
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    getRxInvoker(SyncInvoker syncInvoker, ExecutorServiceSE executorService)
    RxInvoker 実装インスタンスを取得します。
    boolean
    これが特定の RxInvoker サブクラスのプロバイダーであるかどうかを判別します。
  • メソッドの詳細

    • isProviderFor

      boolean isProviderFor(ClassSE<?> clazz)
      これが特定の RxInvoker サブクラスのプロバイダーであるかどうかを判別します。
      パラメーター:
      clazz - RxInvoker サブクラス。
      戻り値:
      このプロバイダーが特定の RxInvoker サブクラスを提供する場合は true、それ以外の場合は false
    • getRxInvoker

      T getRxInvoker(SyncInvoker syncInvoker, ExecutorServiceSE executorService)
      RxInvoker 実装インスタンスを取得します。

      返されるインスタンスはスレッドセーフである必要があります。

      パラメーター:
      syncInvoker - 現在のリクエストの実行に使用される SyncInvoker
      executorService - エグゼキュータサービス。リアクティブコールバック呼び出しを実行するために使用する必要があります。null にすることができます。その場合、特定の環境で最適な ExecutorService を選択するのは実装次第です。
      戻り値:
      RxInvoker サブクラスのインスタンス。
      関連事項: