Interface GraphQLExecutionResultHandler

All Known Implementing Classes:
DefaultGraphQLExecutionResultHandler

public interface GraphQLExecutionResultHandler
An interface for handling GraphQL ExecutionResults.
Since:
1.0
Author:
Marcel Overdijk
  • Method Summary

    Modifier and Type
    Method
    Description
    org.reactivestreams.Publisher<GraphQLResponseBody>
    handleExecutionResult(org.reactivestreams.Publisher<graphql.ExecutionResult> executionResultPublisher)
    Handles the execution result by converting the provided execution result publisher to a publisher that emits GraphQLResponseBody objects.
  • Method Details

    • handleExecutionResult

      org.reactivestreams.Publisher<GraphQLResponseBody> handleExecutionResult(org.reactivestreams.Publisher<graphql.ExecutionResult> executionResultPublisher)
      Handles the execution result by converting the provided execution result publisher to a publisher that emits GraphQLResponseBody objects.
      Parameters:
      executionResultPublisher - the execution result
      Returns:
      the response body