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.void
GraphqlClientUtils. 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 annotationboolean
GraphqlClientUtils. 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 ObjectResponse
Builder. build()
Returns the builtObjectResponse
.Builder
Builder. withField(java.lang.String fieldName)
Adds a scalar field with no alias, to theObjectResponse
we are buildingBuilder
Builder. withField(java.lang.String fieldName, java.lang.String alias)
Adds a scalar field with an alias, to theObjectResponse
we are building.Builder
Builder. withField(java.lang.String fieldName, java.lang.String alias, java.util.List<InputParameter> inputParameters)
Adds a scalar field with an alias, to theObjectResponse
we are building.Builder
Builder. withInputParameter(java.lang.String name, java.lang.String bindParameterName, boolean mandatory)
Add anInputParameter
to the current Object Response definition.Builder
Builder. withQueryResponseDef(java.lang.String queryResponseDef)
Builds aObjectResponse
from a part of a GraphQL query.Builder
Builder. withSubObject(ObjectResponse subobjetResponseDef)
Adds a non scalar field (a sub-object), to theObjectResponse
we 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 class
GraphQLInternalErrorException
Thrown when an internal error of the GraphQL generator occurs