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.ExecutionInput
Return theExecutionInput
that was prepared through theExecutionGraphQlRequest
and passed toGraphQL
.graphql.ExecutionResult
Return theExecutionResult
that 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 theExecutionInput
that was prepared through theExecutionGraphQlRequest
and passed toGraphQL
. -
getExecutionResult
graphql.ExecutionResult getExecutionResult()Return theExecutionResult
that was returned from the invocation toGraphQL
.
-