| Package | Description |
|---|---|
| com.graphql_java_generator.client | |
| com.graphql_java_generator.client.request |
This package contains all the classes used to generate the requests toward the GraphQL server.
|
| com.graphql_java_generator.exception |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
QueryExecutor.execute(String graphqlQuery,
Class<T> valueType)
Execution of the given simple GraphQL query, and return its response mapped in the relevant POJO.
|
<T> T |
QueryExecutorImpl.execute(String query,
Class<T> valueType)
Execution of the given simple GraphQL query, and return its response mapped in the relevant POJO.
|
<T> T |
QueryExecutor.execute(String requestType,
ObjectResponse objectResponse,
Map<String,Object> parameters,
Class<T> valueType)
Execution of the given simple GraphQL query, and return its response mapped in the relevant POJO.
|
<T> T |
QueryExecutorImpl.execute(String requestType,
ObjectResponse objectResponse,
Map<String,Object> parameters,
Class<T> valueType)
Execution of the given simple GraphQL query, and return its response mapped in the relevant POJO.
|
Map<String,Object> |
GraphqlClientUtils.generatesBindVariableValuesMap(Object[] paramsAndValues)
This method retrieves the couple of name and values given in these parameters, stores them in a map where the key
is the param name, and the value is the value of the
Map. |
| Modifier and Type | Method and Description |
|---|---|
void |
ObjectResponse.appendResponseQuery(StringBuilder sb,
Map<String,Object> parameters,
boolean appendSpaceParam)
Retrieves the part of the query, which describes the fields that the GraphQL server should return.
|
String |
InputParameter.getValueForGraphqlQuery(Map<String,Object> bindVariables)
Returns the parameter, as it should be written in the GraphQL query.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GraphQLResponseParseException
Thrown when the client could not parse the GraphQL response.
|
Copyright © 2020. All rights reserved.