Uses of Class
com.graphql_java_generator.annotation.RequestType
| Package | Description |
|---|---|
| com.graphql_java_generator.annotation |
All annotations used by the GraphQL-generator client part
|
| com.graphql_java_generator.client.request |
This package contains all the classes used to generate the requests toward the GraphQL server.
|
-
Uses of RequestType in com.graphql_java_generator.annotation
Methods in com.graphql_java_generator.annotation that return RequestType Modifier and Type Method Description RequestTypetype()The type : query, mutation or subscription, as defined in the GraphQL schema.static RequestTypeRequestType. valueOf(java.lang.String name)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.request
Methods in com.graphql_java_generator.client.request that return RequestType Modifier and Type Method Description RequestTypeAbstractGraphQLRequest. getRequestType()Constructors in com.graphql_java_generator.client.request with parameters of type RequestType Constructor Description AbstractGraphQLRequest(java.lang.String graphQLRequest, RequestType requestType, java.lang.String queryName, InputParameter... inputParams)Create the instance, from the GraphQL request, for a partial request.
Important note: this constructor SHOULD NOT be called by external application.Builder(java.lang.Class<? extends AbstractGraphQLRequest> graphQLRequestClass, java.lang.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(java.lang.String graphQLRequest, RequestType requestType, java.lang.String queryName, InputParameter... inputParams)