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 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 emitsGraphQLResponseBodyobjects.
-
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 emitsGraphQLResponseBodyobjects.- Parameters:
executionResultPublisher- the execution result- Returns:
- the response body
-