Uses of Class
com.graphql_java_generator.exception.GraphQLRequestPreparationException
Package
Description
This package contains all the needed classes to manage
GraphQLRepository
.This package contains all the classes used to generate the requests toward the GraphQL server.
-
Uses of GraphQLRequestPreparationException in com.generated.graphql.util
Modifier and TypeMethodDescriptionThis method executes a partial query on the __schema query against the GraphQL server.This method executes a partial query against the GraphQL server.QueryTypeExecutor.__schemaWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the __schema query against the GraphQL server.QueryTypeReactiveExecutor.__schemaWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query against the GraphQL server.This method executes a partial query on the __type query against the GraphQL server.This method executes a partial query against the GraphQL server.MutationTypeExecutor.__typename
(String queryResponseDef, Object... paramsAndValues) This method executes a partial query on the __typename mutation against the GraphQL server.MutationTypeReactiveExecutor.__typename
(String queryResponseDef, Object... paramsAndValues) This method executes a partial query against the GraphQL server.QueryTypeExecutor.__typename
(String queryResponseDef, Object... paramsAndValues) This method executes a partial query on the __typename query against the GraphQL server.QueryTypeReactiveExecutor.__typename
(String queryResponseDef, Object... paramsAndValues) This method executes a partial query against the GraphQL server.MutationTypeExecutor.__typenameWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the __typename mutation against the GraphQL server.MutationTypeReactiveExecutor.__typenameWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query against the GraphQL server.QueryTypeExecutor.__typenameWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the __typename query against the GraphQL server.QueryTypeReactiveExecutor.__typenameWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query against the GraphQL server.QueryTypeExecutor.__typeWithBindValues
(String queryResponseDef, String name, Map<String, Object> parameters) This method executes a partial query on the __type query against the GraphQL server.QueryTypeReactiveExecutor.__typeWithBindValues
(String queryResponseDef, String name, Map<String, Object> parameters) This method executes a partial query against the GraphQL server.MutationTypeExecutor.addFriend
(String queryResponseDef, String idCharacter, String idNewFriend, Object... paramsAndValues) This method executes a partial query on the addFriend mutation against the GraphQL server.MutationTypeReactiveExecutor.addFriend
(String queryResponseDef, String idCharacter, String idNewFriend, Object... paramsAndValues) This method executes a partial query against the GraphQL server.MutationTypeExecutor.addFriendWithBindValues
(String queryResponseDef, String idCharacter, String idNewFriend, Map<String, Object> parameters) This method executes a partial query on the addFriend mutation against the GraphQL server.MutationTypeReactiveExecutor.addFriendWithBindValues
(String queryResponseDef, String idCharacter, String idNewFriend, Map<String, Object> parameters) This method executes a partial query against the GraphQL server.QueryTypeExecutor.characters
(String queryResponseDef, Episode episode, Object... paramsAndValues) This method executes a partial query on the characters query against the GraphQL server.QueryTypeReactiveExecutor.characters
(String queryResponseDef, Episode episode, Object... paramsAndValues) This method executes a partial query against the GraphQL server.QueryTypeExecutor.charactersWithBindValues
(String queryResponseDef, Episode episode, Map<String, Object> parameters) This method executes a partial query on the characters query against the GraphQL server.QueryTypeReactiveExecutor.charactersWithBindValues
(String queryResponseDef, Episode episode, Map<String, Object> parameters) This method executes a partial query against the GraphQL server.MutationTypeExecutor.createHuman
(String queryResponseDef, String name, String homePlanet, Object... paramsAndValues) This method executes a partial query on the createHuman mutation against the GraphQL server.MutationTypeReactiveExecutor.createHuman
(String queryResponseDef, String name, String homePlanet, Object... paramsAndValues) This method executes a partial query against the GraphQL server.MutationTypeExecutor.createHumanWithBindValues
(String queryResponseDef, String name, String homePlanet, Map<String, Object> parameters) This method executes a partial query on the createHuman mutation against the GraphQL server.MutationTypeReactiveExecutor.createHumanWithBindValues
(String queryResponseDef, String name, String homePlanet, Map<String, Object> parameters) This method executes a partial query against the GraphQL server.This method executes a partial query on the droid query against the GraphQL server.This method executes a partial query against the GraphQL server.QueryTypeExecutor.droidWithBindValues
(String queryResponseDef, String id, Map<String, Object> parameters) This method executes a partial query on the droid query against the GraphQL server.QueryTypeReactiveExecutor.droidWithBindValues
(String queryResponseDef, String id, Map<String, Object> parameters) This method executes a partial query against the GraphQL server.This method takes a full request definition, and executes it against the GraphQL server.reactor.core.publisher.Mono<MutationType>
This method takes a full request definition, and executes it against the GraphQL server.This method takes a full request definition, and executes it against the GraphQL server.reactor.core.publisher.Mono<QueryType>
This method takes a full request definition, and executes it against the GraphQL server.SubscriptionTypeExecutor.exec
(String queryResponseDef, SubscriptionCallback<?> subscriptionCallback, Object... paramsAndValues) This method takes a full request definition, and executes it against the GraphQL server.reactor.core.publisher.Flux<SubscriptionType>
This method takes a subscription full request definition, and executes it in reactive mode against the GraphQL server.MutationTypeExecutor.execWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method takes a full request definition, and executes it against the GraphQL server.reactor.core.publisher.Mono<MutationType>
MutationTypeReactiveExecutor.execWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method takes a full request definition, and executes it against the GraphQL server.QueryTypeExecutor.execWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method takes a full request definition, and executes it against the GraphQL server.reactor.core.publisher.Mono<QueryType>
QueryTypeReactiveExecutor.execWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method takes a full request definition, and executes it against the GraphQL server.SubscriptionTypeExecutor.execWithBindValues
(String queryResponseDef, SubscriptionCallback<?> subscriptionCallback, Map<String, Object> parameters) This method takes a full request definition, and executes it against the GraphQL server.reactor.core.publisher.Flux<SubscriptionType>
SubscriptionTypeReactiveExecutor.execWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method takes a subscription full request definition, and executes it in reactive mode against the GraphQL server.QueryTypeExecutor.get__schemaGraphQLRequest
(String partialRequest) Get theGraphQLRequest
for the __schema EXECUTOR, created with the given Partial request.QueryTypeReactiveExecutor.get__schemaGraphQLRequest
(String partialRequest) Get theGraphQLReactiveRequest
for the __schema REACTIVE_EXECUTOR, created with the given Partial request.QueryTypeExecutor.get__schemaResponseBuilder()
Get theBuilder
for the __Schema, as expected by the __schema query.QueryTypeReactiveExecutor.get__schemaResponseBuilder()
Get theBuilder
for the __Schema, as expected by the __schema query/mutation.QueryTypeExecutor.get__typeGraphQLRequest
(String partialRequest) Get theGraphQLRequest
for the __type EXECUTOR, created with the given Partial request.QueryTypeReactiveExecutor.get__typeGraphQLRequest
(String partialRequest) Get theGraphQLReactiveRequest
for the __type REACTIVE_EXECUTOR, created with the given Partial request.MutationTypeExecutor.get__typenameGraphQLRequest
(String partialRequest) Get theGraphQLRequest
for the __typename EXECUTOR, created with the given Partial request.MutationTypeReactiveExecutor.get__typenameGraphQLRequest
(String partialRequest) Get theGraphQLReactiveRequest
for the __typename REACTIVE_EXECUTOR, created with the given Partial request.QueryTypeExecutor.get__typenameGraphQLRequest
(String partialRequest) Get theGraphQLRequest
for the __typename EXECUTOR, created with the given Partial request.QueryTypeReactiveExecutor.get__typenameGraphQLRequest
(String partialRequest) Get theGraphQLReactiveRequest
for the __typename REACTIVE_EXECUTOR, created with the given Partial request.MutationTypeExecutor.get__typenameResponseBuilder()
Get theBuilder
for the String, as expected by the __typename query.MutationTypeReactiveExecutor.get__typenameResponseBuilder()
Get theBuilder
for the String, as expected by the __typename query/mutation.QueryTypeExecutor.get__typenameResponseBuilder()
Get theBuilder
for the String, as expected by the __typename query.QueryTypeReactiveExecutor.get__typenameResponseBuilder()
Get theBuilder
for the String, as expected by the __typename query/mutation.QueryTypeExecutor.get__typeResponseBuilder()
Get theBuilder
for the __Type, as expected by the __type query.QueryTypeReactiveExecutor.get__typeResponseBuilder()
Get theBuilder
for the __Type, as expected by the __type query/mutation.MutationTypeExecutor.getAddFriendGraphQLRequest
(String partialRequest) Get theGraphQLRequest
for the addFriend EXECUTOR, created with the given Partial request.MutationTypeReactiveExecutor.getAddFriendGraphQLRequest
(String partialRequest) Get theGraphQLReactiveRequest
for the addFriend REACTIVE_EXECUTOR, created with the given Partial request.MutationTypeExecutor.getAddFriendResponseBuilder()
Get theBuilder
for the Character, as expected by the addFriend query.MutationTypeReactiveExecutor.getAddFriendResponseBuilder()
Get theBuilder
for the Character, as expected by the addFriend query/mutation.QueryTypeExecutor.getCharactersGraphQLRequest
(String partialRequest) Get theGraphQLRequest
for the characters EXECUTOR, created with the given Partial request.QueryTypeReactiveExecutor.getCharactersGraphQLRequest
(String partialRequest) Get theGraphQLReactiveRequest
for the characters REACTIVE_EXECUTOR, created with the given Partial request.QueryTypeExecutor.getCharactersResponseBuilder()
Get theBuilder
for the Character, as expected by the characters query.QueryTypeReactiveExecutor.getCharactersResponseBuilder()
Get theBuilder
for the Character, as expected by the characters query/mutation.MutationTypeExecutor.getCreateHumanGraphQLRequest
(String partialRequest) Get theGraphQLRequest
for the createHuman EXECUTOR, created with the given Partial request.MutationTypeReactiveExecutor.getCreateHumanGraphQLRequest
(String partialRequest) Get theGraphQLReactiveRequest
for the createHuman REACTIVE_EXECUTOR, created with the given Partial request.MutationTypeExecutor.getCreateHumanResponseBuilder()
Get theBuilder
for the Human, as expected by the createHuman query.MutationTypeReactiveExecutor.getCreateHumanResponseBuilder()
Get theBuilder
for the Human, as expected by the createHuman query/mutation.QueryTypeExecutor.getDroidGraphQLRequest
(String partialRequest) Get theGraphQLRequest
for the droid EXECUTOR, created with the given Partial request.QueryTypeReactiveExecutor.getDroidGraphQLRequest
(String partialRequest) Get theGraphQLReactiveRequest
for the droid REACTIVE_EXECUTOR, created with the given Partial request.QueryTypeExecutor.getDroidResponseBuilder()
Get theBuilder
for the Droid, as expected by the droid query.QueryTypeReactiveExecutor.getDroidResponseBuilder()
Get theBuilder
for the Droid, as expected by the droid query/mutation.MutationTypeExecutor.getGraphQLRequest
(String fullRequest) Get theGraphQLRequest
for full request.MutationTypeReactiveExecutor.getGraphQLRequest
(String fullRequest) Get theGraphQLReactiveRequest
for full request.QueryTypeExecutor.getGraphQLRequest
(String fullRequest) Get theGraphQLRequest
for full request.QueryTypeReactiveExecutor.getGraphQLRequest
(String fullRequest) Get theGraphQLReactiveRequest
for full request.SubscriptionTypeExecutor.getGraphQLRequest
(String fullRequest) Get theGraphQLRequest
, to obtain a prepared full request.SubscriptionTypeReactiveExecutor.getGraphQLRequest
(String fullRequest) Get theGraphQLRequest
for full request.QueryTypeExecutor.getHeroGraphQLRequest
(String partialRequest) Get theGraphQLRequest
for the hero EXECUTOR, created with the given Partial request.QueryTypeReactiveExecutor.getHeroGraphQLRequest
(String partialRequest) Get theGraphQLReactiveRequest
for the hero REACTIVE_EXECUTOR, created with the given Partial request.QueryTypeExecutor.getHeroResponseBuilder()
Get theBuilder
for the Character, as expected by the hero query.QueryTypeReactiveExecutor.getHeroResponseBuilder()
Get theBuilder
for the Character, as expected by the hero query/mutation.QueryTypeExecutor.getHumanGraphQLRequest
(String partialRequest) Get theGraphQLRequest
for the human EXECUTOR, created with the given Partial request.QueryTypeReactiveExecutor.getHumanGraphQLRequest
(String partialRequest) Get theGraphQLReactiveRequest
for the human REACTIVE_EXECUTOR, created with the given Partial request.QueryTypeExecutor.getHumanResponseBuilder()
Get theBuilder
for the Human, as expected by the human query.QueryTypeReactiveExecutor.getHumanResponseBuilder()
Get theBuilder
for the Human, as expected by the human query/mutation.GraphQLReactiveRequest.getMutationContext()
GraphQLRequest.getMutationContext()
SubscriptionTypeExecutor.getNewCharacterGraphQLRequest
(String partialRequest) Get theGraphQLRequest
for the newCharacter EXECUTOR, created with the given Partial request.SubscriptionTypeReactiveExecutor.getNewCharacterGraphQLRequest
(String partialRequest) Get theGraphQLRequest
for the newCharacter REACTIVE_EXECUTOR, created with the given Partial request.SubscriptionTypeExecutor.getNewCharacterResponseBuilder()
Get theBuilder
for the Character, as expected by the newCharacter subscription.SubscriptionTypeReactiveExecutor.getNewCharacterResponseBuilder()
Get theBuilder
for the Character, as expected by the newCharacter subscription.GraphQLReactiveRequest.getQueryContext()
GraphQLRequest.getQueryContext()
MutationTypeExecutor.getResponseBuilder()
Get theBuilder
for a full request, as expected by the exec and execWithBindValues methods.MutationTypeReactiveExecutor.getResponseBuilder()
Get theBuilder
for a full request, as expected by the exec and execWithBindValues methods.QueryTypeExecutor.getResponseBuilder()
Get theBuilder
for a full request, as expected by the exec and execWithBindValues methods.QueryTypeReactiveExecutor.getResponseBuilder()
Get theBuilder
for a full request, as expected by the exec and execWithBindValues methods.SubscriptionTypeExecutor.getResponseBuilder()
Get theBuilder
for a full request, as expected by the exec and execWithBindValues methods.SubscriptionTypeReactiveExecutor.getResponseBuilder()
Get theBuilder
for a full request, as expected by the exec and execWithBindValues methods.GraphQLReactiveRequest.getSubscriptionContext()
GraphQLRequest.getSubscriptionContext()
This method executes a partial query on the hero query against the GraphQL server.This method executes a partial query against the GraphQL server.QueryTypeExecutor.heroWithBindValues
(String queryResponseDef, Episode episode, Map<String, Object> parameters) This method executes a partial query on the hero query against the GraphQL server.QueryTypeReactiveExecutor.heroWithBindValues
(String queryResponseDef, Episode episode, Map<String, Object> parameters) This method executes a partial query against the GraphQL server.This method executes a partial query on the human query against the GraphQL server.This method executes a partial query against the GraphQL server.QueryTypeExecutor.humanWithBindValues
(String queryResponseDef, String id, Map<String, Object> parameters) This method executes a partial query on the human query against the GraphQL server.QueryTypeReactiveExecutor.humanWithBindValues
(String queryResponseDef, String id, Map<String, Object> parameters) This method executes a partial query against the GraphQL server.SubscriptionTypeExecutor.newCharacter
(String queryResponseDef, SubscriptionCallback<Character> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial newCharacter subscription against the GraphQL server.SubscriptionTypeReactiveExecutor.newCharacter
(String queryResponseDef, Object... paramsAndValues) This method registers a subscription, by executing a direct partial request against the GraphQL server.SubscriptionTypeExecutor.newCharacterWithBindValues
(String queryResponseDef, SubscriptionCallback<Character> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial newCharacter subscription against the GraphQL server.SubscriptionTypeReactiveExecutor.newCharacterWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial newCharacter subscription against the GraphQL server.ModifierConstructorDescriptionGraphQLReactiveRequest
(String graphQLRequest) Creates the GraphQL request, in reactive mode, for a full request.GraphQLReactiveRequest
(org.springframework.graphql.client.GraphQlClient graphQlClient, String graphQLRequest, RequestType requestType, String fieldName, InputParameter... inputParams) Create the instance for the given GraphQL request, in reactive mode, for a partial request or a full request.
Important note: this constructor SHOULD NOT be used only by the code generated by the plugin, not by external applications.GraphQLRequest
(String graphQLRequest) Creates the GraphQL request, for a full request.GraphQLRequest
(org.springframework.graphql.client.GraphQlClient graphQlClient, String graphQLRequest, RequestType requestType, String fieldName, InputParameter... inputParams) Create the instance for the given GraphQL request, for a partial request or a full request.
Important note: this constructor SHOULD NOT be used only by the code generated by the plugin, not by external applications. -
Uses of GraphQLRequestPreparationException in com.graphql_java_generator.client
Modifier and TypeMethodDescriptionClass<?>
GraphqlClientUtils.checkFieldOfGraphQLType
(String name, Boolean shouldBeScalar, Class<?> owningClass) Check if the given field is owned by the class of thisObjectResponse
.Class<?>
GraphqlClientUtils.checkIsScalar
(Field field, Boolean shouldBeScalar) This method checks whether the given field (as an attribute) of the given class is a GraphQL scalar, or not, depending on shouldBeScalar.Class<?>
GraphqlClientUtils.checkIsScalar
(String fieldName, Method method, Boolean shouldBeScalar) 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.void
Checks that the given GraphQL name is valid.GraphqlClientUtils.getDeclaredField
(Class<?> owningClass, String fieldName, boolean mustFindField) Returns aField
from the given class.Class<?>
GraphqlClientUtils.getFieldType
(Class<?> owningClass, String fieldName, boolean returnIsMandatory) Retrieves the class of the fieldName field of the owningClass class.Class<?>
GraphqlClientUtils.getGraphQLType
(AccessibleObject fieldOrMethod) Returns the Class indicated as the value for the graphqlType attribute of the GraphQLScalar or GraphQLNonScalar annotationboolean
GraphqlClientUtils.isScalar
(AccessibleObject fieldOrMethod) Indicates whether the given class is a scalar or not -
Uses of GraphQLRequestPreparationException in com.graphql_java_generator.client.directive
Modifier and TypeMethodDescriptionDirective.getDirectiveDefinition()
Returns the definition for this GraphQL directiveModifierConstructorDescriptionDirective
(QueryTokenizer qt, String schema) Create a Directive from aQueryTokenizer
. -
Uses of GraphQLRequestPreparationException in com.graphql_java_generator.client.graphqlrepository
Modifier and TypeMethodDescription<R> R
GraphQLRepositoryProxyBeanFactory.createGraphQLRepositoryInvocationHandler
(ClassLoader classLoader, Class<R> clazz) ModifierConstructorDescriptionGraphQLRepositoryInvocationHandler
(Class<T> repositoryInterface, org.springframework.context.ApplicationContext ctx) Builds the instance from the given SpringApplicationContext
: it extracts the query, mutation and subscription executors that have been generated from the GraphQL schema. -
Uses of GraphQLRequestPreparationException in com.graphql_java_generator.client.request
Modifier and TypeMethodDescriptionvoid
Fragment.addTypenameFields()
Adds the __typename field into this fragment, and all the subojects it contains.Builder.build()
Returns the builtObjectResponse
.protected abstract QueryField
AbstractGraphQLRequest.getMutationContext()
Retrieved theQueryField
for the mutation (that is the mutation type coming from the GraphQL schema) from the concrete class.protected abstract QueryField
AbstractGraphQLRequest.getQueryContext()
Retrieved theQueryField
for the query (that is the query type coming from the GraphQL schema) from the concrete class.protected abstract QueryField
AbstractGraphQLRequest.getSubscriptionContext()
Retrieved theQueryField
for the subscription (that is the subscription type coming from the GraphQL schema) from the concrete class.boolean
QueryField.isScalar()
Indicates whether this field is a scalar or not.QueryTokenizer.readNextRealToken
(String expected, String action) Reads the next real token, that is the next token that is not a separatorstatic List<InputParameter>
InputParameter.readTokenizerForInputParameters
(QueryTokenizer qt, Directive directive, Class<?> owningClass, String fieldName, String schema) Reads a list of input parameters, from aQueryTokenizer
.void
QueryField.readTokenizerForResponseDefinition
(QueryTokenizer qt, Map<Class<?>, Map<String, Field>> aliasFields, String schema) Reads the definition of the expected response definition from the server.Builder.withQueryResponseDef
(String queryResponseDef) Builds aObjectResponse
from a part of a GraphQL query.ModifierConstructorDescriptionAbstractGraphQLRequest
(org.springframework.graphql.client.GraphQlClient graphQlClient, String schema, String graphQLRequest) Creates the GraphQL request, for a full request.AbstractGraphQLRequest
(org.springframework.graphql.client.GraphQlClient graphQlClient, String schema, String graphQLRequest, RequestType requestType, String fieldName, InputParameter... inputParams) Create the instance for the given GraphQL request, for a partial request or a full request.
Important note: this constructor SHOULD be used only by the code generated by the plugin, not by external applications.AppliedGlobalFragment
(String currentToken, QueryTokenizer qt, String schema) Creates an instance for a global fragment, that has been read in the currentQueryTokenizer
.Fragment
(QueryTokenizer qt, Map<Class<?>, Map<String, Field>> aliasFields, String packageName, boolean inlineFragment, Class<?> clazz, String schema) Reads a Fragment definition, from the currentQueryTokenizer
.ObjectResponse
(org.springframework.graphql.client.GraphQlClient graphQlClient, String schema, String graphQLRequest) ObjectResponse
(org.springframework.graphql.client.GraphQlClient graphQlClient, String schema, String graphQLRequest, RequestType requestType, String queryName, InputParameter... inputParams) QueryField
(Class<?> owningClass, String fieldName) The constructor, when created by theBuilder
: it must provide the owningClassQueryField
(Class<?> owningClass, String fieldName, String fieldAlias) The constructor, when created by theBuilder
: it must provide the owningClass -
Uses of GraphQLRequestPreparationException in com.graphql_java_generator.samples.simple.client
Modifier and TypeMethodDescriptionQueries.createHuman
(String name, String homePlanet) Queries.droidDoesNotExist()
Queries.droidFriendsFriendsFriends
(String id) Queries.droidPartial
(String id) void
Queries.heroFriendsFriendsFriends
(Episode episode) Queries.heroFull()
Queries.heroPartial
(Episode episode) Queries.humanFriendsFriendsFriends
(String id) Queries.humanPartial
(String id) -
Uses of GraphQLRequestPreparationException in com.graphql_java_generator.samples.simple.client.graphql
Modifier and TypeMethodDescriptionPartialDirectRequests.createHuman
(String name, String homePlanet) PartialPreparedRequests.createHuman
(String name, String homePlanet) PartialDirectRequests.droidDoesNotExist()
PartialDirectRequests.droidFriendsFriendsFriends
(String id) PartialDirectRequests.droidPartial
(String id) void
SubscriptionRequests.execSubscription()
PartialDirectRequests.heroFriendsFriendsFriends
(Episode episode) PartialDirectRequests.heroFull()
PartialDirectRequests.heroPartial
(Episode episode) PartialDirectRequests.humanFriendsFriendsFriends
(String id) PartialDirectRequests.humanPartial
(String id) void
PartialPreparedRequests.init()
This method is executed, once all dependencies have been loaded.