@Singleton public class DefaultGraphQLExecutionResultHandler extends java.lang.Object implements GraphQLExecutionResultHandler
ExecutionResult
s.Constructor and Description |
---|
DefaultGraphQLExecutionResultHandler() |
Modifier and Type | Method and 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. |
public DefaultGraphQLExecutionResultHandler()
public org.reactivestreams.Publisher<GraphQLResponseBody> handleExecutionResult(org.reactivestreams.Publisher<graphql.ExecutionResult> executionResultPublisher)
GraphQLResponseBody
objects.handleExecutionResult
in interface GraphQLExecutionResultHandler
executionResultPublisher
- the execution result