Skip navigation links
A B C D E G I J L M N O P Q S T V W 

A

addInputParameter(InputParameter) - Method in class com.graphql_java_generator.client.request.ObjectResponse
Add an InputParameter to this object.
addInputParameters(List<InputParameter>) - Method in class com.graphql_java_generator.client.request.ObjectResponse
Add a list of InputParameters to this object.
appendResponseQuery(StringBuilder, Map<String, Object>, boolean) - Method in class com.graphql_java_generator.client.request.ObjectResponse
Retrieves the part of the query, which describes the fields that the GraphQL server should return.

B

build() - Method in class com.graphql_java_generator.client.request.Builder
Returns the built ObjectResponse.
Builder - Class in com.graphql_java_generator.client.request
This class is a Builder that'll help to build a ObjectResponse, which defines what should appear in the response from the GraphQL server.
Builder(Class<?>, String) - Constructor for class com.graphql_java_generator.client.request.Builder
Creates a Builder, for a field without alias
Builder(Class<?>, String, String) - Constructor for class com.graphql_java_generator.client.request.Builder
Creates a Builder

C

checkFieldOfGraphQLType(String, Boolean, Class<?>) - Method in class com.graphql_java_generator.client.GraphqlClientUtils
Check if the given field is owned by the class of this ObjectResponse.
checkIsScalar(Field, Boolean) - Method in class com.graphql_java_generator.client.GraphqlClientUtils
This method checks whether the given field (as an attribute) of the given class is a GraphQL scalar, or not, depending on shouldBeScalar.
checkIsScalar(String, Method, Boolean) - Method in class com.graphql_java_generator.client.GraphqlClientUtils
This method checks whether the given field (as a method: getter, query...) of the given class is a GraphQL scalar, or not, depending on shouldBeScalar.
checkName(String) - Method in class com.graphql_java_generator.client.GraphqlClientUtils
Checks that the given GraphQL name is valid.
code - Variable in class com.graphql_java_generator.client.response.Extension
 
column - Variable in class com.graphql_java_generator.client.response.Location
 
com.graphql_java_generator - package com.graphql_java_generator
 
com.graphql_java_generator.annotation - package com.graphql_java_generator.annotation
All annotations used by the GraphQL-generator client part
com.graphql_java_generator.client - package com.graphql_java_generator.client
 
com.graphql_java_generator.client.request - package 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.client.response - package com.graphql_java_generator.client.response
All classes about the management of the response, coming from the GraphQL server

D

data - Variable in class com.graphql_java_generator.client.response.JsonResponseWrapper
This contains the data coming from the GraphQL part.
description - Variable in class com.graphql_java_generator.client.response.Error
 

E

Error - Class in com.graphql_java_generator.client.response
The error POJO, mapped from the GraphQL server response, when an error occurs
Error() - Constructor for class com.graphql_java_generator.client.response.Error
 
errors - Variable in class com.graphql_java_generator.client.response.JsonResponseWrapper
 
errorType - Variable in class com.graphql_java_generator.client.response.Error
 
execute(String, ObjectResponse, Map<String, Object>, Class<T>) - Method in interface com.graphql_java_generator.client.QueryExecutor
Execution of the given simple GraphQL query, and return its response mapped in the relevant POJO.
execute(String, Class<T>) - Method in interface com.graphql_java_generator.client.QueryExecutor
Execution of the given simple GraphQL query, and return its response mapped in the relevant POJO.
execute(String, ObjectResponse, Map<String, Object>, Class<T>) - Method in class com.graphql_java_generator.client.QueryExecutorImpl
Execution of the given simple GraphQL query, and return its response mapped in the relevant POJO.
execute(String, Class<T>) - Method in class com.graphql_java_generator.client.QueryExecutorImpl
Execution of the given simple GraphQL query, and return its response mapped in the relevant POJO.
Extension - Class in com.graphql_java_generator.client.response
 
Extension() - Constructor for class com.graphql_java_generator.client.response.Extension
 
extensions - Variable in class com.graphql_java_generator.client.response.Error
 

G

generatesBindVariableValuesMap(Object[]) - Method in class com.graphql_java_generator.client.GraphqlClientUtils
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.
getCamelCase(String) - Static method in class com.graphql_java_generator.client.request.Builder
Convert the given name, to a camel case name.
getFieldAlias() - Method in class com.graphql_java_generator.client.request.ObjectResponse
Retrieves the alias for the field, which response is defined by this instance
getFieldClass() - Method in class com.graphql_java_generator.client.request.ObjectResponse
Retrieves the class for the field, which response is defined by this instance
getFieldName() - Method in class com.graphql_java_generator.client.request.ObjectResponse
Retrieves the name for the field, which response is defined by this instance
getGetter(Class<T>, Field) - Method in class com.graphql_java_generator.GraphqlUtils
Retrieves the getter for the given field on the given field
getGraphQLType(AccessibleObject) - Method in class com.graphql_java_generator.client.GraphqlClientUtils
Returns the Class indicated as the value for the graphqlType attribute of the GraphQLScalar or GraphQLNonScalar annotation
getInputObject(Map<String, Object>, Class<T>) - Method in class com.graphql_java_generator.GraphqlUtils
This method returns a GraphQL input object, as defined in the GraphQL schema, from the Map that has been read from the JSON object sent to the server.
getInputParameters() - Method in class com.graphql_java_generator.client.request.ObjectResponse
Retrieves the InputParameter for the field, which response is defined by this instance
getListInputObjects(List<Map<String, Object>>, Class<T>) - Method in class com.graphql_java_generator.GraphqlUtils
This method returns a list of instances of the given class, from a list of Map.
getName() - Method in class com.graphql_java_generator.client.request.InputParameter
 
getOwningClass() - Method in class com.graphql_java_generator.client.request.ObjectResponse
Retrieves the GraphQL type that owns the field, which response is defined by this instance
getPascalCase(String) - Method in class com.graphql_java_generator.GraphqlUtils
Returns the given name in PascalCase.
getSetter(Class<T>, Field) - Method in class com.graphql_java_generator.GraphqlUtils
Retrieves the setter for the given field on the given field
getValue() - Method in class com.graphql_java_generator.client.request.InputParameter
 
getValueForGraphqlQuery(Map<String, Object>) - Method in class com.graphql_java_generator.client.request.InputParameter
Returns the parameter, as it should be written in the GraphQL query.
GRAPHQL_MARKER - Static variable in interface com.graphql_java_generator.client.QueryExecutor
 
GRAPHQL_MUTATION_MARKER - Static variable in interface com.graphql_java_generator.client.QueryExecutor
 
GRAPHQL_QUERY_MARKER - Static variable in interface com.graphql_java_generator.client.QueryExecutor
 
GRAPHQL_SUBSCRIPTION_MARKER - Static variable in interface com.graphql_java_generator.client.QueryExecutor
 
GraphqlClientUtils - Class in com.graphql_java_generator.client
 
GraphqlClientUtils() - Constructor for class com.graphql_java_generator.client.GraphqlClientUtils
 
GraphQLInputType - Annotation Type in com.graphql_java_generator.annotation
This annotation marks all generated classes that are generated to match a GraphQL input type, as defined in the GraphQL schema
GraphQLInternalErrorException - Exception in com.graphql_java_generator.client.response
Thrown when an internal error of the GraphQL generator occurs
GraphQLInternalErrorException(String) - Constructor for exception com.graphql_java_generator.client.response.GraphQLInternalErrorException
 
GraphQLInternalErrorException(String, Throwable) - Constructor for exception com.graphql_java_generator.client.response.GraphQLInternalErrorException
 
GraphQLNonScalar - Annotation Type in com.graphql_java_generator.annotation
This annotation marks all fields in the generated classes, that are non scalar.
GraphQLQuery - Annotation Type in com.graphql_java_generator.annotation
This annotation marks all generated classes that are queries/mutations/subscription, as defined in the GraphQL schema.
GraphQLRequestExecutionException - Exception in com.graphql_java_generator.client.response
Thrown when an error occurs during the request execution.
GraphQLRequestExecutionException(String) - Constructor for exception com.graphql_java_generator.client.response.GraphQLRequestExecutionException
 
GraphQLRequestExecutionException(String, Throwable) - Constructor for exception com.graphql_java_generator.client.response.GraphQLRequestExecutionException
 
GraphQLRequestPreparationException - Exception in com.graphql_java_generator.client.response
Thrown when an error occurs during the request preparation.
GraphQLRequestPreparationException(String) - Constructor for exception com.graphql_java_generator.client.response.GraphQLRequestPreparationException
 
GraphQLRequestPreparationException(String, Throwable) - Constructor for exception com.graphql_java_generator.client.response.GraphQLRequestPreparationException
 
GraphQLResponseParseException - Exception in com.graphql_java_generator.client.response
Thrown when the client could not parse the GraphQL response.
GraphQLResponseParseException(String) - Constructor for exception com.graphql_java_generator.client.response.GraphQLResponseParseException
 
GraphQLResponseParseException(String, Throwable) - Constructor for exception com.graphql_java_generator.client.response.GraphQLResponseParseException
 
GraphQLScalar - Annotation Type in com.graphql_java_generator.annotation
This annotation marks all fields in the generated classes, that are standard GraphQL scalar.
GraphqlUtils - Class in com.graphql_java_generator
 
GraphqlUtils() - Constructor for class com.graphql_java_generator.GraphqlUtils
 

I

InputParameter - Class in com.graphql_java_generator.client.request
Contains an input parameter, to be sent to a query (mutation...).
invokeGetter(Object, String) - Method in class com.graphql_java_generator.GraphqlUtils
Invoke the getter for the given field name, on the given object.
invokeSetter(Object, Field, Object) - Method in class com.graphql_java_generator.GraphqlUtils
Invoke the setter for the given field, on the given object.
invokeSetter(Object, String, Object) - Method in class com.graphql_java_generator.GraphqlUtils
Invoke the setter for the Field of the given name, on the given object.
isScalar(AccessibleObject) - Method in class com.graphql_java_generator.client.GraphqlClientUtils
Indicates whether the given class is a scalar or not

J

JsonResponseWrapper - Class in com.graphql_java_generator.client.response
 
JsonResponseWrapper() - Constructor for class com.graphql_java_generator.client.response.JsonResponseWrapper
 

L

line - Variable in class com.graphql_java_generator.client.response.Location
 
Location - Class in com.graphql_java_generator.client.response
 
Location() - Constructor for class com.graphql_java_generator.client.response.Location
 
locations - Variable in class com.graphql_java_generator.client.response.Error
 

M

message - Variable in class com.graphql_java_generator.client.response.Error
 

N

newBindParameter(String, String, boolean) - Static method in class com.graphql_java_generator.client.request.InputParameter
Creates and returns a new instance of InputParameter, which is bound to a bind variable.
newHardCodedParameter(String, Object) - Static method in class com.graphql_java_generator.client.request.InputParameter
Creates and returns a new instance of InputParameter, which value is given, and can not be changed afterwards

O

ObjectResponse - Class in com.graphql_java_generator.client.request
This class describes what response is expected from the GraphQL server.

P

path - Variable in class com.graphql_java_generator.client.response.Error
 

Q

QueryExecutor - Interface in com.graphql_java_generator.client
This class is the query executor : a generic class, reponsible for calling the GraphQL server, and return its response as POJOs.
QueryExecutorImpl - Class in com.graphql_java_generator.client
This class is the query executor : a generic class, reponsible for calling the GraphQL server, for query, mutation and subscription.
QueryExecutorImpl(String) - Constructor for class com.graphql_java_generator.client.QueryExecutorImpl
This constructor expects the URI of the GraphQL server
For example: http://my.server.com/graphql or https://my.server.com/graphql
QueryExecutorImpl(String, SSLContext, HostnameVerifier) - Constructor for class com.graphql_java_generator.client.QueryExecutorImpl
This constructor expects the URI of the GraphQL server.
queryPath - Variable in class com.graphql_java_generator.client.response.Error
 

S

sourceName - Variable in class com.graphql_java_generator.client.response.Location
 

T

timestamp - Variable in class com.graphql_java_generator.client.response.Extension
 
toString() - Method in class com.graphql_java_generator.client.response.Error
Logs this error to the given Logger
toString() - Method in class com.graphql_java_generator.client.response.Location
 

V

validationErrorType - Variable in class com.graphql_java_generator.client.response.Error
 

W

withField(String) - Method in class com.graphql_java_generator.client.request.Builder
Adds a scalar field with no alias, to the ObjectResponse we are building
withField(String, String) - Method in class com.graphql_java_generator.client.request.Builder
Adds a scalar field with an alias, to the ObjectResponse we are building
withInputParameter(InputParameter) - Method in class com.graphql_java_generator.client.request.Builder
Add an InputParameter to the current Object Response definition.
withInputParameters(List<InputParameter>) - Method in class com.graphql_java_generator.client.request.Builder
Add a list of InputParameters to the current Object Response definition.
withQueryResponseDef(String) - Method in class com.graphql_java_generator.client.request.Builder
Builds a ObjectResponse from a part of a GraphQL query.
withSubObject(ObjectResponse) - Method in class com.graphql_java_generator.client.request.Builder
Adds a non scalar field (a sub-object), to the ObjectResponse we are building.
A B C D E G I J L M N O P Q S T V W 
Skip navigation links

Copyright © 2020. All rights reserved.