Uses of Enum
com.graphql_java_generator.annotation.RequestType
Package
Description
All annotations used by the GraphQL-generator client part
This package contains all the classes used to generate the requests toward the GraphQL server.
-
Uses of RequestType in com.generated.graphql.util
ModifierConstructorDescriptionGraphQLReactiveRequest
(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
(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 RequestType in com.graphql_java_generator.annotation
Modifier and TypeMethodDescriptionstatic RequestType
Returns the enum constant of this type with the specified name.static RequestType[]
RequestType.values()
Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of RequestType in com.graphql_java_generator.client
Modifier and TypeMethodDescriptionstatic org.springframework.graphql.client.GraphQlClient
SpringContextBean.getGraphQlClient
(String graphQLSchema, RequestType requestType) Retrieves theGraphQlClient
Spring bean, associated with the given GraphQL suffix. -
Uses of RequestType in com.graphql_java_generator.client.request
Modifier and TypeMethodDescriptionprotected static void
AbstractGraphQLRequest.logExecution
(RequestType requestType, String queryMutationTypeName, Map<String, Object> parameters) ModifierConstructorDescriptionAbstractGraphQLRequest
(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.Builder
(org.springframework.graphql.client.GraphQlClient graphQlClient, Class<? extends AbstractGraphQLRequest> graphQLRequestClass, String fieldName, RequestType requestType, InputParameter... inputParams) This Builder allows to build a Partial request, that is a request for only one query/mutation/subscription.ObjectResponse
(org.springframework.graphql.client.GraphQlClient graphQlClient, String schema, String graphQLRequest, RequestType requestType, String queryName, InputParameter... inputParams)