Interface GraphQLExecutionResultHandler
- All Known Implementing Classes:
DefaultGraphQLExecutionResultHandler
public interface GraphQLExecutionResultHandler
An interface for handling GraphQL
ExecutionResult
s.- Since:
- 1.0
- Author:
- Marcel Overdijk
-
Method Summary
Modifier and TypeMethodDescriptionorg.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 emitsGraphQLResponseBody
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 emitsGraphQLResponseBody
objects.- Parameters:
executionResultPublisher
- the execution result- Returns:
- the response body
-