Class DefaultGraphQLExecutionResultHandler

    • Constructor Detail

      • DefaultGraphQLExecutionResultHandler

        public DefaultGraphQLExecutionResultHandler()
    • Method Detail

      • handleExecutionResult

        public 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.
        Specified by:
        handleExecutionResult in interface GraphQLExecutionResultHandler
        Parameters:
        executionResultPublisher - the execution result
        Returns:
        the response body