Class TheSubscriptionTypeExecutorMySchema
java.lang.Object
org.junittest.allgraphqlcases_client_springconfiguration_separateutilityclasses.util.TheSubscriptionTypeExecutorMySchema
- All Implemented Interfaces:
GraphQLSubscriptionExecutor
@Component
public class TheSubscriptionTypeExecutorMySchema
extends Object
implements GraphQLSubscriptionExecutor
A mono line description for TheSubscriptionType
This class contains the methods that allows the execution of the subscriptions that are defined in the TheSubscriptionType of the GraphQL schema.
These methods allows:
These methods allows:
- Preparation of partial subscription requests
- Execution of partial prepared subscription requests
- Execution of partial direct subscription requests
- Author:
- generated by graphql-java-generator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_if(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial if subscription against the GraphQL server._if(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial if subscription against the GraphQL server._ifWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial if subscription against the GraphQL server._ifWithBindValues(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial if subscription against the GraphQL server._implements(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial implements subscription against the GraphQL server._implements(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial implements subscription against the GraphQL server._implementsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial implements subscription against the GraphQL server._implementsWithBindValues(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial implements subscription against the GraphQL server._null(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) Issue #188: null is not identified as a java keyword
This method registers a subscription, by executing a direct partial null subscription against the GraphQL server._null(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) Issue #188: null is not identified as a java keyword
This method registers a subscription, by executing a direct partial null subscription against the GraphQL server._nullWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) Issue #188: null is not identified as a java keyword
This method registers a subscription, by executing a direct partial null subscription against the GraphQL server._nullWithBindValues(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) Issue #188: null is not identified as a java keyword
This method registers a subscription, by executing a direct partial null subscription against the GraphQL server.allGraphQLCasesInput(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<AllFieldCases> subscriptionCallback, AllFieldCasesInput input, Object... paramsAndValues) Some subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
This method registers a subscription, by executing a direct partial allGraphQLCasesInput subscription against the GraphQL server.allGraphQLCasesInput(String queryResponseDef, SubscriptionCallback<AllFieldCases> subscriptionCallback, AllFieldCasesInput input, Object... paramsAndValues) Some subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
This method registers a subscription, by executing a direct partial allGraphQLCasesInput subscription against the GraphQL server.allGraphQLCasesInputWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<AllFieldCases> subscriptionCallback, AllFieldCasesInput input, Map<String, Object> parameters) Some subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
This method registers a subscription, by executing a direct partial allGraphQLCasesInput subscription against the GraphQL server.allGraphQLCasesInputWithBindValues(String queryResponseDef, SubscriptionCallback<AllFieldCases> subscriptionCallback, AllFieldCasesInput input, Map<String, Object> parameters) Some subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
This method registers a subscription, by executing a direct partial allGraphQLCasesInput subscription against the GraphQL server.allGraphQLCasesParam(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<AllFieldCases> subscriptionCallback, String id, String name, Long age, Integer integer, Date date, List<Date> dates, List<List<Double>> matrix, AllFieldCasesWithoutIdSubtypeInput oneWithoutIdSubtype, List<AllFieldCasesWithoutIdSubtypeInput> listWithoutIdSubtype, Object... paramsAndValues) This method registers a subscription, by executing a direct partial allGraphQLCasesParam subscription against the GraphQL server.allGraphQLCasesParam(String queryResponseDef, SubscriptionCallback<AllFieldCases> subscriptionCallback, String id, String name, Long age, Integer integer, Date date, List<Date> dates, List<List<Double>> matrix, AllFieldCasesWithoutIdSubtypeInput oneWithoutIdSubtype, List<AllFieldCasesWithoutIdSubtypeInput> listWithoutIdSubtype, Object... paramsAndValues) This method registers a subscription, by executing a direct partial allGraphQLCasesParam subscription against the GraphQL server.allGraphQLCasesParamWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<AllFieldCases> subscriptionCallback, String id, String name, Long age, Integer integer, Date date, List<Date> dates, List<List<Double>> matrix, AllFieldCasesWithoutIdSubtypeInput oneWithoutIdSubtype, List<AllFieldCasesWithoutIdSubtypeInput> listWithoutIdSubtype, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial allGraphQLCasesParam subscription against the GraphQL server.allGraphQLCasesParamWithBindValues(String queryResponseDef, SubscriptionCallback<AllFieldCases> subscriptionCallback, String id, String name, Long age, Integer integer, Date date, List<Date> dates, List<List<Double>> matrix, AllFieldCasesWithoutIdSubtypeInput oneWithoutIdSubtype, List<AllFieldCasesWithoutIdSubtypeInput> listWithoutIdSubtype, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial allGraphQLCasesParam subscription against the GraphQL server.enumWithReservedJavaKeywordAsValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, Object... paramsAndValues) test for issue #139 (use of java reserved keyword)
This method registers a subscription, by executing a direct partial enumWithReservedJavaKeywordAsValues subscription against the GraphQL server.enumWithReservedJavaKeywordAsValues(String queryResponseDef, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, Object... paramsAndValues) test for issue #139 (use of java reserved keyword)
This method registers a subscription, by executing a direct partial enumWithReservedJavaKeywordAsValues subscription against the GraphQL server.enumWithReservedJavaKeywordAsValuesWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, Map<String, Object> parameters) test for issue #139 (use of java reserved keyword)
This method registers a subscription, by executing a direct partial enumWithReservedJavaKeywordAsValues subscription against the GraphQL server.enumWithReservedJavaKeywordAsValuesWithBindValues(String queryResponseDef, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, Map<String, Object> parameters) test for issue #139 (use of java reserved keyword)
This method registers a subscription, by executing a direct partial enumWithReservedJavaKeywordAsValues subscription against the GraphQL server.exec(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<?> subscriptionCallback, Object... paramsAndValues) This method takes a full request definition, and executes it against the GraphQL server.exec(String queryResponseDef, SubscriptionCallback<?> subscriptionCallback, Object... paramsAndValues) This method takes a full request definition, and executes it against the GraphQL server.execWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<?> subscriptionCallback, Map<String, Object> parameters) This method takes a full request definition, and executes it against the GraphQL server.execWithBindValues(String queryResponseDef, SubscriptionCallback<?> subscriptionCallback, Map<String, Object> parameters) This method takes a full request definition, and executes it against the GraphQL server.getAllGraphQLCasesInputGraphQLRequest(String partialRequest) Some subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
Get theGraphQLRequestMySchemafor the allGraphQLCasesInput EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderSome subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
Get theBuilderfor the AllFieldCases, as expected by the allGraphQLCasesInput subscription.getAllGraphQLCasesParamGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the allGraphQLCasesParam EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the AllFieldCases, as expected by the allGraphQLCasesParam subscription.getEnumWithReservedJavaKeywordAsValuesGraphQLRequest(String partialRequest) test for issue #139 (use of java reserved keyword)
Get theGraphQLRequestMySchemafor the enumWithReservedJavaKeywordAsValues EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.Buildertest for issue #139 (use of java reserved keyword)
Get theBuilderfor the EnumWithReservedJavaKeywordAsValues, as expected by the enumWithReservedJavaKeywordAsValues subscription.getGraphQLRequest(String fullRequest) Get theGraphQLRequestMySchema, to obtain a prepared full request.getIfGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the if EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the if subscription.getImplementsGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the implements EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the implements subscription.getIssue53GraphQLRequest(String partialRequest) issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
Get theGraphQLRequestMySchemafor the issue53 EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.Builderissue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
Get theBuilderfor the Date, as expected by the issue53 subscription.getJsonGraphQLRequest(String partialRequest) Test of JSON scalar, for issue #205
Get theGraphQLRequestMySchemafor the json EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderTest of JSON scalar, for issue #205
Get theBuilderfor the ObjectNode, as expected by the json subscription.getJsonsGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the jsons EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the ObjectNode, as expected by the jsons subscription.getJsonsWithInputGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the jsonsWithInput EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the TypeWithJson, as expected by the jsonsWithInput subscription.getListOfEnumWithReservedJavaKeywordAsValuesGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the listOfEnumWithReservedJavaKeywordAsValues EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the EnumWithReservedJavaKeywordAsValues, as expected by the listOfEnumWithReservedJavaKeywordAsValues subscription.getNullGraphQLRequest(String partialRequest) Issue #188: null is not identified as a java keyword
Get theGraphQLRequestMySchemafor the null EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderIssue #188: null is not identified as a java keyword
Get theBuilderfor the String, as expected by the null subscription.getObjectsWithInputGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the objectsWithInput EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the TypeWithObject, as expected by the objectsWithInput subscription.com.graphql_java_generator.client.request.BuilderGet theBuilderfor a full request, as expected by the exec and execWithBindValues methods.getReturnEnumGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the returnEnum EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the EnumWithReservedJavaKeywordAsValues, as expected by the returnEnum subscription.getReturnListOfEnumsGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the returnListOfEnums EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the EnumWithReservedJavaKeywordAsValues, as expected by the returnListOfEnums subscription.getReturnListOfListOfEnumsGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the returnListOfListOfEnums EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the EnumWithReservedJavaKeywordAsValues, as expected by the returnListOfListOfEnums subscription.getReturnListOfMandatoryEnumsGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the returnListOfMandatoryEnums EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the EnumWithReservedJavaKeywordAsValues, as expected by the returnListOfMandatoryEnums subscription.getReturnMandatoryEnumGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the returnMandatoryEnum EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the EnumWithReservedJavaKeywordAsValues, as expected by the returnMandatoryEnum subscription.getReturnMandatoryListOfEnumsGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the returnMandatoryListOfEnums EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the EnumWithReservedJavaKeywordAsValues, as expected by the returnMandatoryListOfEnums subscription.getReturnMandatoryListOfMandatoryEnumsGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the returnMandatoryListOfMandatoryEnums EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the EnumWithReservedJavaKeywordAsValues, as expected by the returnMandatoryListOfMandatoryEnums subscription.getSubscribeNewHumanForEpisodeGraphQLRequest(String partialRequest) Will be notified for each Human added to this Episode
Get theGraphQLRequestMySchemafor the subscribeNewHumanForEpisode EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderWill be notified for each Human added to this Episode
Get theBuilderfor the Human, as expected by the subscribeNewHumanForEpisode subscription.getSubscribeToAListGraphQLRequest(String partialRequest) Issue 54
Get theGraphQLRequestMySchemafor the subscribeToAList EXECUTOR, created with the given Partial request.getSubscribeToAListOfScalarsGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the subscribeToAListOfScalars EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the Date, as expected by the subscribeToAListOfScalars subscription.com.graphql_java_generator.client.request.BuilderIssue 54
Get theBuilderfor the Integer, as expected by the subscribeToAList subscription.getSubscriptionTestGraphQLRequest(String partialRequest)
A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
Get theGraphQLRequestMySchemafor the subscriptionTest EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.Builder
A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
Get theBuilderfor the String, as expected by the subscriptionTest subscription.getSubscriptionWithNullResponseGraphQLRequest(String partialRequest) Issue 122: Check Subscription behavior when notification response is null
Get theGraphQLRequestMySchemafor the subscriptionWithNullResponse EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderIssue 122: Check Subscription behavior when notification response is null
Get theBuilderfor the String, as expected by the subscriptionWithNullResponse subscription.issue53(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<Date> subscriptionCallback, Date date, Object... paramsAndValues) issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
This method registers a subscription, by executing a direct partial issue53 subscription against the GraphQL server.issue53(String queryResponseDef, SubscriptionCallback<Date> subscriptionCallback, Date date, Object... paramsAndValues) issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
This method registers a subscription, by executing a direct partial issue53 subscription against the GraphQL server.issue53WithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<Date> subscriptionCallback, Date date, Map<String, Object> parameters) issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
This method registers a subscription, by executing a direct partial issue53 subscription against the GraphQL server.issue53WithBindValues(String queryResponseDef, SubscriptionCallback<Date> subscriptionCallback, Date date, Map<String, Object> parameters) issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
This method registers a subscription, by executing a direct partial issue53 subscription against the GraphQL server.json(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<com.fasterxml.jackson.databind.node.ObjectNode> subscriptionCallback, com.fasterxml.jackson.databind.node.ObjectNode json, Object... paramsAndValues) Test of JSON scalar, for issue #205
This method registers a subscription, by executing a direct partial json subscription against the GraphQL server.json(String queryResponseDef, SubscriptionCallback<com.fasterxml.jackson.databind.node.ObjectNode> subscriptionCallback, com.fasterxml.jackson.databind.node.ObjectNode json, Object... paramsAndValues) Test of JSON scalar, for issue #205
This method registers a subscription, by executing a direct partial json subscription against the GraphQL server.jsons(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<com.fasterxml.jackson.databind.node.ObjectNode>> subscriptionCallback, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Object... paramsAndValues) This method registers a subscription, by executing a direct partial jsons subscription against the GraphQL server.jsons(String queryResponseDef, SubscriptionCallback<List<com.fasterxml.jackson.databind.node.ObjectNode>> subscriptionCallback, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Object... paramsAndValues) This method registers a subscription, by executing a direct partial jsons subscription against the GraphQL server.jsonsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<com.fasterxml.jackson.databind.node.ObjectNode>> subscriptionCallback, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial jsons subscription against the GraphQL server.jsonsWithBindValues(String queryResponseDef, SubscriptionCallback<List<com.fasterxml.jackson.databind.node.ObjectNode>> subscriptionCallback, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial jsons subscription against the GraphQL server.jsonsWithInput(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<TypeWithJson>> subscriptionCallback, List<InputWithJson> input, Object... paramsAndValues) This method registers a subscription, by executing a direct partial jsonsWithInput subscription against the GraphQL server.jsonsWithInput(String queryResponseDef, SubscriptionCallback<List<TypeWithJson>> subscriptionCallback, List<InputWithJson> input, Object... paramsAndValues) This method registers a subscription, by executing a direct partial jsonsWithInput subscription against the GraphQL server.jsonsWithInputWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<TypeWithJson>> subscriptionCallback, List<InputWithJson> input, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial jsonsWithInput subscription against the GraphQL server.jsonsWithInputWithBindValues(String queryResponseDef, SubscriptionCallback<List<TypeWithJson>> subscriptionCallback, List<InputWithJson> input, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial jsonsWithInput subscription against the GraphQL server.jsonWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<com.fasterxml.jackson.databind.node.ObjectNode> subscriptionCallback, com.fasterxml.jackson.databind.node.ObjectNode json, Map<String, Object> parameters) Test of JSON scalar, for issue #205
This method registers a subscription, by executing a direct partial json subscription against the GraphQL server.jsonWithBindValues(String queryResponseDef, SubscriptionCallback<com.fasterxml.jackson.databind.node.ObjectNode> subscriptionCallback, com.fasterxml.jackson.databind.node.ObjectNode json, Map<String, Object> parameters) Test of JSON scalar, for issue #205
This method registers a subscription, by executing a direct partial json subscription against the GraphQL server.listOfEnumWithReservedJavaKeywordAsValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial listOfEnumWithReservedJavaKeywordAsValues subscription against the GraphQL server.listOfEnumWithReservedJavaKeywordAsValues(String queryResponseDef, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial listOfEnumWithReservedJavaKeywordAsValues subscription against the GraphQL server.listOfEnumWithReservedJavaKeywordAsValuesWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial listOfEnumWithReservedJavaKeywordAsValues subscription against the GraphQL server.listOfEnumWithReservedJavaKeywordAsValuesWithBindValues(String queryResponseDef, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial listOfEnumWithReservedJavaKeywordAsValues subscription against the GraphQL server.objectsWithInput(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<TypeWithObject>> subscriptionCallback, List<InputWithObject> input, Object... paramsAndValues) This method registers a subscription, by executing a direct partial objectsWithInput subscription against the GraphQL server.objectsWithInput(String queryResponseDef, SubscriptionCallback<List<TypeWithObject>> subscriptionCallback, List<InputWithObject> input, Object... paramsAndValues) This method registers a subscription, by executing a direct partial objectsWithInput subscription against the GraphQL server.objectsWithInputWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<TypeWithObject>> subscriptionCallback, List<InputWithObject> input, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial objectsWithInput subscription against the GraphQL server.objectsWithInputWithBindValues(String queryResponseDef, SubscriptionCallback<List<TypeWithObject>> subscriptionCallback, List<InputWithObject> input, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial objectsWithInput subscription against the GraphQL server.returnEnum(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial returnEnum subscription against the GraphQL server.returnEnum(String queryResponseDef, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial returnEnum subscription against the GraphQL server.returnEnumWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial returnEnum subscription against the GraphQL server.returnEnumWithBindValues(String queryResponseDef, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial returnEnum subscription against the GraphQL server.returnListOfEnums(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial returnListOfEnums subscription against the GraphQL server.returnListOfEnums(String queryResponseDef, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial returnListOfEnums subscription against the GraphQL server.returnListOfEnumsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial returnListOfEnums subscription against the GraphQL server.returnListOfEnumsWithBindValues(String queryResponseDef, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial returnListOfEnums subscription against the GraphQL server.returnListOfListOfEnums(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<List<EnumWithReservedJavaKeywordAsValues>>> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial returnListOfListOfEnums subscription against the GraphQL server.returnListOfListOfEnums(String queryResponseDef, SubscriptionCallback<List<List<EnumWithReservedJavaKeywordAsValues>>> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial returnListOfListOfEnums subscription against the GraphQL server.returnListOfListOfEnumsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<List<EnumWithReservedJavaKeywordAsValues>>> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial returnListOfListOfEnums subscription against the GraphQL server.returnListOfListOfEnumsWithBindValues(String queryResponseDef, SubscriptionCallback<List<List<EnumWithReservedJavaKeywordAsValues>>> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial returnListOfListOfEnums subscription against the GraphQL server.returnListOfMandatoryEnums(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial returnListOfMandatoryEnums subscription against the GraphQL server.returnListOfMandatoryEnums(String queryResponseDef, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial returnListOfMandatoryEnums subscription against the GraphQL server.returnListOfMandatoryEnumsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial returnListOfMandatoryEnums subscription against the GraphQL server.returnListOfMandatoryEnumsWithBindValues(String queryResponseDef, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial returnListOfMandatoryEnums subscription against the GraphQL server.returnMandatoryEnum(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, EnumWithReservedJavaKeywordAsValues _enum, Object... paramsAndValues) This method registers a subscription, by executing a direct partial returnMandatoryEnum subscription against the GraphQL server.returnMandatoryEnum(String queryResponseDef, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, EnumWithReservedJavaKeywordAsValues _enum, Object... paramsAndValues) This method registers a subscription, by executing a direct partial returnMandatoryEnum subscription against the GraphQL server.returnMandatoryEnumWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, EnumWithReservedJavaKeywordAsValues _enum, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial returnMandatoryEnum subscription against the GraphQL server.returnMandatoryEnumWithBindValues(String queryResponseDef, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, EnumWithReservedJavaKeywordAsValues _enum, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial returnMandatoryEnum subscription against the GraphQL server.returnMandatoryListOfEnums(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial returnMandatoryListOfEnums subscription against the GraphQL server.returnMandatoryListOfEnums(String queryResponseDef, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial returnMandatoryListOfEnums subscription against the GraphQL server.returnMandatoryListOfEnumsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial returnMandatoryListOfEnums subscription against the GraphQL server.returnMandatoryListOfEnumsWithBindValues(String queryResponseDef, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial returnMandatoryListOfEnums subscription against the GraphQL server.returnMandatoryListOfMandatoryEnums(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial returnMandatoryListOfMandatoryEnums subscription against the GraphQL server.returnMandatoryListOfMandatoryEnums(String queryResponseDef, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial returnMandatoryListOfMandatoryEnums subscription against the GraphQL server.returnMandatoryListOfMandatoryEnumsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial returnMandatoryListOfMandatoryEnums subscription against the GraphQL server.returnMandatoryListOfMandatoryEnumsWithBindValues(String queryResponseDef, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial returnMandatoryListOfMandatoryEnums subscription against the GraphQL server.subscribeNewHumanForEpisode(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<Human> subscriptionCallback, Episode episode, Object... paramsAndValues) Will be notified for each Human added to this Episode
This method registers a subscription, by executing a direct partial subscribeNewHumanForEpisode subscription against the GraphQL server.subscribeNewHumanForEpisode(String queryResponseDef, SubscriptionCallback<Human> subscriptionCallback, Episode episode, Object... paramsAndValues) Will be notified for each Human added to this Episode
This method registers a subscription, by executing a direct partial subscribeNewHumanForEpisode subscription against the GraphQL server.subscribeNewHumanForEpisodeWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<Human> subscriptionCallback, Episode episode, Map<String, Object> parameters) Will be notified for each Human added to this Episode
This method registers a subscription, by executing a direct partial subscribeNewHumanForEpisode subscription against the GraphQL server.subscribeNewHumanForEpisodeWithBindValues(String queryResponseDef, SubscriptionCallback<Human> subscriptionCallback, Episode episode, Map<String, Object> parameters) Will be notified for each Human added to this Episode
This method registers a subscription, by executing a direct partial subscribeNewHumanForEpisode subscription against the GraphQL server.subscribeToAList(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<Integer>> subscriptionCallback, Object... paramsAndValues) Issue 54
This method registers a subscription, by executing a direct partial subscribeToAList subscription against the GraphQL server.subscribeToAList(String queryResponseDef, SubscriptionCallback<List<Integer>> subscriptionCallback, Object... paramsAndValues) Issue 54
This method registers a subscription, by executing a direct partial subscribeToAList subscription against the GraphQL server.subscribeToAListOfScalars(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<Date>> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial subscribeToAListOfScalars subscription against the GraphQL server.subscribeToAListOfScalars(String queryResponseDef, SubscriptionCallback<List<Date>> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial subscribeToAListOfScalars subscription against the GraphQL server.subscribeToAListOfScalarsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<Date>> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial subscribeToAListOfScalars subscription against the GraphQL server.subscribeToAListOfScalarsWithBindValues(String queryResponseDef, SubscriptionCallback<List<Date>> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial subscribeToAListOfScalars subscription against the GraphQL server.subscribeToAListWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<Integer>> subscriptionCallback, Map<String, Object> parameters) Issue 54
This method registers a subscription, by executing a direct partial subscribeToAList subscription against the GraphQL server.subscribeToAListWithBindValues(String queryResponseDef, SubscriptionCallback<List<Integer>> subscriptionCallback, Map<String, Object> parameters) Issue 54
This method registers a subscription, by executing a direct partial subscribeToAList subscription against the GraphQL server.subscriptionTest(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, SubscriptionTestParam param, Object... paramsAndValues)
A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
This method registers a subscription, by executing a direct partial subscriptionTest subscription against the GraphQL server.subscriptionTest(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, SubscriptionTestParam param, Object... paramsAndValues)
A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
This method registers a subscription, by executing a direct partial subscriptionTest subscription against the GraphQL server.subscriptionTestWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, SubscriptionTestParam param, Map<String, Object> parameters)
A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
This method registers a subscription, by executing a direct partial subscriptionTest subscription against the GraphQL server.subscriptionTestWithBindValues(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, SubscriptionTestParam param, Map<String, Object> parameters)
A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
This method registers a subscription, by executing a direct partial subscriptionTest subscription against the GraphQL server.subscriptionWithNullResponse(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) Issue 122: Check Subscription behavior when notification response is null
This method registers a subscription, by executing a direct partial subscriptionWithNullResponse subscription against the GraphQL server.subscriptionWithNullResponse(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) Issue 122: Check Subscription behavior when notification response is null
This method registers a subscription, by executing a direct partial subscriptionWithNullResponse subscription against the GraphQL server.subscriptionWithNullResponseWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) Issue 122: Check Subscription behavior when notification response is null
This method registers a subscription, by executing a direct partial subscriptionWithNullResponse subscription against the GraphQL server.subscriptionWithNullResponseWithBindValues(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) Issue 122: Check Subscription behavior when notification response is null
This method registers a subscription, by executing a direct partial subscriptionWithNullResponse subscription against the GraphQL server.
-
Constructor Details
-
TheSubscriptionTypeExecutorMySchema
public TheSubscriptionTypeExecutorMySchema()
-
-
Method Details
-
execWithBindValues
public SubscriptionClient execWithBindValues(String queryResponseDef, SubscriptionCallback<?> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionThis method takes a full request definition, and executes it against the GraphQL server. As this class is a subscription executor, the provided request must be a subscription full request. It may only return one subscription's field.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above). It's a full request, as you would write it in graphiql. Is must include the subscription keyword.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the class of the subscription, that is the GraphQL type of the subscription's field that is subscribed.parameters- The map of values, for the bind variables defined in the query. If there is no bind variable in the defined Query, this argument may be null or an emptyMap. The key is the parameter name, as defined in the query (in the above sample: heroParam is an optional parameter and skip is a mandatory one). The value is the parameter vale in its Java type (for instance aDatefor theGraphQLScalarTypeDate). The parameters which value is missing in this map will no be transmitted toward the GraphQL server.- Returns:
- The
SubscriptionClientthat allows the caller to act on the subscribed subscription. - Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
exec
public SubscriptionClient exec(String queryResponseDef, SubscriptionCallback<?> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException This method takes a full request definition, and executes it against the GraphQL server. As this class is a subscription executor, the provided request must be a subscription full request. It may only return one subscription's field.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above). It's a full request, as you would write it in graphiql. Is must include the subscription keyword.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the class of the subscription, that is the GraphQL type of the subscription's field that is subscribed.paramsAndValues- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Returns:
- The
SubscriptionClientthat allows the caller to act on the subscribed subscription. - Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
execWithBindValues
public SubscriptionClient execWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<?> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionThis method takes a full request definition, and executes it against the GraphQL server. As this class is a subscription executor, the provided request must be a subscription full request. It may only return one subscription's field.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetGraphQLRequest(java.lang.String)method or one of thegetXxxxGraphQLRequest(String)methods.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the class of the subscription, that is the GraphQL type of the subscription's field that is subscribed.parameters- The map of values, for the bind variables defined in the query. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Returns:
- The
SubscriptionClientthat allows the caller to act on the subscribed subscription. - Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
exec
public SubscriptionClient exec(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<?> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException This method takes a full request definition, and executes it against the GraphQL server. As this class is a subscription executor, the provided request must be a subscription full request. It may only return one subscription's field.
You must also provide a callback instance of theSubscriptionCallback, that will be called each time a message or an error is sent by this subscribed subscription.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetGraphQLRequest(java.lang.String)method or one of thegetXxxxGraphQLRequest(String)methods.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the class of the subscription, that is the GraphQL type of the subscription's field that is subscribed.paramsAndValues- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Returns:
- The
SubscriptionClientthat allows the caller to act on the subscribed subscription. - Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getResponseBuilder
public com.graphql_java_generator.client.request.Builder getResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor a full request, as expected by the exec and execWithBindValues methods.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getGraphQLRequest
public GraphQLRequestMySchema getGraphQLRequest(String fullRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchema, to obtain a prepared full request. For instance:GraphQLRequestMySchema request = new GraphQLRequestMySchema(fullRequest);
- Parameters:
fullRequest- The full GraphQL request, as specified in the GraphQL specification- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
subscribeNewHumanForEpisodeWithBindValues
public SubscriptionClient subscribeNewHumanForEpisodeWithBindValues(String queryResponseDef, SubscriptionCallback<Human> subscriptionCallback, Episode episode, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionWill be notified for each Human added to this Episode
This method registers a subscription, by executing a direct partial subscribeNewHumanForEpisode subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.subscribeNewHumanForEpisodeis of typeHuman. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the subscribeNewHumanForEpisode subscription field.episode- Parameter for the subscribeNewHumanForEpisode field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscribeNewHumanForEpisode
public SubscriptionClient subscribeNewHumanForEpisode(String queryResponseDef, SubscriptionCallback<Human> subscriptionCallback, Episode episode, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException Will be notified for each Human added to this Episode
This method registers a subscription, by executing a direct partial subscribeNewHumanForEpisode subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.subscribeNewHumanForEpisodeis of typeHuman. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the subscribeNewHumanForEpisode subscription field.episode- Parameter for the subscribeNewHumanForEpisode field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscribeNewHumanForEpisodeWithBindValues
public SubscriptionClient subscribeNewHumanForEpisodeWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<Human> subscriptionCallback, Episode episode, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionWill be notified for each Human added to this Episode
This method registers a subscription, by executing a direct partial subscribeNewHumanForEpisode subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.subscribeNewHumanForEpisodeis of typeHuman. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetSubscribeNewHumanForEpisodeGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the subscribeNewHumanForEpisode subscription field.episode- Parameter for the subscribeNewHumanForEpisode field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscribeNewHumanForEpisode
public SubscriptionClient subscribeNewHumanForEpisode(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<Human> subscriptionCallback, Episode episode, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException Will be notified for each Human added to this Episode
This method registers a subscription, by executing a direct partial subscribeNewHumanForEpisode subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.subscribeNewHumanForEpisodeis of typeHuman. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetSubscribeNewHumanForEpisodeGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the subscribeNewHumanForEpisode subscription field.episode- Parameter for the subscribeNewHumanForEpisode field of TheSubscriptionType, as defined in the GraphQL schemaparamsAndValues- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getSubscribeNewHumanForEpisodeResponseBuilder
public com.graphql_java_generator.client.request.Builder getSubscribeNewHumanForEpisodeResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionWill be notified for each Human added to this Episode
Get theBuilderfor the Human, as expected by the subscribeNewHumanForEpisode subscription.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getSubscribeNewHumanForEpisodeGraphQLRequest
public GraphQLRequestMySchema getSubscribeNewHumanForEpisodeGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Will be notified for each Human added to this Episode
Get theGraphQLRequestMySchemafor the subscribeNewHumanForEpisode EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
subscribeToAListWithBindValues
public SubscriptionClient subscribeToAListWithBindValues(String queryResponseDef, SubscriptionCallback<List<Integer>> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionIssue 54
This method registers a subscription, by executing a direct partial subscribeToAList subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.subscribeToAListis of typeInteger. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the subscribeToAList subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscribeToAList
public SubscriptionClient subscribeToAList(String queryResponseDef, SubscriptionCallback<List<Integer>> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException Issue 54
This method registers a subscription, by executing a direct partial subscribeToAList subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.subscribeToAListis of typeInteger. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the subscribeToAList subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscribeToAListWithBindValues
public SubscriptionClient subscribeToAListWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<Integer>> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionIssue 54
This method registers a subscription, by executing a direct partial subscribeToAList subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.subscribeToAListis of typeInteger. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetSubscribeToAListGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the subscribeToAList subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscribeToAList
public SubscriptionClient subscribeToAList(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<Integer>> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException Issue 54
This method registers a subscription, by executing a direct partial subscribeToAList subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.subscribeToAListis of typeInteger. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetSubscribeToAListGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the subscribeToAList subscription field.paramsAndValues- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getSubscribeToAListResponseBuilder
public com.graphql_java_generator.client.request.Builder getSubscribeToAListResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionIssue 54
Get theBuilderfor the Integer, as expected by the subscribeToAList subscription.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getSubscribeToAListGraphQLRequest
public GraphQLRequestMySchema getSubscribeToAListGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Issue 54
Get theGraphQLRequestMySchemafor the subscribeToAList EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
subscribeToAListOfScalarsWithBindValues
public SubscriptionClient subscribeToAListOfScalarsWithBindValues(String queryResponseDef, SubscriptionCallback<List<Date>> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial subscribeToAListOfScalars subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.subscribeToAListOfScalarsis of typeDate. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the subscribeToAListOfScalars subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscribeToAListOfScalars
public SubscriptionClient subscribeToAListOfScalars(String queryResponseDef, SubscriptionCallback<List<Date>> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial subscribeToAListOfScalars subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.subscribeToAListOfScalarsis of typeDate. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the subscribeToAListOfScalars subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscribeToAListOfScalarsWithBindValues
public SubscriptionClient subscribeToAListOfScalarsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<Date>> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial subscribeToAListOfScalars subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.subscribeToAListOfScalarsis of typeDate. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetSubscribeToAListOfScalarsGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the subscribeToAListOfScalars subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscribeToAListOfScalars
public SubscriptionClient subscribeToAListOfScalars(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<Date>> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial subscribeToAListOfScalars subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.subscribeToAListOfScalarsis of typeDate. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetSubscribeToAListOfScalarsGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the subscribeToAListOfScalars subscription field.paramsAndValues- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getSubscribeToAListOfScalarsResponseBuilder
public com.graphql_java_generator.client.request.Builder getSubscribeToAListOfScalarsResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the Date, as expected by the subscribeToAListOfScalars subscription.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getSubscribeToAListOfScalarsGraphQLRequest
public GraphQLRequestMySchema getSubscribeToAListOfScalarsGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the subscribeToAListOfScalars EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
issue53WithBindValues
public SubscriptionClient issue53WithBindValues(String queryResponseDef, SubscriptionCallback<Date> subscriptionCallback, Date date, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionissue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
This method registers a subscription, by executing a direct partial issue53 subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.issue53is of typeDate. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the issue53 subscription field.date- Parameter for the issue53 field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue53
public SubscriptionClient issue53(String queryResponseDef, SubscriptionCallback<Date> subscriptionCallback, Date date, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
This method registers a subscription, by executing a direct partial issue53 subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.issue53is of typeDate. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the issue53 subscription field.date- Parameter for the issue53 field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue53WithBindValues
public SubscriptionClient issue53WithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<Date> subscriptionCallback, Date date, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionissue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
This method registers a subscription, by executing a direct partial issue53 subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.issue53is of typeDate. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetIssue53GraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the issue53 subscription field.date- Parameter for the issue53 field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue53
public SubscriptionClient issue53(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<Date> subscriptionCallback, Date date, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
This method registers a subscription, by executing a direct partial issue53 subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.issue53is of typeDate. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetIssue53GraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the issue53 subscription field.date- Parameter for the issue53 field of TheSubscriptionType, as defined in the GraphQL schemaparamsAndValues- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getIssue53ResponseBuilder
public com.graphql_java_generator.client.request.Builder getIssue53ResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionissue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
Get theBuilderfor the Date, as expected by the issue53 subscription.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getIssue53GraphQLRequest
public GraphQLRequestMySchema getIssue53GraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
Get theGraphQLRequestMySchemafor the issue53 EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
allGraphQLCasesInputWithBindValues
public SubscriptionClient allGraphQLCasesInputWithBindValues(String queryResponseDef, SubscriptionCallback<AllFieldCases> subscriptionCallback, AllFieldCasesInput input, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionSome subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
This method registers a subscription, by executing a direct partial allGraphQLCasesInput subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.allGraphQLCasesInputis of typeAllFieldCases. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the allGraphQLCasesInput subscription field.input- Parameter for the allGraphQLCasesInput field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
allGraphQLCasesInput
public SubscriptionClient allGraphQLCasesInput(String queryResponseDef, SubscriptionCallback<AllFieldCases> subscriptionCallback, AllFieldCasesInput input, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException Some subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
This method registers a subscription, by executing a direct partial allGraphQLCasesInput subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.allGraphQLCasesInputis of typeAllFieldCases. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the allGraphQLCasesInput subscription field.input- Parameter for the allGraphQLCasesInput field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
allGraphQLCasesInputWithBindValues
public SubscriptionClient allGraphQLCasesInputWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<AllFieldCases> subscriptionCallback, AllFieldCasesInput input, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionSome subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
This method registers a subscription, by executing a direct partial allGraphQLCasesInput subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.allGraphQLCasesInputis of typeAllFieldCases. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetAllGraphQLCasesInputGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the allGraphQLCasesInput subscription field.input- Parameter for the allGraphQLCasesInput field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
allGraphQLCasesInput
public SubscriptionClient allGraphQLCasesInput(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<AllFieldCases> subscriptionCallback, AllFieldCasesInput input, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException Some subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
This method registers a subscription, by executing a direct partial allGraphQLCasesInput subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.allGraphQLCasesInputis of typeAllFieldCases. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetAllGraphQLCasesInputGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the allGraphQLCasesInput subscription field.input- Parameter for the allGraphQLCasesInput field of TheSubscriptionType, as defined in the GraphQL schemaparamsAndValues- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getAllGraphQLCasesInputResponseBuilder
public com.graphql_java_generator.client.request.Builder getAllGraphQLCasesInputResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionSome subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
Get theBuilderfor the AllFieldCases, as expected by the allGraphQLCasesInput subscription.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getAllGraphQLCasesInputGraphQLRequest
public GraphQLRequestMySchema getAllGraphQLCasesInputGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Some subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
Get theGraphQLRequestMySchemafor the allGraphQLCasesInput EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
allGraphQLCasesParamWithBindValues
public SubscriptionClient allGraphQLCasesParamWithBindValues(String queryResponseDef, SubscriptionCallback<AllFieldCases> subscriptionCallback, String id, String name, Long age, Integer integer, Date date, List<Date> dates, List<List<Double>> matrix, AllFieldCasesWithoutIdSubtypeInput oneWithoutIdSubtype, List<AllFieldCasesWithoutIdSubtypeInput> listWithoutIdSubtype, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial allGraphQLCasesParam subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.allGraphQLCasesParamis of typeAllFieldCases. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the allGraphQLCasesParam subscription field.id- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaname- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaage- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemainteger- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemadate- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemadates- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemamatrix- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaoneWithoutIdSubtype- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemalistWithoutIdSubtype- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
allGraphQLCasesParam
public SubscriptionClient allGraphQLCasesParam(String queryResponseDef, SubscriptionCallback<AllFieldCases> subscriptionCallback, String id, String name, Long age, Integer integer, Date date, List<Date> dates, List<List<Double>> matrix, AllFieldCasesWithoutIdSubtypeInput oneWithoutIdSubtype, List<AllFieldCasesWithoutIdSubtypeInput> listWithoutIdSubtype, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial allGraphQLCasesParam subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.allGraphQLCasesParamis of typeAllFieldCases. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the allGraphQLCasesParam subscription field.id- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaname- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaage- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemainteger- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemadate- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemadates- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemamatrix- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaoneWithoutIdSubtype- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemalistWithoutIdSubtype- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
allGraphQLCasesParamWithBindValues
public SubscriptionClient allGraphQLCasesParamWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<AllFieldCases> subscriptionCallback, String id, String name, Long age, Integer integer, Date date, List<Date> dates, List<List<Double>> matrix, AllFieldCasesWithoutIdSubtypeInput oneWithoutIdSubtype, List<AllFieldCasesWithoutIdSubtypeInput> listWithoutIdSubtype, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial allGraphQLCasesParam subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.allGraphQLCasesParamis of typeAllFieldCases. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetAllGraphQLCasesParamGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the allGraphQLCasesParam subscription field.id- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaname- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaage- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemainteger- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemadate- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemadates- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemamatrix- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaoneWithoutIdSubtype- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemalistWithoutIdSubtype- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
allGraphQLCasesParam
public SubscriptionClient allGraphQLCasesParam(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<AllFieldCases> subscriptionCallback, String id, String name, Long age, Integer integer, Date date, List<Date> dates, List<List<Double>> matrix, AllFieldCasesWithoutIdSubtypeInput oneWithoutIdSubtype, List<AllFieldCasesWithoutIdSubtypeInput> listWithoutIdSubtype, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial allGraphQLCasesParam subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.allGraphQLCasesParamis of typeAllFieldCases. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetAllGraphQLCasesParamGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the allGraphQLCasesParam subscription field.id- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaname- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaage- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemainteger- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemadate- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemadates- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemamatrix- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaoneWithoutIdSubtype- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemalistWithoutIdSubtype- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaparamsAndValues- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getAllGraphQLCasesParamResponseBuilder
public com.graphql_java_generator.client.request.Builder getAllGraphQLCasesParamResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the AllFieldCases, as expected by the allGraphQLCasesParam subscription.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getAllGraphQLCasesParamGraphQLRequest
public GraphQLRequestMySchema getAllGraphQLCasesParamGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the allGraphQLCasesParam EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
subscriptionTestWithBindValues
public SubscriptionClient subscriptionTestWithBindValues(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, SubscriptionTestParam param, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException
A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
This method registers a subscription, by executing a direct partial subscriptionTest subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.subscriptionTestis of typeString. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the subscriptionTest subscription field.param- Parameter for the subscriptionTest field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscriptionTest
public SubscriptionClient subscriptionTest(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, SubscriptionTestParam param, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException
A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
This method registers a subscription, by executing a direct partial subscriptionTest subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.subscriptionTestis of typeString. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the subscriptionTest subscription field.param- Parameter for the subscriptionTest field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscriptionTestWithBindValues
public SubscriptionClient subscriptionTestWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, SubscriptionTestParam param, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException
A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
This method registers a subscription, by executing a direct partial subscriptionTest subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.subscriptionTestis of typeString. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetSubscriptionTestGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the subscriptionTest subscription field.param- Parameter for the subscriptionTest field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscriptionTest
public SubscriptionClient subscriptionTest(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, SubscriptionTestParam param, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException
A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
This method registers a subscription, by executing a direct partial subscriptionTest subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.subscriptionTestis of typeString. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetSubscriptionTestGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the subscriptionTest subscription field.param- Parameter for the subscriptionTest field of TheSubscriptionType, as defined in the GraphQL schemaparamsAndValues- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getSubscriptionTestResponseBuilder
public com.graphql_java_generator.client.request.Builder getSubscriptionTestResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationException
A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
Get theBuilderfor the String, as expected by the subscriptionTest subscription.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getSubscriptionTestGraphQLRequest
public GraphQLRequestMySchema getSubscriptionTestGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException
A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
Get theGraphQLRequestMySchemafor the subscriptionTest EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
returnEnumWithBindValues
public SubscriptionClient returnEnumWithBindValues(String queryResponseDef, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial returnEnum subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.returnEnumis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the returnEnum subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnEnum
public SubscriptionClient returnEnum(String queryResponseDef, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial returnEnum subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.returnEnumis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the returnEnum subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnEnumWithBindValues
public SubscriptionClient returnEnumWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial returnEnum subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.returnEnumis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetReturnEnumGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the returnEnum subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnEnum
public SubscriptionClient returnEnum(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial returnEnum subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.returnEnumis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetReturnEnumGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the returnEnum subscription field.paramsAndValues- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnEnumResponseBuilder
public com.graphql_java_generator.client.request.Builder getReturnEnumResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the EnumWithReservedJavaKeywordAsValues, as expected by the returnEnum subscription.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getReturnEnumGraphQLRequest
public GraphQLRequestMySchema getReturnEnumGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the returnEnum EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
returnMandatoryEnumWithBindValues
public SubscriptionClient returnMandatoryEnumWithBindValues(String queryResponseDef, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, EnumWithReservedJavaKeywordAsValues _enum, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial returnMandatoryEnum subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.returnMandatoryEnumis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the returnMandatoryEnum subscription field.enum- Parameter for the returnMandatoryEnum field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryEnum
public SubscriptionClient returnMandatoryEnum(String queryResponseDef, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, EnumWithReservedJavaKeywordAsValues _enum, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial returnMandatoryEnum subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.returnMandatoryEnumis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the returnMandatoryEnum subscription field.enum- Parameter for the returnMandatoryEnum field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryEnumWithBindValues
public SubscriptionClient returnMandatoryEnumWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, EnumWithReservedJavaKeywordAsValues _enum, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial returnMandatoryEnum subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.returnMandatoryEnumis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetReturnMandatoryEnumGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the returnMandatoryEnum subscription field.enum- Parameter for the returnMandatoryEnum field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryEnum
public SubscriptionClient returnMandatoryEnum(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, EnumWithReservedJavaKeywordAsValues _enum, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial returnMandatoryEnum subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.returnMandatoryEnumis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetReturnMandatoryEnumGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the returnMandatoryEnum subscription field.enum- Parameter for the returnMandatoryEnum field of TheSubscriptionType, as defined in the GraphQL schemaparamsAndValues- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnMandatoryEnumResponseBuilder
public com.graphql_java_generator.client.request.Builder getReturnMandatoryEnumResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the EnumWithReservedJavaKeywordAsValues, as expected by the returnMandatoryEnum subscription.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getReturnMandatoryEnumGraphQLRequest
public GraphQLRequestMySchema getReturnMandatoryEnumGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the returnMandatoryEnum EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
returnListOfEnumsWithBindValues
public SubscriptionClient returnListOfEnumsWithBindValues(String queryResponseDef, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial returnListOfEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.returnListOfEnumsis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the returnListOfEnums subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfEnums
public SubscriptionClient returnListOfEnums(String queryResponseDef, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial returnListOfEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.returnListOfEnumsis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the returnListOfEnums subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfEnumsWithBindValues
public SubscriptionClient returnListOfEnumsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial returnListOfEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.returnListOfEnumsis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetReturnListOfEnumsGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the returnListOfEnums subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfEnums
public SubscriptionClient returnListOfEnums(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial returnListOfEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.returnListOfEnumsis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetReturnListOfEnumsGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the returnListOfEnums subscription field.paramsAndValues- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnListOfEnumsResponseBuilder
public com.graphql_java_generator.client.request.Builder getReturnListOfEnumsResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the EnumWithReservedJavaKeywordAsValues, as expected by the returnListOfEnums subscription.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getReturnListOfEnumsGraphQLRequest
public GraphQLRequestMySchema getReturnListOfEnumsGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the returnListOfEnums EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
returnListOfMandatoryEnumsWithBindValues
public SubscriptionClient returnListOfMandatoryEnumsWithBindValues(String queryResponseDef, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial returnListOfMandatoryEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.returnListOfMandatoryEnumsis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the returnListOfMandatoryEnums subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfMandatoryEnums
public SubscriptionClient returnListOfMandatoryEnums(String queryResponseDef, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial returnListOfMandatoryEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.returnListOfMandatoryEnumsis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the returnListOfMandatoryEnums subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfMandatoryEnumsWithBindValues
public SubscriptionClient returnListOfMandatoryEnumsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial returnListOfMandatoryEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.returnListOfMandatoryEnumsis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetReturnListOfMandatoryEnumsGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the returnListOfMandatoryEnums subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfMandatoryEnums
public SubscriptionClient returnListOfMandatoryEnums(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial returnListOfMandatoryEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.returnListOfMandatoryEnumsis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetReturnListOfMandatoryEnumsGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the returnListOfMandatoryEnums subscription field.paramsAndValues- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnListOfMandatoryEnumsResponseBuilder
public com.graphql_java_generator.client.request.Builder getReturnListOfMandatoryEnumsResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the EnumWithReservedJavaKeywordAsValues, as expected by the returnListOfMandatoryEnums subscription.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getReturnListOfMandatoryEnumsGraphQLRequest
public GraphQLRequestMySchema getReturnListOfMandatoryEnumsGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the returnListOfMandatoryEnums EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
returnListOfListOfEnumsWithBindValues
public SubscriptionClient returnListOfListOfEnumsWithBindValues(String queryResponseDef, SubscriptionCallback<List<List<EnumWithReservedJavaKeywordAsValues>>> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial returnListOfListOfEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.returnListOfListOfEnumsis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the returnListOfListOfEnums subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfListOfEnums
public SubscriptionClient returnListOfListOfEnums(String queryResponseDef, SubscriptionCallback<List<List<EnumWithReservedJavaKeywordAsValues>>> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial returnListOfListOfEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.returnListOfListOfEnumsis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the returnListOfListOfEnums subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfListOfEnumsWithBindValues
public SubscriptionClient returnListOfListOfEnumsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<List<EnumWithReservedJavaKeywordAsValues>>> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial returnListOfListOfEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.returnListOfListOfEnumsis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetReturnListOfListOfEnumsGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the returnListOfListOfEnums subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfListOfEnums
public SubscriptionClient returnListOfListOfEnums(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<List<EnumWithReservedJavaKeywordAsValues>>> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial returnListOfListOfEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.returnListOfListOfEnumsis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetReturnListOfListOfEnumsGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the returnListOfListOfEnums subscription field.paramsAndValues- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnListOfListOfEnumsResponseBuilder
public com.graphql_java_generator.client.request.Builder getReturnListOfListOfEnumsResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the EnumWithReservedJavaKeywordAsValues, as expected by the returnListOfListOfEnums subscription.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getReturnListOfListOfEnumsGraphQLRequest
public GraphQLRequestMySchema getReturnListOfListOfEnumsGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the returnListOfListOfEnums EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
returnMandatoryListOfEnumsWithBindValues
public SubscriptionClient returnMandatoryListOfEnumsWithBindValues(String queryResponseDef, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial returnMandatoryListOfEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.returnMandatoryListOfEnumsis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the returnMandatoryListOfEnums subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryListOfEnums
public SubscriptionClient returnMandatoryListOfEnums(String queryResponseDef, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial returnMandatoryListOfEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.returnMandatoryListOfEnumsis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the returnMandatoryListOfEnums subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryListOfEnumsWithBindValues
public SubscriptionClient returnMandatoryListOfEnumsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial returnMandatoryListOfEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.returnMandatoryListOfEnumsis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetReturnMandatoryListOfEnumsGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the returnMandatoryListOfEnums subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryListOfEnums
public SubscriptionClient returnMandatoryListOfEnums(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial returnMandatoryListOfEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.returnMandatoryListOfEnumsis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetReturnMandatoryListOfEnumsGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the returnMandatoryListOfEnums subscription field.paramsAndValues- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnMandatoryListOfEnumsResponseBuilder
public com.graphql_java_generator.client.request.Builder getReturnMandatoryListOfEnumsResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the EnumWithReservedJavaKeywordAsValues, as expected by the returnMandatoryListOfEnums subscription.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getReturnMandatoryListOfEnumsGraphQLRequest
public GraphQLRequestMySchema getReturnMandatoryListOfEnumsGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the returnMandatoryListOfEnums EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
returnMandatoryListOfMandatoryEnumsWithBindValues
public SubscriptionClient returnMandatoryListOfMandatoryEnumsWithBindValues(String queryResponseDef, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial returnMandatoryListOfMandatoryEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.returnMandatoryListOfMandatoryEnumsis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the returnMandatoryListOfMandatoryEnums subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryListOfMandatoryEnums
public SubscriptionClient returnMandatoryListOfMandatoryEnums(String queryResponseDef, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial returnMandatoryListOfMandatoryEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.returnMandatoryListOfMandatoryEnumsis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the returnMandatoryListOfMandatoryEnums subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryListOfMandatoryEnumsWithBindValues
public SubscriptionClient returnMandatoryListOfMandatoryEnumsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial returnMandatoryListOfMandatoryEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.returnMandatoryListOfMandatoryEnumsis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetReturnMandatoryListOfMandatoryEnumsGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the returnMandatoryListOfMandatoryEnums subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryListOfMandatoryEnums
public SubscriptionClient returnMandatoryListOfMandatoryEnums(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial returnMandatoryListOfMandatoryEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.returnMandatoryListOfMandatoryEnumsis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetReturnMandatoryListOfMandatoryEnumsGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the returnMandatoryListOfMandatoryEnums subscription field.paramsAndValues- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnMandatoryListOfMandatoryEnumsResponseBuilder
public com.graphql_java_generator.client.request.Builder getReturnMandatoryListOfMandatoryEnumsResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the EnumWithReservedJavaKeywordAsValues, as expected by the returnMandatoryListOfMandatoryEnums subscription.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getReturnMandatoryListOfMandatoryEnumsGraphQLRequest
public GraphQLRequestMySchema getReturnMandatoryListOfMandatoryEnumsGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the returnMandatoryListOfMandatoryEnums EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
subscriptionWithNullResponseWithBindValues
public SubscriptionClient subscriptionWithNullResponseWithBindValues(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionIssue 122: Check Subscription behavior when notification response is null
This method registers a subscription, by executing a direct partial subscriptionWithNullResponse subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.subscriptionWithNullResponseis of typeString. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the subscriptionWithNullResponse subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscriptionWithNullResponse
public SubscriptionClient subscriptionWithNullResponse(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException Issue 122: Check Subscription behavior when notification response is null
This method registers a subscription, by executing a direct partial subscriptionWithNullResponse subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.subscriptionWithNullResponseis of typeString. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the subscriptionWithNullResponse subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscriptionWithNullResponseWithBindValues
public SubscriptionClient subscriptionWithNullResponseWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionIssue 122: Check Subscription behavior when notification response is null
This method registers a subscription, by executing a direct partial subscriptionWithNullResponse subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.subscriptionWithNullResponseis of typeString. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetSubscriptionWithNullResponseGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the subscriptionWithNullResponse subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscriptionWithNullResponse
public SubscriptionClient subscriptionWithNullResponse(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException Issue 122: Check Subscription behavior when notification response is null
This method registers a subscription, by executing a direct partial subscriptionWithNullResponse subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.subscriptionWithNullResponseis of typeString. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetSubscriptionWithNullResponseGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the subscriptionWithNullResponse subscription field.paramsAndValues- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getSubscriptionWithNullResponseResponseBuilder
public com.graphql_java_generator.client.request.Builder getSubscriptionWithNullResponseResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionIssue 122: Check Subscription behavior when notification response is null
Get theBuilderfor the String, as expected by the subscriptionWithNullResponse subscription.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getSubscriptionWithNullResponseGraphQLRequest
public GraphQLRequestMySchema getSubscriptionWithNullResponseGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Issue 122: Check Subscription behavior when notification response is null
Get theGraphQLRequestMySchemafor the subscriptionWithNullResponse EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
enumWithReservedJavaKeywordAsValuesWithBindValues
public SubscriptionClient enumWithReservedJavaKeywordAsValuesWithBindValues(String queryResponseDef, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptiontest for issue #139 (use of java reserved keyword)
This method registers a subscription, by executing a direct partial enumWithReservedJavaKeywordAsValues subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.enumWithReservedJavaKeywordAsValuesis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the enumWithReservedJavaKeywordAsValues subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
enumWithReservedJavaKeywordAsValues
public SubscriptionClient enumWithReservedJavaKeywordAsValues(String queryResponseDef, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException test for issue #139 (use of java reserved keyword)
This method registers a subscription, by executing a direct partial enumWithReservedJavaKeywordAsValues subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.enumWithReservedJavaKeywordAsValuesis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the enumWithReservedJavaKeywordAsValues subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
enumWithReservedJavaKeywordAsValuesWithBindValues
public SubscriptionClient enumWithReservedJavaKeywordAsValuesWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptiontest for issue #139 (use of java reserved keyword)
This method registers a subscription, by executing a direct partial enumWithReservedJavaKeywordAsValues subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.enumWithReservedJavaKeywordAsValuesis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetEnumWithReservedJavaKeywordAsValuesGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the enumWithReservedJavaKeywordAsValues subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
enumWithReservedJavaKeywordAsValues
public SubscriptionClient enumWithReservedJavaKeywordAsValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException test for issue #139 (use of java reserved keyword)
This method registers a subscription, by executing a direct partial enumWithReservedJavaKeywordAsValues subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.enumWithReservedJavaKeywordAsValuesis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetEnumWithReservedJavaKeywordAsValuesGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the enumWithReservedJavaKeywordAsValues subscription field.paramsAndValues- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getEnumWithReservedJavaKeywordAsValuesResponseBuilder
public com.graphql_java_generator.client.request.Builder getEnumWithReservedJavaKeywordAsValuesResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptiontest for issue #139 (use of java reserved keyword)
Get theBuilderfor the EnumWithReservedJavaKeywordAsValues, as expected by the enumWithReservedJavaKeywordAsValues subscription.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getEnumWithReservedJavaKeywordAsValuesGraphQLRequest
public GraphQLRequestMySchema getEnumWithReservedJavaKeywordAsValuesGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException test for issue #139 (use of java reserved keyword)
Get theGraphQLRequestMySchemafor the enumWithReservedJavaKeywordAsValues EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
listOfEnumWithReservedJavaKeywordAsValuesWithBindValues
public SubscriptionClient listOfEnumWithReservedJavaKeywordAsValuesWithBindValues(String queryResponseDef, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial listOfEnumWithReservedJavaKeywordAsValues subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.listOfEnumWithReservedJavaKeywordAsValuesis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the listOfEnumWithReservedJavaKeywordAsValues subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
listOfEnumWithReservedJavaKeywordAsValues
public SubscriptionClient listOfEnumWithReservedJavaKeywordAsValues(String queryResponseDef, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial listOfEnumWithReservedJavaKeywordAsValues subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.listOfEnumWithReservedJavaKeywordAsValuesis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the listOfEnumWithReservedJavaKeywordAsValues subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
listOfEnumWithReservedJavaKeywordAsValuesWithBindValues
public SubscriptionClient listOfEnumWithReservedJavaKeywordAsValuesWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial listOfEnumWithReservedJavaKeywordAsValues subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.listOfEnumWithReservedJavaKeywordAsValuesis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetListOfEnumWithReservedJavaKeywordAsValuesGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the listOfEnumWithReservedJavaKeywordAsValues subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
listOfEnumWithReservedJavaKeywordAsValues
public SubscriptionClient listOfEnumWithReservedJavaKeywordAsValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial listOfEnumWithReservedJavaKeywordAsValues subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.listOfEnumWithReservedJavaKeywordAsValuesis of typeEnumWithReservedJavaKeywordAsValues. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetListOfEnumWithReservedJavaKeywordAsValuesGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the listOfEnumWithReservedJavaKeywordAsValues subscription field.paramsAndValues- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getListOfEnumWithReservedJavaKeywordAsValuesResponseBuilder
public com.graphql_java_generator.client.request.Builder getListOfEnumWithReservedJavaKeywordAsValuesResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the EnumWithReservedJavaKeywordAsValues, as expected by the listOfEnumWithReservedJavaKeywordAsValues subscription.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getListOfEnumWithReservedJavaKeywordAsValuesGraphQLRequest
public GraphQLRequestMySchema getListOfEnumWithReservedJavaKeywordAsValuesGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the listOfEnumWithReservedJavaKeywordAsValues EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_ifWithBindValues
public SubscriptionClient _ifWithBindValues(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial if subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.ifis of typeString. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the if subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_if
public SubscriptionClient _if(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial if subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.ifis of typeString. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the if subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_ifWithBindValues
public SubscriptionClient _ifWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial if subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.ifis of typeString. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetIfGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the if subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_if
public SubscriptionClient _if(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial if subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.ifis of typeString. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetIfGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the if subscription field.paramsAndValues- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getIfResponseBuilder
public com.graphql_java_generator.client.request.Builder getIfResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the if subscription.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getIfGraphQLRequest
public GraphQLRequestMySchema getIfGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the if EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_implementsWithBindValues
public SubscriptionClient _implementsWithBindValues(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial implements subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.implementsis of typeString. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the implements subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_implements
public SubscriptionClient _implements(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial implements subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.implementsis of typeString. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the implements subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_implementsWithBindValues
public SubscriptionClient _implementsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial implements subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.implementsis of typeString. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetImplementsGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the implements subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_implements
public SubscriptionClient _implements(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial implements subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.implementsis of typeString. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetImplementsGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the implements subscription field.paramsAndValues- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getImplementsResponseBuilder
public com.graphql_java_generator.client.request.Builder getImplementsResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the implements subscription.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getImplementsGraphQLRequest
public GraphQLRequestMySchema getImplementsGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the implements EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_nullWithBindValues
public SubscriptionClient _nullWithBindValues(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionIssue #188: null is not identified as a java keyword
This method registers a subscription, by executing a direct partial null subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.nullis of typeString. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the null subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_null
public SubscriptionClient _null(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException Issue #188: null is not identified as a java keyword
This method registers a subscription, by executing a direct partial null subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.nullis of typeString. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the null subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_nullWithBindValues
public SubscriptionClient _nullWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionIssue #188: null is not identified as a java keyword
This method registers a subscription, by executing a direct partial null subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.nullis of typeString. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetNullGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the null subscription field.parameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_null
public SubscriptionClient _null(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException Issue #188: null is not identified as a java keyword
This method registers a subscription, by executing a direct partial null subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.nullis of typeString. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetNullGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the null subscription field.paramsAndValues- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getNullResponseBuilder
public com.graphql_java_generator.client.request.Builder getNullResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionIssue #188: null is not identified as a java keyword
Get theBuilderfor the String, as expected by the null subscription.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getNullGraphQLRequest
public GraphQLRequestMySchema getNullGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Issue #188: null is not identified as a java keyword
Get theGraphQLRequestMySchemafor the null EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
jsonWithBindValues
public SubscriptionClient jsonWithBindValues(String queryResponseDef, SubscriptionCallback<com.fasterxml.jackson.databind.node.ObjectNode> subscriptionCallback, com.fasterxml.jackson.databind.node.ObjectNode json, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionTest of JSON scalar, for issue #205
This method registers a subscription, by executing a direct partial json subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.jsonis of typeObjectNode. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the json subscription field.json- Parameter for the json field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
json
public SubscriptionClient json(String queryResponseDef, SubscriptionCallback<com.fasterxml.jackson.databind.node.ObjectNode> subscriptionCallback, com.fasterxml.jackson.databind.node.ObjectNode json, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException Test of JSON scalar, for issue #205
This method registers a subscription, by executing a direct partial json subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.jsonis of typeObjectNode. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the json subscription field.json- Parameter for the json field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsonWithBindValues
public SubscriptionClient jsonWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<com.fasterxml.jackson.databind.node.ObjectNode> subscriptionCallback, com.fasterxml.jackson.databind.node.ObjectNode json, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionTest of JSON scalar, for issue #205
This method registers a subscription, by executing a direct partial json subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.jsonis of typeObjectNode. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetJsonGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the json subscription field.json- Parameter for the json field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
json
public SubscriptionClient json(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<com.fasterxml.jackson.databind.node.ObjectNode> subscriptionCallback, com.fasterxml.jackson.databind.node.ObjectNode json, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException Test of JSON scalar, for issue #205
This method registers a subscription, by executing a direct partial json subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.jsonis of typeObjectNode. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetJsonGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the json subscription field.json- Parameter for the json field of TheSubscriptionType, as defined in the GraphQL schemaparamsAndValues- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getJsonResponseBuilder
public com.graphql_java_generator.client.request.Builder getJsonResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionTest of JSON scalar, for issue #205
Get theBuilderfor the ObjectNode, as expected by the json subscription.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getJsonGraphQLRequest
public GraphQLRequestMySchema getJsonGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Test of JSON scalar, for issue #205
Get theGraphQLRequestMySchemafor the json EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
jsonsWithBindValues
public SubscriptionClient jsonsWithBindValues(String queryResponseDef, SubscriptionCallback<List<com.fasterxml.jackson.databind.node.ObjectNode>> subscriptionCallback, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial jsons subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.jsonsis of typeObjectNode. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the jsons subscription field.jsons- Parameter for the jsons field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsons
public SubscriptionClient jsons(String queryResponseDef, SubscriptionCallback<List<com.fasterxml.jackson.databind.node.ObjectNode>> subscriptionCallback, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial jsons subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.jsonsis of typeObjectNode. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the jsons subscription field.jsons- Parameter for the jsons field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsonsWithBindValues
public SubscriptionClient jsonsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<com.fasterxml.jackson.databind.node.ObjectNode>> subscriptionCallback, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial jsons subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.jsonsis of typeObjectNode. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetJsonsGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the jsons subscription field.jsons- Parameter for the jsons field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsons
public SubscriptionClient jsons(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<com.fasterxml.jackson.databind.node.ObjectNode>> subscriptionCallback, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial jsons subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.jsonsis of typeObjectNode. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetJsonsGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the jsons subscription field.jsons- Parameter for the jsons field of TheSubscriptionType, as defined in the GraphQL schemaparamsAndValues- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getJsonsResponseBuilder
public com.graphql_java_generator.client.request.Builder getJsonsResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the ObjectNode, as expected by the jsons subscription.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getJsonsGraphQLRequest
public GraphQLRequestMySchema getJsonsGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the jsons EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
jsonsWithInputWithBindValues
public SubscriptionClient jsonsWithInputWithBindValues(String queryResponseDef, SubscriptionCallback<List<TypeWithJson>> subscriptionCallback, List<InputWithJson> input, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial jsonsWithInput subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.jsonsWithInputis of typeTypeWithJson. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the jsonsWithInput subscription field.input- Parameter for the jsonsWithInput field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsonsWithInput
public SubscriptionClient jsonsWithInput(String queryResponseDef, SubscriptionCallback<List<TypeWithJson>> subscriptionCallback, List<InputWithJson> input, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial jsonsWithInput subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.jsonsWithInputis of typeTypeWithJson. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the jsonsWithInput subscription field.input- Parameter for the jsonsWithInput field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsonsWithInputWithBindValues
public SubscriptionClient jsonsWithInputWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<TypeWithJson>> subscriptionCallback, List<InputWithJson> input, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial jsonsWithInput subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.jsonsWithInputis of typeTypeWithJson. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetJsonsWithInputGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the jsonsWithInput subscription field.input- Parameter for the jsonsWithInput field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsonsWithInput
public SubscriptionClient jsonsWithInput(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<TypeWithJson>> subscriptionCallback, List<InputWithJson> input, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial jsonsWithInput subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.jsonsWithInputis of typeTypeWithJson. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetJsonsWithInputGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the jsonsWithInput subscription field.input- Parameter for the jsonsWithInput field of TheSubscriptionType, as defined in the GraphQL schemaparamsAndValues- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getJsonsWithInputResponseBuilder
public com.graphql_java_generator.client.request.Builder getJsonsWithInputResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the TypeWithJson, as expected by the jsonsWithInput subscription.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getJsonsWithInputGraphQLRequest
public GraphQLRequestMySchema getJsonsWithInputGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the jsonsWithInput EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
objectsWithInputWithBindValues
public SubscriptionClient objectsWithInputWithBindValues(String queryResponseDef, SubscriptionCallback<List<TypeWithObject>> subscriptionCallback, List<InputWithObject> input, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial objectsWithInput subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.objectsWithInputis of typeTypeWithObject. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the objectsWithInput subscription field.input- Parameter for the objectsWithInput field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
objectsWithInput
public SubscriptionClient objectsWithInput(String queryResponseDef, SubscriptionCallback<List<TypeWithObject>> subscriptionCallback, List<InputWithObject> input, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial objectsWithInput subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.objectsWithInputis of typeTypeWithObject. Here is a sample on how to use it:- Parameters:
queryResponseDef- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the objectsWithInput subscription field.input- Parameter for the objectsWithInput field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
objectsWithInputWithBindValues
public SubscriptionClient objectsWithInputWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<TypeWithObject>> subscriptionCallback, List<InputWithObject> input, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial objectsWithInput subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.objectsWithInputis of typeTypeWithObject. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetObjectsWithInputGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the objectsWithInput subscription field.input- Parameter for the objectsWithInput field of TheSubscriptionType, as defined in the GraphQL schemaparameters- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
objectsWithInput
public SubscriptionClient objectsWithInput(com.graphql_java_generator.client.request.ObjectResponse objectResponse, SubscriptionCallback<List<TypeWithObject>> subscriptionCallback, List<InputWithObject> input, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial objectsWithInput subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback, as theTheSubscriptionType.objectsWithInputis of typeTypeWithObject. Here is a sample on how to use it:- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetObjectsWithInputGraphQLRequest(java.lang.String)method.subscriptionCallback- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback<clazz>, whereclazzis the objectsWithInput subscription field.input- Parameter for the objectsWithInput field of TheSubscriptionType, as defined in the GraphQL schemaparamsAndValues- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getObjectsWithInputResponseBuilder
public com.graphql_java_generator.client.request.Builder getObjectsWithInputResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the TypeWithObject, as expected by the objectsWithInput subscription.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getObjectsWithInputGraphQLRequest
public GraphQLRequestMySchema getObjectsWithInputGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the objectsWithInput EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-