Index

A B C D E F G H I J L M N O P Q R S T U V W 
All Classes All Packages

A

AbstractCustomJacksonDeserializer<T> - Class in com.graphql_java_generator.client.response
Jackson Deserializer for Custom Scalar.
AbstractCustomJacksonDeserializer(AbstractCustomJacksonDeserializer<?>, boolean, Class<?>, GraphQLScalarType) - Constructor for class com.graphql_java_generator.client.response.AbstractCustomJacksonDeserializer
 
AbstractCustomJacksonDeserializer(Class<?>, GraphQLScalarType) - Constructor for class com.graphql_java_generator.client.response.AbstractCustomJacksonDeserializer
The constructor, for non list field.
AbstractGraphQLRequest - Class in com.graphql_java_generator.client.request
This class contains the description for a GraphQL request that will be sent to the server.
AbstractGraphQLRequest(String) - Constructor for class com.graphql_java_generator.client.request.AbstractGraphQLRequest
Creates the GraphQL request, for a full request.
AbstractGraphQLRequest(String, RequestType, String, InputParameter...) - Constructor for class com.graphql_java_generator.client.request.AbstractGraphQLRequest
Create the instance, from the GraphQL request, for a partial request.
Important note: this constructor SHOULD NOT be called by external application.
addImport(Set<String>, String, String) - Method in class com.graphql_java_generator.util.GraphqlUtils
Adds, if necessary the import calculated from the given parameters, into the given set of imports.
addTypenameFields() - Method in class com.graphql_java_generator.client.request.Fragment
Adds the __typename field into this fragment, and all the subojects it contains.
appendInputParametersToGraphQLRequests(boolean, StringBuilder, List<InputParameter>, Map<String, Object>) - Static method in class com.graphql_java_generator.client.request.InputParameter
 
appendToGraphQLRequests(StringBuilder, Map<String, Object>) - Method in class com.graphql_java_generator.client.directive.Directive
Appends this current directive into the given StringBuilder, to build the GraphQL request
appendToGraphQLRequests(StringBuilder, Map<String, Object>) - Method in class com.graphql_java_generator.client.request.AppliedGlobalFragment
Appends to the given StringBuilder this fragment usage ("...fragmentName") followed by the directive declarations, if any
appendToGraphQLRequests(StringBuilder, Map<String, Object>) - Method in class com.graphql_java_generator.client.request.Fragment
 
appendToGraphQLRequests(StringBuilder, Map<String, Object>, boolean) - Method in class com.graphql_java_generator.client.request.QueryField
Append this query field in the StringBuilder in which the query is being written.
AppliedGlobalFragment - Class in com.graphql_java_generator.client.request
A global Fragment, when applied, has a name and may have one or more directives.
AppliedGlobalFragment(String, QueryTokenizer) - Constructor for class com.graphql_java_generator.client.request.AppliedGlobalFragment
Creates an instance for a global fragment, that has been read in the current QueryTokenizer.
ARGUMENT_DEFINITION - com.graphql_java_generator.client.directive.DirectiveLocation
 
AUTHORIZATION_HEADER_NAME - Static variable in class com.graphql_java_generator.client.OAuthTokenExtractor
The name of the HTTP header that contains the OAuth token

B

basePackages() - Method in annotation type com.graphql_java_generator.client.graphqlrepository.EnableGraphQLRepositories
 
BatchLoaderDelegate<K,​V> - Interface in com.graphql_java_generator.server.util
BatchLoaderDelegate is the interface that identifies Spring Beans that help using graphql-java java-dataloader.
BatchLoaderDelegateWithContext<K,​V> - Interface in com.graphql_java_generator.server.util
BatchLoaderDelegateWithContext is the interface that identifies Spring Beans that help using graphql-java java-dataloader.
BindParameter - Annotation Type in com.graphql_java_generator.client.graphqlrepository
 
body(BodyExtractor<T, ? super ClientHttpResponse>) - Method in class com.graphql_java_generator.client.OAuthTokenExtractor.GetOAuthTokenClientResponse
 
bodyToFlux(Class<? extends T>) - Method in class com.graphql_java_generator.client.OAuthTokenExtractor.GetOAuthTokenClientResponse
 
bodyToFlux(ParameterizedTypeReference<T>) - Method in class com.graphql_java_generator.client.OAuthTokenExtractor.GetOAuthTokenClientResponse
 
bodyToMono(Class<? extends T>) - Method in class com.graphql_java_generator.client.OAuthTokenExtractor.GetOAuthTokenClientResponse
 
bodyToMono(ParameterizedTypeReference<T>) - Method in class com.graphql_java_generator.client.OAuthTokenExtractor.GetOAuthTokenClientResponse
 
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 builder is provided for compatibility of existing code, that would have been developed before the 1.6 release.
Builder(Class<? extends AbstractGraphQLRequest>) - Constructor for class com.graphql_java_generator.client.request.Builder
This Builder allows to build a Full request, that is request as you can execute in the graphiql interface.
Builder(Class<? extends AbstractGraphQLRequest>, String, RequestType, InputParameter...) - Constructor for class com.graphql_java_generator.client.request.Builder
This Builder allows to build a Partial request, that is a request for only one query/mutation/subscription.
buildRequest(Map<String, Object>) - Method in class com.graphql_java_generator.client.request.AbstractGraphQLRequest
 

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.
checkNextToken(String) - Method in class com.graphql_java_generator.client.request.QueryTokenizer
Checks if the next meaningful token is the expected string that is given.
checkNextTokenStartsWith(String) - Method in class com.graphql_java_generator.client.request.QueryTokenizer
Checks if the next meaningful token starts by the expected string that is given.
ClassPathScanner - Class in com.graphql_java_generator.client.graphqlrepository
scan all GraphQLRepositoryFactory annotated interfaces from specified packages.
ClassPathScanner(boolean) - Constructor for class com.graphql_java_generator.client.graphqlrepository.ClassPathScanner
 
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.directive - package com.graphql_java_generator.client.directive
 
com.graphql_java_generator.client.graphqlrepository - package com.graphql_java_generator.client.graphqlrepository
This package contains all the needed classes to manage GraphQLRepository.
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
com.graphql_java_generator.customscalars - package com.graphql_java_generator.customscalars
This package provide "as is" some GraphQLScalarTypes.
com.graphql_java_generator.exception - package com.graphql_java_generator.exception
 
com.graphql_java_generator.server.util - package com.graphql_java_generator.server.util
 
com.graphql_java_generator.util - package com.graphql_java_generator.util
 
concatStreams(Class<T>, boolean, T, T, T, List<? extends T>...) - Method in class com.graphql_java_generator.util.GraphqlUtils
Concatenate a non limited number of lists into a stream.
convertValue(JsonNode, TypeReference<Map<String, JsonNode>>) - Method in class com.graphql_java_generator.client.GraphQLObjectMapper
 
cookies() - Method in class com.graphql_java_generator.client.OAuthTokenExtractor.GetOAuthTokenClientResponse
 
createException() - Method in class com.graphql_java_generator.client.OAuthTokenExtractor.GetOAuthTokenClientResponse
 
createGraphQLRepositoryInvocationHandler(ClassLoader, Class<R>) - Method in class com.graphql_java_generator.client.graphqlrepository.GraphQLRepositoryProxyBeanFactory
 
CustomScalar - Class in com.graphql_java_generator.customscalars
This class represents a custom scalar, with all the information to allow proper execution of the generated code
CustomScalar(GraphQLScalarType, Class<?>) - Constructor for class com.graphql_java_generator.customscalars.CustomScalar
 
customScalarRegistry - Static variable in class com.graphql_java_generator.customscalars.CustomScalarRegistryImpl
As we may have or not have Spring at runtime, we manually manage a singleton.
CustomScalarRegistry - Interface in com.graphql_java_generator.customscalars
Registry for all GraphQLScalarType available.
CustomScalarRegistryImpl - Class in com.graphql_java_generator.customscalars
 
CustomScalarRegistryImpl() - Constructor for class com.graphql_java_generator.customscalars.CustomScalarRegistryImpl
 

D

data - Variable in class com.graphql_java_generator.client.response.JsonResponseWrapper
This contains the data coming from the GraphQL part.
Date - Static variable in class com.graphql_java_generator.customscalars.GraphQLScalarTypeDate
Custom Scalar for Date management.
DateTime - Static variable in class com.graphql_java_generator.customscalars.GraphQLScalarTypeDateTime
Custom Scalar for DateTime management.
description - Variable in class com.graphql_java_generator.client.response.Error
 
deserialize(JsonParser, DeserializationContext) - Method in class com.graphql_java_generator.client.response.AbstractCustomJacksonDeserializer
 
Directive - Class in com.graphql_java_generator.client.directive
This object can represent both: A directive definition, as defined in the GraphQL schema, or as a standard GraphQL directive (skip, include, deprecated).
Directive() - Constructor for class com.graphql_java_generator.client.directive.Directive
Default constructor, used by the generated DirectiveRegistryInitialize
Directive(QueryTokenizer) - Constructor for class com.graphql_java_generator.client.directive.Directive
Create a Directive from a QueryTokenizer.
DirectiveLocation - Enum in com.graphql_java_generator.client.directive
All possible directive locations
directiveRegistry - Static variable in class com.graphql_java_generator.client.directive.DirectiveRegistryImpl
As we may have or not have Spring at runtime, we manually manage a singleton.
DirectiveRegistry - Interface in com.graphql_java_generator.client.directive
Registry for all GraphQL directives that are available, that is: the GraphQL standard directives and the ones that are defined in the GraphQL schema.
DirectiveRegistryImpl - Class in com.graphql_java_generator.client.directive
 
DirectiveRegistryImpl() - Constructor for class com.graphql_java_generator.client.directive.DirectiveRegistryImpl
 

E

EMPTY_DELIMITERS - Static variable in class com.graphql_java_generator.client.request.QueryTokenizer
The list of character that can separate tokens, and that has no meaning.
EnableGraphQLRepositories - Annotation Type in com.graphql_java_generator.client.graphqlrepository
 
ENUM - com.graphql_java_generator.client.directive.DirectiveLocation
 
ENUM_VALUE - com.graphql_java_generator.client.directive.DirectiveLocation
 
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
This optional field contains the errors, when one or more errors occurred
errorType - Variable in class com.graphql_java_generator.client.response.Error
 
exec(Class<T>, Map<String, Object>) - Method in class com.graphql_java_generator.client.request.AbstractGraphQLRequest
This method executes the current GraphQL as a query or mutation GraphQL request, and return its response mapped in the relevant POJO.
exec(Map<String, Object>, SubscriptionCallback<T>, Class<R>, Class<T>) - Method in class com.graphql_java_generator.client.request.AbstractGraphQLRequest
Execution of the given subscription GraphQL request, and return its response mapped in the relevant POJO.
execute(AbstractGraphQLRequest, Map<String, Object>, SubscriptionCallback<T>, Class<R>, Class<T>) - Method in interface com.graphql_java_generator.client.QueryExecutor
Executes the given subscription GraphQL request, and returns the relevant WebSocketClient.
execute(AbstractGraphQLRequest, Map<String, Object>, SubscriptionCallback<T>, Class<R>, Class<T>) - Method in class com.graphql_java_generator.client.QueryExecutorImpl
Deprecated.
Executes the given subscription GraphQL request, and returns the relevant WebSocketClient.
execute(AbstractGraphQLRequest, Map<String, Object>, SubscriptionCallback<T>, Class<R>, Class<T>) - Method in class com.graphql_java_generator.client.QueryExecutorSpringReactiveImpl
 
execute(AbstractGraphQLRequest, Map<String, Object>, Class<R>) - Method in interface com.graphql_java_generator.client.QueryExecutor
Execution of the given query or mutation GraphQL request, and return its response mapped in the relevant POJO.
execute(AbstractGraphQLRequest, Map<String, Object>, Class<R>) - Method in class com.graphql_java_generator.client.QueryExecutorImpl
Deprecated.
Execution of the given query or mutation GraphQL request, and return its response mapped in the relevant POJO.
execute(AbstractGraphQLRequest, Map<String, Object>, Class<R>) - Method in class com.graphql_java_generator.client.QueryExecutorSpringReactiveImpl
 
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
The extensions field of errors, stored as is from the incoming GraphQL response.
extensions - Variable in class com.graphql_java_generator.client.response.JsonResponseWrapper
This field is described in the GraphQL specification.

F

FIELD - com.graphql_java_generator.client.directive.DirectiveLocation
 
FIELD_DEFINITION - com.graphql_java_generator.client.directive.DirectiveLocation
 
fieldName() - Method in annotation type com.graphql_java_generator.annotation.GraphQLNonScalar
The name of the field's attribute, as defined in the GraphQL schema.
fieldName() - Method in annotation type com.graphql_java_generator.annotation.GraphQLScalar
The name of the field's attribute, as defined in the GraphQL schema.
filter(ClientRequest, ExchangeFunction) - Method in class com.graphql_java_generator.client.OAuthTokenExtractor.OAuthTokenFilter
 
Fragment - Class in com.graphql_java_generator.client.request
 
Fragment(QueryTokenizer, Map<Class<?>, Map<String, Field>>, String, boolean, Class<?>) - Constructor for class com.graphql_java_generator.client.request.Fragment
Reads a Fragment definition, from the current QueryTokenizer.
FRAGMENT_DEFINITION - com.graphql_java_generator.client.directive.DirectiveLocation
 
FRAGMENT_SPREAD - com.graphql_java_generator.client.directive.DirectiveLocation
 
from(String) - Static method in class com.graphql_java_generator.server.util.QueryParameters
 
FullRequest - Annotation Type in com.graphql_java_generator.client.graphqlrepository
 

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.
getAlias() - Method in class com.graphql_java_generator.client.request.QueryField
 
getAliasValue(JsonParser, Field, TreeNode) - Method in class com.graphql_java_generator.client.GraphQLObjectMapper
Parse a TreeNode, and return it as a value, according to the given classes
getArgument(Object, String, String, Class<?>) - Method in class com.graphql_java_generator.util.GraphqlUtils
This method returns a GraphQL argument into the relevant Java object, within a data fetcher, from what has been parsed by the graphql-java engine from the incoming JSON request
getArguments() - Method in class com.graphql_java_generator.client.directive.Directive
 
getAuthorizationHeaderValue() - Method in class com.graphql_java_generator.client.OAuthTokenExtractor
Returns the Authorization header value, as it has been returned by the ServerOAuth2AuthorizedClientExchangeFilterFunction, from the OAuth authorization server.
getBindParameterName() - Method in class com.graphql_java_generator.client.request.InputParameter
 
getCamelCase(String) - Method in class com.graphql_java_generator.util.GraphqlUtils
Convert the given name, to a camel case name.
getClass(String, String) - Method in class com.graphql_java_generator.util.GraphqlUtils
Retrieves a class for a given classname.
getClassSimpleName(String) - Method in class com.graphql_java_generator.util.GraphqlUtils
Extract the simple name for a class (without the package name), from its full class name (with the package name)
getClazz() - Method in class com.graphql_java_generator.client.request.QueryField
 
getCustomScalar(String) - Method in interface com.graphql_java_generator.customscalars.CustomScalarRegistry
Retrieves the registered GraphQLScalarType for this GraphQL CustomScalar.
getCustomScalar(String) - Method in class com.graphql_java_generator.customscalars.CustomScalarRegistryImpl
 
getDeclaredField(Class<?>, String, boolean) - Method in class com.graphql_java_generator.util.GraphqlUtils
Returns a Field from the given class.
getDirective(String) - Method in interface com.graphql_java_generator.client.directive.DirectiveRegistry
Retrieves the registered GraphQLScalarType for this GraphQL CustomScalar.
getDirective(String) - Method in class com.graphql_java_generator.client.directive.DirectiveRegistryImpl
Retrieves the registered GraphQLScalarType for this GraphQL CustomScalar.
getDirectiveDefinition() - Method in class com.graphql_java_generator.client.directive.Directive
Returns the definition for this GraphQL directive
getDirectiveLocations() - Method in class com.graphql_java_generator.client.directive.Directive
 
getExtensions() - Method in class com.graphql_java_generator.client.response.Error
 
getExtensionsAsMap() - Method in class com.graphql_java_generator.client.response.Error
Returns the extensions as a map.
getExtensionsAsMapStringString() - Method in class com.graphql_java_generator.client.response.Error
Returns the extensions as a map.
getExtensionsField(String, Class<T>) - Method in class com.graphql_java_generator.client.response.Error
Parse the value for the given _key_, as found in the extensions field of the GraphQL server's response, into the given _t_ class.
getFieldName() - Method in interface com.graphql_java_generator.GraphQLField
Returns the field name of the field
getFields() - Method in class com.graphql_java_generator.client.request.QueryField
 
getFieldType(Class<?>, String, boolean) - Method in class com.graphql_java_generator.util.GraphqlUtils
Retrieves the class of the fieldName field of the owningClass class.
getFragments() - Method in class com.graphql_java_generator.client.request.AbstractGraphQLRequest
 
getGetter(Class<?>, Field) - Method in class com.graphql_java_generator.util.GraphqlUtils
Retrieves the getter for the given field on the given field
getGraphQLClassesPackageName() - Method in class com.graphql_java_generator.client.request.AbstractGraphQLRequest
This method returns the package name, where the GraphQL generated classes are.
getGraphQLCustomScalarType(AccessibleObject) - Method in class com.graphql_java_generator.client.GraphqlClientUtils
This method retrieves the GraphQLScalarType for a custom scalar field or method.
getGraphQLCustomScalarType(String) - Method in interface com.graphql_java_generator.customscalars.CustomScalarRegistry
Retrieves the registered GraphQLScalarType for this GraphQL CustomScalar.
getGraphQLCustomScalarType(String) - Method in class com.graphql_java_generator.customscalars.CustomScalarRegistryImpl
 
getGraphQLObjectMapper() - Method in class com.graphql_java_generator.client.request.AbstractGraphQLRequest
This method creates and configures a Jackson ObjectMapper that is ready to parse the response for this GraphQL.
getGraphQLRequest() - Method in class com.graphql_java_generator.client.request.AbstractGraphQLRequest
Retrieve the request String that has been provided to create this instance
getGraphQLScalarType() - Method in class com.graphql_java_generator.client.request.InputParameter
 
getGraphQLScalarType() - Method in class com.graphql_java_generator.customscalars.CustomScalar
 
getGraphQLScalarTypeFromName(String) - Method in class com.graphql_java_generator.client.GraphqlClientUtils
Returns the GraphQL scalar type for the given Standard or Custom Scalar name, as defined in the GraphQL schema.
getGraphQLType() - Method in interface com.graphql_java_generator.GraphQLField
Returns the GraphQL class which declares the 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
getGraphQLTypeName() - Method in class com.graphql_java_generator.client.request.InputParameter
 
getGraphQLTypeName() - Method in class com.graphql_java_generator.customscalars.CustomScalar
 
getGraphQLTypeNameFromClass(Class<?>) - Method in class com.graphql_java_generator.client.GraphqlClientUtils
Retrieves the GraphQL type name (as defined in the GraphQL schema), from the GraphQL annotation added in the generated code by the plugin.
getInstanceConfiguration() - Method in class com.graphql_java_generator.client.request.AbstractGraphQLRequest
This gets the configuration for this instance.
getJavaName(String) - Method in class com.graphql_java_generator.util.GraphqlUtils
Returns a valid java identifier for the given name.
getLastModified(File, boolean) - Method in class com.graphql_java_generator.util.GraphqlUtils
Returns the maximum or minimum value for the lastModified of the given file, or of all the files (not folders) contained into this folder.
getListDepth() - Method in class com.graphql_java_generator.client.request.InputParameter
 
getMethod(String, Class<?>, Class<?>...) - Method in class com.graphql_java_generator.util.GraphqlUtils
Retrieves the asked method, from its name, class and parameters.
getMutation() - Method in class com.graphql_java_generator.client.request.AbstractGraphQLRequest
 
getMutationContext() - Method in class com.graphql_java_generator.client.request.AbstractGraphQLRequest
Retrieved the QueryField for the mutation (that is the mutation type coming from the GraphQL schema) from the concrete class.
getName() - Method in class com.graphql_java_generator.client.directive.Directive
 
getName() - Method in class com.graphql_java_generator.client.request.Fragment
 
getName() - Method in class com.graphql_java_generator.client.request.InputParameter
 
getName() - Method in class com.graphql_java_generator.client.request.QueryField
 
getName() - Method in interface com.graphql_java_generator.server.util.BatchLoaderDelegate
The name of this BatchLoaderDelegate, as can be retrieved from the DataLoaderRegistry.
getName() - Method in interface com.graphql_java_generator.server.util.BatchLoaderDelegateWithContext
The name of this BatchLoaderDelegate, as can be retrieved from the DataLoaderRegistry.
GetOAuthTokenClientResponse(String) - Constructor for class com.graphql_java_generator.client.OAuthTokenExtractor.GetOAuthTokenClientResponse
 
getOperationName() - Method in class com.graphql_java_generator.server.util.QueryParameters
 
getOwningClazz() - Method in class com.graphql_java_generator.client.request.QueryField
 
getPackageName() - Method in class com.graphql_java_generator.client.directive.Directive
Returns the package name where the code for this directive has been generated.
getPackageName(String) - Method in class com.graphql_java_generator.util.GraphqlUtils
Extract the package name for a class, from its full class name (with the package name)
getPascalCase(String) - Method in class com.graphql_java_generator.util.GraphqlUtils
Convert the given name, which is supposed to be in camel case (for instance: thisIsCamelCase) to a pascal case string (for instance: ThisIsCamelCase).
getQuery() - Method in class com.graphql_java_generator.client.request.AbstractGraphQLRequest
 
getQuery() - Method in class com.graphql_java_generator.server.util.QueryParameters
 
getQueryContext() - Method in class com.graphql_java_generator.client.request.AbstractGraphQLRequest
Retrieved the QueryField for the query (that is the query type coming from the GraphQL schema) from the concrete class.
getQueryExecutor() - Method in class com.graphql_java_generator.client.GraphQLConfiguration
Retrieves the QueryExecutor for this GraphQL configuration
getQuotedScanBasePackages(String) - Method in class com.graphql_java_generator.util.GraphqlUtils
 
getRequestName() - Method in class com.graphql_java_generator.client.request.AbstractGraphQLRequest
 
getRequestType() - Method in class com.graphql_java_generator.client.request.AbstractGraphQLRequest
 
getRuntimeVersion() - Method in class com.graphql_java_generator.util.GraphqlUtils
Returns the version of the runtime, that is used to check that the runtime's version is the same as the Maven or Gradle plugin's version.
getSession() - Method in class com.graphql_java_generator.client.GraphQLReactiveWebSocketHandler
 
getSession() - Method in interface com.graphql_java_generator.client.SubscriptionClient
Allow to retrieve the WebSocketSession, when the implementation is based on Spring Reactive, which is the default since release 1.12
getSession() - Method in class com.graphql_java_generator.client.SubscriptionClientReactiveImpl
 
getSetter(Class<T>, Field) - Method in class com.graphql_java_generator.util.GraphqlUtils
Retrieves the setter for the given field on the given field
getStaticConfiguration() - Static method in class com.graphql_java_generator.client.request.AbstractGraphQLRequest
This gets the default configuration, that will apply if no local configuration has been defined for this instance.
getSubscription() - Method in class com.graphql_java_generator.client.request.AbstractGraphQLRequest
 
getSubscriptionContext() - Method in class com.graphql_java_generator.client.request.AbstractGraphQLRequest
Retrieved the QueryField for the subscription (that is the subscription type coming from the GraphQL schema) from the concrete class.
getType() - Method in class com.graphql_java_generator.client.request.InputParameter
 
getTypeName() - Method in class com.graphql_java_generator.client.request.Fragment
 
getValue() - Method in class com.graphql_java_generator.client.request.InputParameter
 
getValueAsText(Value<?>) - Method in class com.graphql_java_generator.util.GraphqlUtils
Returns the given value, as text, as it can be written into a generated GraphQL schema.
A str string default value will be returned as "str",a JEDI enum value will be returned as JEDI, ...
getValueClazz() - Method in class com.graphql_java_generator.customscalars.CustomScalar
 
getValueForGraphqlQuery(boolean, 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.
getVariables() - Method in class com.graphql_java_generator.server.util.QueryParameters
 
getWebClient(String, HttpClient, ExchangeFilterFunction...) - Static method in class com.graphql_java_generator.client.GraphQLConfiguration
Builds a Spring reactive WebClient, from the specified parameters.
Note: this utility can be used if you need to create your own WebClient, for instance to add your own filters to the WebClient
getWebSocketClient(HttpClient) - Static method in class com.graphql_java_generator.client.GraphQLConfiguration
Creates the Spring reactive WebSocketClient that will be used for subscriptions.
getWebSocketURI() - Method in class com.graphql_java_generator.client.QueryExecutorSpringReactiveImpl
Retrieves the URI for the Web Socket, based on the GraphQL endpoint that has been given to the Constructor
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
 
GRAPHQL_VALUE - com.graphql_java_generator.client.request.InputParameter.InputParameterType
A GraphQL value provided in the request being parsed
GRAPHQL_VARIABLE - com.graphql_java_generator.client.request.InputParameter.InputParameterType
A GraphQL variable, marked by a '$', that will be transmitted to the server in the variables json attribute of the request
graphqlClientUtils - Static variable in class com.graphql_java_generator.client.GraphqlClientUtils
A singleton without Spring
GraphqlClientUtils - Class in com.graphql_java_generator.client
 
GraphqlClientUtils() - Constructor for class com.graphql_java_generator.client.GraphqlClientUtils
 
GraphQLConfiguration - Class in com.graphql_java_generator.client
This class contains a GraphQL configuration for the GraphQL client.
GraphQLConfiguration(QueryExecutor) - Constructor for class com.graphql_java_generator.client.GraphQLConfiguration
The default constructor, that is used by Spring.
GraphQLConfiguration(String) - Constructor for class com.graphql_java_generator.client.GraphQLConfiguration
This constructor expects the URI of the GraphQL server.
GraphQLConfiguration(String, SSLContext, HostnameVerifier) - Constructor for class com.graphql_java_generator.client.GraphQLConfiguration
Deprecated.
GraphQLConfiguration(String, Client) - Constructor for class com.graphql_java_generator.client.GraphQLConfiguration
Deprecated.
GraphQLDeserializationProblemHandler() - Constructor for class com.graphql_java_generator.client.GraphQLObjectMapper.GraphQLDeserializationProblemHandler
 
GraphQLDirective - Annotation Type in com.graphql_java_generator.annotation
 
GraphQLEnumType - Annotation Type in com.graphql_java_generator.annotation
 
GraphQLField - Interface in com.graphql_java_generator
Common interface implemented by all GraphQL POJO field name enumerations.
GraphQLIgnore - Annotation Type in com.graphql_java_generator.annotation
This annotation marke the type, field or method as a non GraphQL one.
GraphQLInputParameters - Annotation Type in com.graphql_java_generator.annotation
This class indicates that this field has at least one input parameter.
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.
GraphQLInterfaceType - Annotation Type in com.graphql_java_generator.annotation
 
GraphQLInternalErrorException - Exception in com.graphql_java_generator.exception
Thrown when an internal error of the GraphQL generator occurs
GraphQLInternalErrorException(String) - Constructor for exception com.graphql_java_generator.exception.GraphQLInternalErrorException
 
GraphQLInternalErrorException(String, Throwable) - Constructor for exception com.graphql_java_generator.exception.GraphQLInternalErrorException
 
GraphQLMutationExecutor - Interface in com.graphql_java_generator.client
This interface marks a class as being the executor for a GraphQL mutation.
GraphQLNonScalar - Annotation Type in com.graphql_java_generator.annotation
This annotation marks all fields in the generated classes, that are non scalar.
GraphQLObjectMapper - Class in com.graphql_java_generator.client
This class is a wrapper around an ObjectMapper.
GraphQLObjectMapper(String, Map<Class<?>, Map<String, Field>>) - Constructor for class com.graphql_java_generator.client.GraphQLObjectMapper
Standard creator for the GraphQL ObjectMapper
GraphQLObjectMapper.GraphQLDeserializationProblemHandler - Class in com.graphql_java_generator.client
This class handles various deserialization problems.
GraphQLObjectType - Annotation Type in com.graphql_java_generator.annotation
 
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.
GraphQLQueryExecutor - Interface in com.graphql_java_generator.client
This interface marks a class as being the executor for a GraphQL query.
GraphQLReactiveWebSocketHandler<R,​T> - Class in com.graphql_java_generator.client
This class implements the Web Socket, as needed by the Spring Web Socket implementation.
GraphQLReactiveWebSocketHandler(String, String, SubscriptionCallback<T>, Class<R>, Class<T>, GraphQLObjectMapper) - Constructor for class com.graphql_java_generator.client.GraphQLReactiveWebSocketHandler
 
GraphQLRepository - Annotation Type in com.graphql_java_generator.client.graphqlrepository
 
GraphQLRepositoryInvocationHandler<T> - Class in com.graphql_java_generator.client.graphqlrepository
This class is responsible to execute the method call to GraphQLRepository.
GraphQLRepositoryInvocationHandler(Class<T>, GraphQLQueryExecutor, GraphQLMutationExecutor, GraphQLSubscriptionExecutor) - Constructor for class com.graphql_java_generator.client.graphqlrepository.GraphQLRepositoryInvocationHandler
This constructor builds the instance from the given Spring ApplicationContext provides the query, mutation and subscription that have been defined in the GraphQL schema.
GraphQLRepositoryInvocationHandler(Class<T>, ApplicationContext) - Constructor for class com.graphql_java_generator.client.graphqlrepository.GraphQLRepositoryInvocationHandler
This constructor builds the instance from the given Spring ApplicationContext: it extracts the query, mutation and subscription executors that have been generated from the GraphQL schema.
GraphQLRepositoryProxyBeanFactory - Class in com.graphql_java_generator.client.graphqlrepository
The GraphQLRepositoryInvocationHandlers are created for each interface marked by the GraphQLRepository annotation by the GraphQLRepositoryProxyBeansRegistrar Spring configuration class.
GraphQLRepositoryProxyBeanFactory() - Constructor for class com.graphql_java_generator.client.graphqlrepository.GraphQLRepositoryProxyBeanFactory
 
GraphQLRepositoryProxyBeansRegistrar - Class in com.graphql_java_generator.client.graphqlrepository
Implementation of ImportBeanDefinitionRegistrar, that scans the given package for GraphQLRepository annotated interfaces, and register dynamic proxies as beans.
GraphQLRepositoryProxyBeansRegistrar() - Constructor for class com.graphql_java_generator.client.graphqlrepository.GraphQLRepositoryProxyBeansRegistrar
 
GraphQLRequestExecutionException - Exception in com.graphql_java_generator.exception
Thrown when an error occurs during the request execution.
GraphQLRequestExecutionException(String) - Constructor for exception com.graphql_java_generator.exception.GraphQLRequestExecutionException
 
GraphQLRequestExecutionException(String, Throwable) - Constructor for exception com.graphql_java_generator.exception.GraphQLRequestExecutionException
 
GraphQLRequestObject - Interface in com.graphql_java_generator.client
This interface marks a class as being the implementation for the GraphQL type defined in the GraphQL schema, that is a query, a mutation or a subscription.
GraphQLRequestPreparationException - Exception in com.graphql_java_generator.exception
Thrown when an error occurs during the request preparation.
GraphQLRequestPreparationException(String) - Constructor for exception com.graphql_java_generator.exception.GraphQLRequestPreparationException
 
GraphQLRequestPreparationException(String, Throwable) - Constructor for exception com.graphql_java_generator.exception.GraphQLRequestPreparationException
 
GraphQLResponseParseException - Exception in com.graphql_java_generator.exception
Thrown when the client could not parse the GraphQL response.
GraphQLResponseParseException(String) - Constructor for exception com.graphql_java_generator.exception.GraphQLResponseParseException
 
GraphQLResponseParseException(String, Throwable) - Constructor for exception com.graphql_java_generator.exception.GraphQLResponseParseException
 
GraphQLScalar - Annotation Type in com.graphql_java_generator.annotation
This annotation marks all fields in the generated classes, that are standard GraphQL scalar.
GraphQLScalarTypeDate - Class in com.graphql_java_generator.customscalars
A proposed Date scalar, that stores dates in String, formatted as: YYYY-MM-DD
This Scalar is proposed to be used, for integration testing (checks that the plugin correctly manages Custom Scalars, see samples) and with more documentation to help people to create their own Custom Scalar implementations.
GraphQLScalarTypeDate() - Constructor for class com.graphql_java_generator.customscalars.GraphQLScalarTypeDate
 
GraphQLScalarTypeDateTime - Class in com.graphql_java_generator.customscalars
A proposed DateTime scalar, that stores dates in String, formatted as: 2019-07-03T20:47:55Z
This Scalar is proposed to be used, for integration testing (checks that the plugin correctly manages Custom Scalars, see samples) and with more documentation to help people to create their own Custom Scalar implementations.
GraphQLScalarTypeDateTime() - Constructor for class com.graphql_java_generator.customscalars.GraphQLScalarTypeDateTime
 
GraphQLScalarTypeIDClient - Class in com.graphql_java_generator.customscalars
ID are managed as String, on client side.
GraphQLScalarTypeIDClient() - Constructor for class com.graphql_java_generator.customscalars.GraphQLScalarTypeIDClient
 
GraphQLScalarTypeIDServer - Class in com.graphql_java_generator.customscalars
ID are managed as UUID, on server side.
GraphQLScalarTypeIDServer() - Constructor for class com.graphql_java_generator.customscalars.GraphQLScalarTypeIDServer
 
GraphQLScalarTypeString - Class in com.graphql_java_generator.customscalars
Useless String scalar.
It's used both as a sample, to be completed by a developper, according to his/her needs, and for the use in some tests of the plugin logic (like in the Shopify sample, to handle (badly) various scalar as based on strings).
It's actually a bad management, as this custom scalars does nothing, but read basic strings.
GraphQLScalarTypeString() - Constructor for class com.graphql_java_generator.customscalars.GraphQLScalarTypeString
 
GraphQLSubscriptionExecutor - Interface in com.graphql_java_generator.client
This interface marks a class as being the executor for a GraphQL subscription.
graphQLTypeSimpleName() - Method in annotation type com.graphql_java_generator.annotation.GraphQLNonScalar
The name of the Scalar type, as defined in the GraphQL schema, without indication of list or mandatory.
graphQLTypeSimpleName() - Method in annotation type com.graphql_java_generator.annotation.GraphQLScalar
The name of the Scalar type, as defined in the GraphQL schema, without indication of list or mandatory.
GraphQLUnionType - Annotation Type in com.graphql_java_generator.annotation
 
graphqlUtils - Static variable in class com.graphql_java_generator.util.GraphqlUtils
This singleton is usable in default method, within interfaces
GraphqlUtils - Class in com.graphql_java_generator.util
 
GraphqlUtils() - Constructor for class com.graphql_java_generator.util.GraphqlUtils
 

H

handle(WebSocketSession) - Method in class com.graphql_java_generator.client.GraphQLReactiveWebSocketHandler
 
handleUnknownProperty(DeserializationContext, JsonParser, JsonDeserializer<?>, Object, String) - Method in class com.graphql_java_generator.client.GraphQLObjectMapper.GraphQLDeserializationProblemHandler
 
HARD_CODED - com.graphql_java_generator.client.request.InputParameter.InputParameterType
For InputParameter which value is given in the request being parsed
hasMoreTokens() - Method in class com.graphql_java_generator.client.request.QueryTokenizer
Indicates if there are next non empty tokens in the list.
hasMoreTokens(boolean) - Method in class com.graphql_java_generator.client.request.QueryTokenizer
Indicates if there are next non empty tokens in the list.
headers() - Method in class com.graphql_java_generator.client.OAuthTokenExtractor.GetOAuthTokenClientResponse
 

I

ID - Static variable in class com.graphql_java_generator.customscalars.GraphQLScalarTypeIDClient
UUID are managed as String, on client side.
ID - Static variable in class com.graphql_java_generator.customscalars.GraphQLScalarTypeIDServer
UUID are managed as String, on client side.
INLINE_FRAGMENT - com.graphql_java_generator.client.directive.DirectiveLocation
 
INPUT_FIELD_DEFINITION - com.graphql_java_generator.client.directive.DirectiveLocation
 
INPUT_OBJECT - com.graphql_java_generator.client.directive.DirectiveLocation
 
InputParameter - Class in com.graphql_java_generator.client.request
Contains an input parameter, to be sent to a query (mutation...).
InputParameter.InputParameterType - Enum in com.graphql_java_generator.client.request
Indicates the kind of parameter
INTERFACE - com.graphql_java_generator.client.directive.DirectiveLocation
 
invoke(Object, Method, Object[]) - Method in class com.graphql_java_generator.client.graphqlrepository.GraphQLRepositoryInvocationHandler
Invocation of the InvocationHandler.
invokeGetter(Object, String) - Method in class com.graphql_java_generator.util.GraphqlUtils
Invoke the getter for the given field name, on the given object.
invokeMethod(Method, Object, Object...) - Method in class com.graphql_java_generator.util.GraphqlUtils
Invoke the given setter on the given object, with the given value.
invokeMethod(String, Object, Object...) - Method in class com.graphql_java_generator.util.GraphqlUtils
Calls the 'methodName' method on the given object.
invokeSetter(Object, Field, Object) - Method in class com.graphql_java_generator.util.GraphqlUtils
Invoke the setter for the given field, on the given object.
invokeSetter(Object, String, Object) - Method in class com.graphql_java_generator.util.GraphqlUtils
Invoke the setter for the Field of the given name, on the given object.
isCandidateComponent(AnnotatedBeanDefinition) - Method in class com.graphql_java_generator.client.graphqlrepository.ClassPathScanner
 
isItemMandatory() - Method in class com.graphql_java_generator.client.request.InputParameter
 
isJavaReservedWords(String) - Method in class com.graphql_java_generator.util.GraphqlUtils
Returns true if name is a reserved java keyword
isMandatory() - Method in class com.graphql_java_generator.client.request.InputParameter
 
isQueryLevel() - Method in class com.graphql_java_generator.client.request.QueryField
Indicates whether this field is a query/mutation/subscription or not
isScalar() - Method in class com.graphql_java_generator.client.request.QueryField
Indicates whether this field is a scalar or not.
isScalar(AccessibleObject) - Method in class com.graphql_java_generator.client.GraphqlClientUtils
Indicates whether the given class is a scalar or not
itemsMandatory() - Method in annotation type com.graphql_java_generator.annotation.GraphQLInputParameters
Contains for each input parameters named in GraphQLInputParameters.names(), true if this parameter is a list and its items are mandatory (according to GraphQL list's specification), and false otherwise.
iterableConcreteClassToListInterface(Iterable<? extends I>) - Method in class com.graphql_java_generator.util.GraphqlUtils
Transform an Iterable (which can be a List) of a concrete class, into a List of the I interface or superclass.
iterableToList(Iterable<I>) - Method in class com.graphql_java_generator.util.GraphqlUtils
Transform an Iterable (which can be a List), into a List of items of the same type.

J

JAVA_KEYWORD_PREFIX - Static variable in class com.graphql_java_generator.util.GraphqlUtils
 
javaClass() - Method in annotation type com.graphql_java_generator.annotation.GraphQLNonScalar
Contains the java data type that is has used to store the data, on both the client and the server side.
javaClass() - Method in annotation type com.graphql_java_generator.annotation.GraphQLScalar
Contains the java data type that is has used to store the data, on both the client and the server side.
JsonKit - Class in com.graphql_java_generator.server.util
This example code chose to use GSON as its JSON parser.
JsonKit() - Constructor for class com.graphql_java_generator.server.util.JsonKit
 
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
 
listDepths() - Method in annotation type com.graphql_java_generator.annotation.GraphQLInputParameters
Contains for each input parameters named in GraphQLInputParameters.names(), 0 if this parameter is not a list, and a positive number if this input parameter is a list (2, for instance for [[Int]]).
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
 
logPrefix() - Method in class com.graphql_java_generator.client.OAuthTokenExtractor.GetOAuthTokenClientResponse
 

M

mandatories() - Method in annotation type com.graphql_java_generator.annotation.GraphQLInputParameters
Contains for each input parameters named in GraphQLInputParameters.names(), true if this parameter is mandatory, and false otherwise.
MANDATORY - com.graphql_java_generator.client.request.InputParameter.InputParameterType
A mandatory InputParameter, that is one which declaration starts with a '&'
MEANINGFUL_DELIMITERS - Static variable in class com.graphql_java_generator.client.request.QueryTokenizer
 
message - Variable in class com.graphql_java_generator.client.response.Error
 
mutation - com.graphql_java_generator.annotation.RequestType
 
MUTATION - com.graphql_java_generator.client.directive.DirectiveLocation
 

N

name() - Method in annotation type com.graphql_java_generator.annotation.GraphQLDirective
The name of the Directive, as defined in the GraphQL schema.
name() - Method in annotation type com.graphql_java_generator.annotation.GraphQLQuery
The name of the query/mutation/subscription, that is represented by the annotated java class, as defined in the GraphQL schema.
name() - Method in annotation type com.graphql_java_generator.client.graphqlrepository.BindParameter
The Bind Parameter or GraphQL variable's name, as defined in the GraphQL Request by either &name, ?
names() - Method in annotation type com.graphql_java_generator.annotation.GraphQLInputParameters
Contains the list of the names for each of the input parameters of this field.
newBindParameter(String, String, InputParameter.InputParameterType, String, boolean, int, 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.
newGraphQLVariableParameter(String, String, boolean, int, boolean) - 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.
newHardCodedParameter(String, Object, String, boolean, int, boolean) - 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.
nextToken() - Method in class com.graphql_java_generator.client.request.QueryTokenizer
Returns the next token.
nextToken(boolean) - Method in class com.graphql_java_generator.client.request.QueryTokenizer
Returns the next token, which may or may not be an empty one, depending on returnEmptyDelimiters

O

OAuthTokenExtractor - Class in com.graphql_java_generator.client
This class is used to retrieve the OAuth token, when in client mode, for subscription.
OAuthTokenExtractor(ServerOAuth2AuthorizedClientExchangeFilterFunction) - Constructor for class com.graphql_java_generator.client.OAuthTokenExtractor
 
OAuthTokenExtractor.GetOAuthTokenClientResponse - Class in com.graphql_java_generator.client
An implementation of a spring ClientResponse, that will contain the faked response, which body is the value for the Authorization header (that contains the bearer token)
OAuthTokenExtractor.OAuthTokenFilter - Class in com.graphql_java_generator.client
This class filters the dummy request, and respond by the OAuthTokenExtractor.GetOAuthTokenClientResponse when the OAuthTokenExtractor.DUMMY_REQUEST is executed
OAuthTokenFilter() - Constructor for class com.graphql_java_generator.client.OAuthTokenExtractor.OAuthTokenFilter
 
OBJECT - com.graphql_java_generator.client.directive.DirectiveLocation
 
ObjectResponse - Class in com.graphql_java_generator.client.request
This useless class is here only for compatibility with existing code, developped before the 1.6 release.
ObjectResponse(String) - Constructor for class com.graphql_java_generator.client.request.ObjectResponse
ObjectResponse(String, RequestType, String, InputParameter...) - Constructor for class com.graphql_java_generator.client.request.ObjectResponse
onClose(int, String) - Method in interface com.graphql_java_generator.client.SubscriptionCallback
A callback to make the program aware of the end of the subscription channel.
onClose(int, String) - Method in class com.graphql_java_generator.client.SubscriptionClientWebSocket
Notify the application, when the Web Socket is closed.
onComplete() - Method in class com.graphql_java_generator.client.GraphQLReactiveWebSocketHandler
 
onConnect() - Method in interface com.graphql_java_generator.client.SubscriptionCallback
This method is called once the subscription has been submitted to the GraphQL server.
onConnect(Session) - Method in class com.graphql_java_generator.client.SubscriptionClientWebSocket
As soon as the Web Socket is connected, this method executes the subscription GraphQL request
onError(Throwable) - Method in class com.graphql_java_generator.client.GraphQLReactiveWebSocketHandler
 
onError(Throwable) - Method in interface com.graphql_java_generator.client.SubscriptionCallback
Whenever an error occurs, at any time of the subscription processing.
onError(Throwable) - Method in class com.graphql_java_generator.client.SubscriptionClientWebSocket
Notify the application, when an error occurs.
onMessage(String) - Method in class com.graphql_java_generator.client.SubscriptionClientWebSocket
Each message is received as text, that is a standard GraphQL response.
onMessage(T) - Method in interface com.graphql_java_generator.client.SubscriptionCallback
This method is called each time a message is sent by the server, for this subscription.
onNext(WebSocketMessage) - Method in class com.graphql_java_generator.client.GraphQLReactiveWebSocketHandler
The callback that will receive the messages from the web socket.
onSubscribe(Subscription) - Method in class com.graphql_java_generator.client.GraphQLReactiveWebSocketHandler
 
OPTIONAL - com.graphql_java_generator.client.request.InputParameter.InputParameterType
An optional InputParameter, that is one which declaration starts with a '?'
optionalToObject(Optional<T>) - Method in class com.graphql_java_generator.util.GraphqlUtils
Transform an Optional, as returned by Spring Data repositories, into a standard Java, which is null if there is no value.

P

packageName - Variable in class com.graphql_java_generator.client.request.AbstractGraphQLRequest
The package name, where the GraphQL generated classes are.
parseValueForInputParameter(Object, String, Class<?>) - Method in class com.graphql_java_generator.util.GraphqlUtils
Parse a value, depending on the parameter type.
PartialRequest - Annotation Type in com.graphql_java_generator.client.graphqlrepository
 
path - Variable in class com.graphql_java_generator.client.response.Error
 

Q

query - com.graphql_java_generator.annotation.RequestType
 
QUERY - com.graphql_java_generator.client.directive.DirectiveLocation
 
queryExecutor() - Method in annotation type com.graphql_java_generator.client.graphqlrepository.GraphQLRepository
When more than one GraphQL schema are used, a GraphQL Repository requests may be relative to only one GraphQL schema.
QueryExecutor - Interface in com.graphql_java_generator.client
This class is the query executor : a generic class, responsible for calling the GraphQL server, and return its response as POJOs.
QueryExecutorImpl - Class in com.graphql_java_generator.client
Deprecated.
QueryExecutorImpl(String) - Constructor for class com.graphql_java_generator.client.QueryExecutorImpl
Deprecated.
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
Deprecated.
This method is deprecated since version v1.12.
QueryExecutorImpl(String, Client) - Constructor for class com.graphql_java_generator.client.QueryExecutorImpl
Deprecated.
QueryExecutorSpringReactiveImpl - Class in com.graphql_java_generator.client
This is the default implementation for the QueryExecutor This implementation has been added in version 1.12.
It is loaded by the SpringConfiguration Spring configuration class, that is generated with the client code.
QueryExecutorSpringReactiveImpl(String, String, WebClient, WebSocketClient, ServerOAuth2AuthorizedClientExchangeFilterFunction, OAuthTokenExtractor) - Constructor for class com.graphql_java_generator.client.QueryExecutorSpringReactiveImpl
This constructor may be called by Spring, once it has build a WebClient bean, or directly, in non Spring applications.
QueryField - Class in com.graphql_java_generator.client.request
This class gives parsing capabilities for the QueryString for one object.
For instance, for the GraphQL query queryType.boards("{id name publiclyAvailable topics(since: \"2018-12-20\"){id}}"), it is created for the field named boards, then the #readTokenizerForResponseDefinition(StringTokenizer) is called for the whole String.
QueryField(Class<?>, String) - Constructor for class com.graphql_java_generator.client.request.QueryField
The constructor, when created by the Builder: it must provide the owningClass
QueryField(Class<?>, String, String) - Constructor for class com.graphql_java_generator.client.request.QueryField
The constructor, when created by the Builder: it must provide the owningClass
QueryParameters - Class in com.graphql_java_generator.server.util
Graphql clients can send GET or POST HTTP requests.
QueryParameters() - Constructor for class com.graphql_java_generator.server.util.QueryParameters
 
queryPath - Variable in class com.graphql_java_generator.client.response.Error
 
QueryTokenizer - Class in com.graphql_java_generator.client.request
This class is responsible to split the GraphQL query into meaningful tokens: the spaces, EOL (...) are removed and the (, @, { (...) are sent as token.
QueryTokenizer(String) - Constructor for class com.graphql_java_generator.client.request.QueryTokenizer
Create a tokenizer for the given GraphQL query

R

RawGraphQLString - Class in com.graphql_java_generator.client.request
This class contains a portion of GraphQL request.
RawGraphQLString(String) - Constructor for class com.graphql_java_generator.client.request.RawGraphQLString
 
rawStatusCode() - Method in class com.graphql_java_generator.client.OAuthTokenExtractor.GetOAuthTokenClientResponse
 
readNextRealToken(String, String) - Method in class com.graphql_java_generator.client.request.QueryTokenizer
Reads the next real token, that is the next token that is not a separator
readTokenizerForInputParameters(QueryTokenizer, Directive, Class<?>, String) - Static method in class com.graphql_java_generator.client.request.InputParameter
Reads a list of input parameters, from a QueryTokenizer.
readTokenizerForResponseDefinition(QueryTokenizer, Map<Class<?>, Map<String, Field>>) - Method in class com.graphql_java_generator.client.request.QueryField
Reads the definition of the expected response definition from the server.
readValue(String, Class<T>) - Method in class com.graphql_java_generator.client.GraphQLObjectMapper
 
registerAllDirectives() - Method in interface com.graphql_java_generator.client.directive.DirectiveRegistry
This method registers all GraphQLScalarType that are declared as Spring Component.
registerAllDirectives() - Method in class com.graphql_java_generator.client.directive.DirectiveRegistryImpl
This method registers all GraphQLScalarType that are declared as Spring Component.
registerBeanDefinitions(AnnotationMetadata, BeanDefinitionRegistry) - Method in class com.graphql_java_generator.client.graphqlrepository.GraphQLRepositoryProxyBeansRegistrar
 
registerDirective(Directive) - Method in interface com.graphql_java_generator.client.directive.DirectiveRegistry
Manually register one GraphQL directive.
registerDirective(Directive) - Method in class com.graphql_java_generator.client.directive.DirectiveRegistryImpl
Manually register one GraphQL directive.
registerGraphQLScalarType(GraphQLScalarType, Class<?>) - Method in interface com.graphql_java_generator.customscalars.CustomScalarRegistry
Manually register one GraphQLScalarType.
registerGraphQLScalarType(GraphQLScalarType, Class<?>) - Method in class com.graphql_java_generator.customscalars.CustomScalarRegistryImpl
 
releaseBody() - Method in class com.graphql_java_generator.client.OAuthTokenExtractor.GetOAuthTokenClientResponse
 
request() - Method in annotation type com.graphql_java_generator.client.graphqlrepository.FullRequest
The GraphQL request.
request() - Method in annotation type com.graphql_java_generator.client.graphqlrepository.PartialRequest
The GraphQL request.
requestName() - Method in annotation type com.graphql_java_generator.client.graphqlrepository.PartialRequest
The name of the request, as defined in the GraphQL schema.
requestType() - Method in annotation type com.graphql_java_generator.client.graphqlrepository.FullRequest
The kind of request that this method will execute.
requestType() - Method in annotation type com.graphql_java_generator.client.graphqlrepository.PartialRequest
The kind of request that this method will execute.
RequestType - Enum in com.graphql_java_generator.annotation
 
RootResponse - Interface in com.graphql_java_generator.client.response
This interface is implemented by the query, mutation and subscription root responses in the generated code.

S

SCALAR - com.graphql_java_generator.client.directive.DirectiveLocation
 
SCHEMA - com.graphql_java_generator.client.directive.DirectiveLocation
 
setArguments(List<InputParameter>) - Method in class com.graphql_java_generator.client.directive.Directive
 
setBeanClassLoader(ClassLoader) - Method in class com.graphql_java_generator.client.graphqlrepository.GraphQLRepositoryProxyBeansRegistrar
 
setDirectiveLocations(List<DirectiveLocation>) - Method in class com.graphql_java_generator.client.directive.Directive
 
setExtensions(JsonNode) - Method in interface com.graphql_java_generator.client.GraphQLRequestObject
Set the GraphQL response's extensions field.
setExtensions(JsonNode) - Method in class com.graphql_java_generator.client.response.Error
 
setGraphQLScalarType(GraphQLScalarType) - Method in class com.graphql_java_generator.customscalars.CustomScalar
 
setInstanceConfiguration(GraphQLConfiguration) - Method in class com.graphql_java_generator.client.request.AbstractGraphQLRequest
This sets the configuration for this instance.
setName(String) - Method in class com.graphql_java_generator.client.directive.Directive
 
setPackageName(String) - Method in class com.graphql_java_generator.client.directive.Directive
 
setStaticConfiguration(GraphQLConfiguration) - Static method in class com.graphql_java_generator.client.request.AbstractGraphQLRequest
This sets the default configuration, that will apply if no local configuration has been defined for this instance.
setValueClazz(Class<?>) - Method in class com.graphql_java_generator.customscalars.CustomScalar
 
sourceName - Variable in class com.graphql_java_generator.client.response.Location
 
statusCode() - Method in class com.graphql_java_generator.client.OAuthTokenExtractor.GetOAuthTokenClientResponse
 
strategies() - Method in class com.graphql_java_generator.client.OAuthTokenExtractor.GetOAuthTokenClientResponse
 
String - Static variable in class com.graphql_java_generator.customscalars.GraphQLScalarTypeString
Useless String scalar.
It's used both as a sample, to be completed by a developper, according to his/her needs, and for the use in some tests of the plugin logic (like in the Shopify sample, to handle (badly) various scalar as based on strings).
It's actually a bad management, as this custom scalars does nothing, but read basic strings.
subscription - com.graphql_java_generator.annotation.RequestType
 
SUBSCRIPTION - com.graphql_java_generator.client.directive.DirectiveLocation
 
SubscriptionCallback<T> - Interface in com.graphql_java_generator.client
This interface will receive the notification for each message that comes from a subscription.
SubscriptionClient - Interface in com.graphql_java_generator.client
This interface allows the application to interact with the subscription, once it has subscribed to it.
SubscriptionClientReactiveImpl - Class in com.graphql_java_generator.client
Default implementation for the SubscriptionClient interface.
SubscriptionClientReactiveImpl(Disposable, WebSocketSession) - Constructor for class com.graphql_java_generator.client.SubscriptionClientReactiveImpl
 
SubscriptionClientWebSocket<R,​T> - Class in com.graphql_java_generator.client
This class implements the Web Socket, as needed by the jetty's Web Socket implementation.

T

timestamp - Variable in class com.graphql_java_generator.client.response.Extension
 
toBodilessEntity() - Method in class com.graphql_java_generator.client.OAuthTokenExtractor.GetOAuthTokenClientResponse
 
toEntity(Class<T>) - Method in class com.graphql_java_generator.client.OAuthTokenExtractor.GetOAuthTokenClientResponse
 
toEntity(ParameterizedTypeReference<T>) - Method in class com.graphql_java_generator.client.OAuthTokenExtractor.GetOAuthTokenClientResponse
 
toEntityList(Class<T>) - Method in class com.graphql_java_generator.client.OAuthTokenExtractor.GetOAuthTokenClientResponse
 
toEntityList(ParameterizedTypeReference<T>) - Method in class com.graphql_java_generator.client.OAuthTokenExtractor.GetOAuthTokenClientResponse
 
toJsonString(Object) - Static method in class com.graphql_java_generator.server.util.JsonKit
 
toMap(String) - Static method in class com.graphql_java_generator.server.util.JsonKit
 
toString() - Method in class com.graphql_java_generator.client.request.RawGraphQLString
 
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
 
treeToValue(TreeNode, Class<T>) - Method in class com.graphql_java_generator.client.GraphQLObjectMapper
 
type() - Method in annotation type com.graphql_java_generator.annotation.GraphQLQuery
The type : query, mutation or subscription, as defined in the GraphQL schema.
types() - Method in annotation type com.graphql_java_generator.annotation.GraphQLInputParameters
Contains the list of the types for each of the input parameters of this field.

U

UNION - com.graphql_java_generator.client.directive.DirectiveLocation
 
unsubscribe() - Method in interface com.graphql_java_generator.client.SubscriptionClient
Allows the client application to unsubscribe from a previously subscribed subscription.
unsubscribe() - Method in class com.graphql_java_generator.client.SubscriptionClientReactiveImpl
 

V

validationErrorType - Variable in class com.graphql_java_generator.client.response.Error
 
value() - Method in annotation type com.graphql_java_generator.annotation.GraphQLEnumType
The name of the enum that is represented by the annotated java class, as defined in the GraphQL schema.
value() - Method in annotation type com.graphql_java_generator.annotation.GraphQLInputType
The name of the type that is represented by the annotated java class, as defined in the GraphQL schema.
value() - Method in annotation type com.graphql_java_generator.annotation.GraphQLInterfaceType
The name of the interface that is represented by the annotated java class, as defined in the GraphQL schema.
value() - Method in annotation type com.graphql_java_generator.annotation.GraphQLObjectType
The name of the type that is represented by the annotated java class, as defined in the GraphQL schema.
value() - Method in annotation type com.graphql_java_generator.annotation.GraphQLUnionType
The name of the union that is represented by the annotated java class, as defined in the GraphQL schema.
value() - Method in annotation type com.graphql_java_generator.client.graphqlrepository.EnableGraphQLRepositories
 
value() - Method in annotation type com.graphql_java_generator.client.graphqlrepository.GraphQLRepository
The name of the Spring bean to build.
valueOf(String) - Static method in enum com.graphql_java_generator.annotation.RequestType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.graphql_java_generator.client.directive.DirectiveLocation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.graphql_java_generator.client.request.InputParameter.InputParameterType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.graphql_java_generator.annotation.RequestType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.graphql_java_generator.client.directive.DirectiveLocation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.graphql_java_generator.client.request.InputParameter.InputParameterType
Returns an array containing the constants of this enum type, in the order they are declared.

W

withQueryResponseDef(String) - Method in class com.graphql_java_generator.client.request.Builder
Builds a ObjectResponse from a part of a GraphQL query.
writeValueAsString(Object) - Method in class com.graphql_java_generator.client.GraphQLObjectMapper
 
A B C D E F G H I J L M N O P Q R S T U V W 
All Classes All Packages