Uses of Class
com.graphql_java_generator.exception.GraphQLRequestPreparationException
| Package | Description |
|---|---|
| com.graphql_java_generator.client | |
| com.graphql_java_generator.client.request |
This package contains all the classes used to generate the requests toward the GraphQL server.
|
| com.graphql_java_generator.exception |
-
Uses of GraphQLRequestPreparationException in com.graphql_java_generator.client
Methods in com.graphql_java_generator.client that throw GraphQLRequestPreparationException Modifier and Type Method Description java.lang.Class<?>GraphqlClientUtils. checkFieldOfGraphQLType(java.lang.String name, java.lang.Boolean shouldBeScalar, java.lang.Class<?> owningClass)Check if the given field is owned by the class of thisObjectResponse.java.lang.Class<?>GraphqlClientUtils. checkIsScalar(java.lang.reflect.Field field, java.lang.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.java.lang.Class<?>GraphqlClientUtils. checkIsScalar(java.lang.String fieldName, java.lang.reflect.Method method, java.lang.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.voidGraphqlClientUtils. checkName(java.lang.String graphqlIdentifier)Checks that the given GraphQL name is valid.java.lang.Class<?>GraphqlClientUtils. getGraphQLType(java.lang.reflect.AccessibleObject fieldOrMethod)Returns the Class indicated as the value for the graphqlType attribute of the GraphQLScalar or GraphQLNonScalar annotationbooleanGraphqlClientUtils. isScalar(java.lang.reflect.AccessibleObject fieldOrMethod)Indicates whether the given class is a scalar or not -
Uses of GraphQLRequestPreparationException in com.graphql_java_generator.client.request
Methods in com.graphql_java_generator.client.request that throw GraphQLRequestPreparationException Modifier and Type Method Description ObjectResponseBuilder. build()Returns the builtObjectResponse.BuilderBuilder. withField(java.lang.String fieldName)Adds a scalar field with no alias, to theObjectResponsewe are buildingBuilderBuilder. withField(java.lang.String fieldName, java.lang.String alias)Adds a scalar field with an alias, to theObjectResponsewe are buildingBuilderBuilder. withInputParameter(java.lang.String name, java.lang.String bindParameterName, boolean mandatory)Add anInputParameterto the current Object Response definition.BuilderBuilder. withQueryResponseDef(java.lang.String queryResponseDef)Builds aObjectResponsefrom a part of a GraphQL query.BuilderBuilder. withSubObject(ObjectResponse subobjetResponseDef)Adds a non scalar field (a sub-object), to theObjectResponsewe are building.Constructors in com.graphql_java_generator.client.request that throw GraphQLRequestPreparationException Constructor Description Builder(java.lang.Class<?> owningClass, java.lang.String fieldName)Creates a Builder, for a field without aliasBuilder(java.lang.Class<?> owningClass, java.lang.String fieldName, java.lang.String fieldAlias)Creates a Builder -
Uses of GraphQLRequestPreparationException in com.graphql_java_generator.exception
Subclasses of GraphQLRequestPreparationException in com.graphql_java_generator.exception Modifier and Type Class Description classGraphQLInternalErrorExceptionThrown when an internal error of the GraphQL generator occurs