Uses of Class
com.graphql_java_generator.exception.GraphQLRequestExecutionException
| 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 |
-
Uses of GraphQLRequestExecutionException in com.graphql_java_generator.client
Methods in com.graphql_java_generator.client that throw GraphQLRequestExecutionException Modifier and Type Method Description <T> TQueryExecutor. execute(java.lang.String requestType, ObjectResponse objectResponse, java.util.Map<java.lang.String,java.lang.Object> parameters, java.lang.Class<T> valueType)Execution of the given simple GraphQL query, and return its response mapped in the relevant POJO.<T> TQueryExecutor. execute(java.lang.String graphqlQuery, java.lang.Class<T> valueType)Execution of the given simple GraphQL query, and return its response mapped in the relevant POJO.<T> TQueryExecutorImpl. execute(java.lang.String requestType, ObjectResponse objectResponse, java.util.Map<java.lang.String,java.lang.Object> parameters, java.lang.Class<T> valueType)Execution of the given simple GraphQL query, and return its response mapped in the relevant POJO.<T> TQueryExecutorImpl. execute(java.lang.String query, java.lang.Class<T> valueType)Execution of the given simple GraphQL query, and return its response mapped in the relevant POJO.java.util.Map<java.lang.String,java.lang.Object>GraphqlClientUtils. generatesBindVariableValuesMap(java.lang.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 theMap. -
Uses of GraphQLRequestExecutionException in com.graphql_java_generator.client.request
Methods in com.graphql_java_generator.client.request that throw GraphQLRequestExecutionException Modifier and Type Method Description voidObjectResponse. appendResponseQuery(java.lang.StringBuilder sb, java.util.Map<java.lang.String,java.lang.Object> parameters, boolean appendSpaceParam)Retrieves the part of the query, which describes the fields that the GraphQL server should return.
For instance, for the query: {hero(episode: NEWHOPE) {id name}}, the response definition is {id name}java.lang.StringInputParameter. getValueForGraphqlQuery(java.util.Map<java.lang.String,java.lang.Object> bindVariables)Returns the parameter, as it should be written in the GraphQL query. -
Uses of GraphQLRequestExecutionException in com.graphql_java_generator.exception
Subclasses of GraphQLRequestExecutionException in com.graphql_java_generator.exception Modifier and Type Class Description classGraphQLResponseParseExceptionThrown when the client could not parse the GraphQL response.