Class GraphQLResponse
-
- All Implemented Interfaces:
public final class GraphQLResponse<T extends Object> extends GraphQLServerResponse
Wrapper that holds single GraphQLResponse to an HTTP request.
-
-
Field Summary
Fields Modifier and Type Field Description private final T
data
private final List<GraphQLServerError>
errors
private final Map<Object, Object>
extensions
-
Constructor Summary
Constructors Constructor Description GraphQLResponse(T data, List<GraphQLServerError> errors, Map<Object, Object> extensions)
-
Method Summary
Modifier and Type Method Description final T
getData()
final List<GraphQLServerError>
getErrors()
final Map<Object, Object>
getExtensions()
-
-
Method Detail
-
getErrors
final List<GraphQLServerError> getErrors()
-
getExtensions
final Map<Object, Object> getExtensions()
-
-
-
-