インターフェース GraphQlClientInterceptor

既知のすべてのサブインターフェース:
WebSocketGraphQlClientInterceptor

public interface GraphQlClientInterceptor
ノンブロッキング GraphQlTransport を使用したノンブロッキング実行 チェーンで使用するための GraphQlClient リクエストのインターセプター。
導入:
1.0.0
作成者:
Rossen Stoyanchev
関連事項:
  • メソッドの詳細

    • intercept

      default reactor.core.publisher.Mono<ClientGraphQlResponse> intercept(ClientGraphQlRequest request, GraphQlClientInterceptor.Chain chain)
      単一のレスポンスリクエスト (クエリおよびミューテーション操作) をインターセプトし、他のインターセプターを含む残りの チェーンにデリゲートし、その後に GraphQlTransport を実行します。
      パラメーター:
      request - 実行するリクエスト
      chain - 残りの チェーンがリクエストを実行する
      戻り値:
      レスポンス用の Mono 
      関連事項:
    • interceptSubscription

      default reactor.core.publisher.Flux<ClientGraphQlResponse> interceptSubscription(ClientGraphQlRequest request, GraphQlClientInterceptor.SubscriptionChain chain)
      サブスクリプションリクエストをインターセプトし、他のインターセプターを含む残りの チェーンに委譲し、その後に GraphQlTransport を委譲します。
      パラメーター:
      request - 実行するリクエスト
      chain - 残りの チェーンがリクエストを実行する
      戻り値:
      レスポンスのある Flux 
      関連事項:
    • andThen

      default GraphQlClientInterceptor andThen(GraphQlClientInterceptor interceptor)
      最初に現在のインターセプターを呼び出し、次に渡されたインターセプターを呼び出す新しいインターセプターを返します。
      パラメーター:
      interceptor - "this" の後にデリゲートするインターセプター
      戻り値:
      新しい GraphQlClientInterceptor