Package org.springframework.graphql
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 TypeMethodDescriptionReturn theExecutionInputthat was prepared through theExecutionGraphQlRequestand passed toGraphQL.Return theExecutionResultthat was returned from the invocation toGraphQL.Methods inherited from interface org.springframework.graphql.GraphQlResponse
field, getData, getErrors, getExtensions, isValid, toMap
-
Method Details
-
getExecutionInput
ExecutionInput getExecutionInput()Return theExecutionInputthat was prepared through theExecutionGraphQlRequestand passed toGraphQL. -
getExecutionResult
ExecutionResult getExecutionResult()Return theExecutionResultthat was returned from the invocation toGraphQL.
-