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