Class DefaultGraphQLExecutionResultHandler
java.lang.Object
io.micronaut.configuration.graphql.DefaultGraphQLExecutionResultHandler
- All Implemented Interfaces:
 GraphQLExecutionResultHandler
@Singleton
public class DefaultGraphQLExecutionResultHandler
extends Object
implements GraphQLExecutionResultHandler
The default implementation for handling GraphQL 
ExecutionResults.- Since:
 - 1.0
 - Author:
 - Marcel Overdijk, James Kleeh
 
- 
Constructor Summary
Constructors - 
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. 
- 
Constructor Details
- 
DefaultGraphQLExecutionResultHandler
public DefaultGraphQLExecutionResultHandler() 
 - 
 - 
Method Details
- 
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 emitsGraphQLResponseBodyobjects.- Specified by:
 handleExecutionResultin interfaceGraphQLExecutionResultHandler- Parameters:
 executionResultPublisher- the execution result- Returns:
 - the response body
 
 
 -