Interface ExecutionGraphQlResponse
- All Superinterfaces:
GraphQlResponse
- All Known Implementing Classes:
DefaultExecutionGraphQlResponse,RSocketGraphQlResponse,WebGraphQlResponse
Implementation of
GraphQlResponse that wraps the ExecutionResult
returned from GraphQL to expose it as GraphQlResponse,
also providing access to the ExecutionInput used for the request.- Since:
- 1.0.0
- Author:
- Rossen Stoyanchev
-
Method Summary
Modifier and TypeMethodDescriptiongraphql.ExecutionInputReturn theExecutionInputthat was prepared through theExecutionGraphQlRequestand passed toGraphQL.graphql.ExecutionResultReturn theExecutionResultthat was returned from the invocation toGraphQL.Methods inherited from interface org.springframework.graphql.GraphQlResponse
field, getData, getErrors, getExtensions, isValid, toMap
-
Method Details
-
getExecutionInput
graphql.ExecutionInput getExecutionInput()Return theExecutionInputthat was prepared through theExecutionGraphQlRequestand passed toGraphQL. -
getExecutionResult
graphql.ExecutionResult getExecutionResult()Return theExecutionResultthat was returned from the invocation toGraphQL.
-