Class TheSubscriptionTypeExecutorAllGraphQLCases2

java.lang.Object
org.allGraphQLCases.client2.TheSubscriptionTypeExecutorAllGraphQLCases2
All Implemented Interfaces:
GraphQLSubscriptionExecutor

@Component public class TheSubscriptionTypeExecutorAllGraphQLCases2 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:
  • Preparation of partial subscription requests
  • Execution of partial prepared subscription requests
  • Execution of partial direct subscription requests
You'll find all the documentation on the client page doc.
Author:
generated by graphql-java-generator
  • Constructor Details

    • TheSubscriptionTypeExecutorAllGraphQLCases2

      public TheSubscriptionTypeExecutorAllGraphQLCases2()
  • Method Details

    • execWithBindValues

      public SubscriptionClient execWithBindValues(String queryResponseDef, SubscriptionCallback<?> subscriptionCallback, Map<String,Object> parameters) throws GraphQLRequestExecutionException, 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map. 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 a Date for the GraphQLScalarTypeDate). The parameters which value is missing in this map will no be transmitted toward the GraphQL server.
      Returns:
      The SubscriptionClient that allows the caller to act on the subscribed subscription.
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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 GraphQLRequestExecutionException, 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 of SubscriptionCallback<clazz>, where clazz is 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 SubscriptionClient that allows the caller to act on the subscribed subscription.
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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(ObjectResponse objectResponse, SubscriptionCallback<?> subscriptionCallback, Map<String,Object> parameters) throws 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.
      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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getGraphQLRequest(java.lang.String) method or one of the getXxxxGraphQLRequest(String) methods.
      subscriptionCallback - The instance that will be called for each notification (message or error) received for this subscription.
      It's an instance of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Returns:
      The SubscriptionClient that allows the caller to act on the subscribed subscription.
      Throws:
      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(ObjectResponse objectResponse, SubscriptionCallback<?> subscriptionCallback, Object... paramsAndValues) throws 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 the SubscriptionCallback, 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getGraphQLRequest(java.lang.String) method or one of the getXxxxGraphQLRequest(String) methods.
      subscriptionCallback - The instance that will be called for each notification (message or error) received for this subscription.
      It's an instance of SubscriptionCallback<clazz>, where clazz is 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 SubscriptionClient that allows the caller to act on the subscribed subscription.
      Throws:
      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 Builder getResponseBuilder() throws GraphQLRequestPreparationException
      Get the Builder for a full request, as expected by the exec and execWithBindValues methods.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getGraphQLRequest

      public GraphQLRequestAllGraphQLCases2 getGraphQLRequest(String fullRequest) throws GraphQLRequestPreparationException
      Get the GraphQLRequestAllGraphQLCases2, to obtain a prepared full request. For instance:
       GraphQLRequestAllGraphQLCases2 request = new GraphQLRequestAllGraphQLCases2(fullRequest);
       
      Parameters:
      fullRequest - The full GraphQL request, as specified in the GraphQL specification
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • subscribeNewHumanForEpisodeWithBindValues

      public SubscriptionClient subscribeNewHumanForEpisodeWithBindValues(String queryResponseDef, SubscriptionCallback<Human> subscriptionCallback, Episode episode, Map<String,Object> parameters) throws GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.subscribeNewHumanForEpisode is of type Human. 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 of SubscriptionCallback<clazz>, where clazz is the subscribeNewHumanForEpisode subscription field.
      episode - Parameter for the subscribeNewHumanForEpisode field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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 GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.subscribeNewHumanForEpisode is of type Human. 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 of SubscriptionCallback<clazz>, where clazz is the subscribeNewHumanForEpisode subscription field.
      episode - Parameter for the subscribeNewHumanForEpisode field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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(ObjectResponse objectResponse, SubscriptionCallback<Human> subscriptionCallback, Episode episode, Map<String,Object> parameters) throws 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 of SubscriptionCallback, as the TheSubscriptionType.subscribeNewHumanForEpisode is of type Human. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getSubscribeNewHumanForEpisodeGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is the subscribeNewHumanForEpisode subscription field.
      episode - Parameter for the subscribeNewHumanForEpisode field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      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(ObjectResponse objectResponse, SubscriptionCallback<Human> subscriptionCallback, Episode episode, Object... paramsAndValues) throws 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 of SubscriptionCallback, as the TheSubscriptionType.subscribeNewHumanForEpisode is of type Human. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getSubscribeNewHumanForEpisodeGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is the subscribeNewHumanForEpisode subscription field.
      episode - Parameter for the subscribeNewHumanForEpisode field of TheSubscriptionType, as defined in the GraphQL schema
      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:
      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 Builder getSubscribeNewHumanForEpisodeResponseBuilder() throws GraphQLRequestPreparationException
      Will be notified for each Human added to this Episode
      Get the Builder for the Human, as expected by the subscribeNewHumanForEpisode subscription.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getSubscribeNewHumanForEpisodeGraphQLRequest

      public GraphQLRequestAllGraphQLCases2 getSubscribeNewHumanForEpisodeGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Will be notified for each Human added to this Episode
      Get the GraphQLRequestAllGraphQLCases2 for the subscribeNewHumanForEpisode EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • subscribeToAListWithBindValues

      public SubscriptionClient subscribeToAListWithBindValues(String queryResponseDef, SubscriptionCallback<List<Integer>> subscriptionCallback, Map<String,Object> parameters) throws GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.subscribeToAList is of type Integer. 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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 GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.subscribeToAList is of type Integer. 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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(ObjectResponse objectResponse, SubscriptionCallback<List<Integer>> subscriptionCallback, Map<String,Object> parameters) throws 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 of SubscriptionCallback, as the TheSubscriptionType.subscribeToAList is of type Integer. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getSubscribeToAListGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      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(ObjectResponse objectResponse, SubscriptionCallback<List<Integer>> subscriptionCallback, Object... paramsAndValues) throws 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 of SubscriptionCallback, as the TheSubscriptionType.subscribeToAList is of type Integer. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getSubscribeToAListGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is 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:
      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 Builder getSubscribeToAListResponseBuilder() throws GraphQLRequestPreparationException
      Issue 54
      Get the Builder for the Integer, as expected by the subscribeToAList subscription.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getSubscribeToAListGraphQLRequest

      public GraphQLRequestAllGraphQLCases2 getSubscribeToAListGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Issue 54
      Get the GraphQLRequestAllGraphQLCases2 for the subscribeToAList EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • subscribeToAListOfScalarsWithBindValues

      public SubscriptionClient subscribeToAListOfScalarsWithBindValues(String queryResponseDef, SubscriptionCallback<List<Date>> subscriptionCallback, Map<String,Object> parameters) throws GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.subscribeToAListOfScalars is of type Date. 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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 GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.subscribeToAListOfScalars is of type Date. 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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(ObjectResponse objectResponse, SubscriptionCallback<List<Date>> subscriptionCallback, Map<String,Object> parameters) throws 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 of SubscriptionCallback, as the TheSubscriptionType.subscribeToAListOfScalars is of type Date. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getSubscribeToAListOfScalarsGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      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(ObjectResponse objectResponse, SubscriptionCallback<List<Date>> subscriptionCallback, Object... paramsAndValues) throws 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 of SubscriptionCallback, as the TheSubscriptionType.subscribeToAListOfScalars is of type Date. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getSubscribeToAListOfScalarsGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is 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:
      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 Builder getSubscribeToAListOfScalarsResponseBuilder() throws GraphQLRequestPreparationException
      Get the Builder for the Date, as expected by the subscribeToAListOfScalars subscription.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getSubscribeToAListOfScalarsGraphQLRequest

      public GraphQLRequestAllGraphQLCases2 getSubscribeToAListOfScalarsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Get the GraphQLRequestAllGraphQLCases2 for the subscribeToAListOfScalars EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • issue53WithBindValues

      public SubscriptionClient issue53WithBindValues(String queryResponseDef, SubscriptionCallback<Date> subscriptionCallback, Date date, Map<String,Object> parameters) throws GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.issue53 is of type Date. 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 of SubscriptionCallback<clazz>, where clazz is the issue53 subscription field.
      date - Parameter for the issue53 field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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 GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.issue53 is of type Date. 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 of SubscriptionCallback<clazz>, where clazz is the issue53 subscription field.
      date - Parameter for the issue53 field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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(ObjectResponse objectResponse, SubscriptionCallback<Date> subscriptionCallback, Date date, Map<String,Object> parameters) throws 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 of SubscriptionCallback, as the TheSubscriptionType.issue53 is of type Date. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getIssue53GraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is the issue53 subscription field.
      date - Parameter for the issue53 field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      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(ObjectResponse objectResponse, SubscriptionCallback<Date> subscriptionCallback, Date date, Object... paramsAndValues) throws 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 of SubscriptionCallback, as the TheSubscriptionType.issue53 is of type Date. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getIssue53GraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is the issue53 subscription field.
      date - Parameter for the issue53 field of TheSubscriptionType, as defined in the GraphQL schema
      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:
      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 Builder getIssue53ResponseBuilder() throws GraphQLRequestPreparationException
      issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
      Get the Builder for the Date, as expected by the issue53 subscription.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getIssue53GraphQLRequest

      public GraphQLRequestAllGraphQLCases2 getIssue53GraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
      Get the GraphQLRequestAllGraphQLCases2 for the issue53 EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • allGraphQLCasesInputWithBindValues

      public SubscriptionClient allGraphQLCasesInputWithBindValues(String queryResponseDef, SubscriptionCallback<AllFieldCases> subscriptionCallback, AllFieldCasesInput input, Map<String,Object> parameters) throws GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.allGraphQLCasesInput is of type AllFieldCases. 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 of SubscriptionCallback<clazz>, where clazz is the allGraphQLCasesInput subscription field.
      input - Parameter for the allGraphQLCasesInput field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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 GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.allGraphQLCasesInput is of type AllFieldCases. 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 of SubscriptionCallback<clazz>, where clazz is the allGraphQLCasesInput subscription field.
      input - Parameter for the allGraphQLCasesInput field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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(ObjectResponse objectResponse, SubscriptionCallback<AllFieldCases> subscriptionCallback, AllFieldCasesInput input, Map<String,Object> parameters) throws 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 of SubscriptionCallback, as the TheSubscriptionType.allGraphQLCasesInput is of type AllFieldCases. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getAllGraphQLCasesInputGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is the allGraphQLCasesInput subscription field.
      input - Parameter for the allGraphQLCasesInput field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      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(ObjectResponse objectResponse, SubscriptionCallback<AllFieldCases> subscriptionCallback, AllFieldCasesInput input, Object... paramsAndValues) throws 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 of SubscriptionCallback, as the TheSubscriptionType.allGraphQLCasesInput is of type AllFieldCases. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getAllGraphQLCasesInputGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is the allGraphQLCasesInput subscription field.
      input - Parameter for the allGraphQLCasesInput field of TheSubscriptionType, as defined in the GraphQL schema
      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:
      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 Builder getAllGraphQLCasesInputResponseBuilder() throws GraphQLRequestPreparationException
      Some subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
      Get the Builder for the AllFieldCases, as expected by the allGraphQLCasesInput subscription.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getAllGraphQLCasesInputGraphQLRequest

      public GraphQLRequestAllGraphQLCases2 getAllGraphQLCasesInputGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Some subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
      Get the GraphQLRequestAllGraphQLCases2 for the allGraphQLCasesInput EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      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 GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.allGraphQLCasesParam is of type AllFieldCases. 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 of SubscriptionCallback<clazz>, where clazz is the allGraphQLCasesParam subscription field.
      id - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      name - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      age - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      integer - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      date - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      dates - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      matrix - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      oneWithoutIdSubtype - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      listWithoutIdSubtype - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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 GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.allGraphQLCasesParam is of type AllFieldCases. 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 of SubscriptionCallback<clazz>, where clazz is the allGraphQLCasesParam subscription field.
      id - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      name - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      age - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      integer - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      date - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      dates - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      matrix - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      oneWithoutIdSubtype - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      listWithoutIdSubtype - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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(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 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 of SubscriptionCallback, as the TheSubscriptionType.allGraphQLCasesParam is of type AllFieldCases. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getAllGraphQLCasesParamGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is the allGraphQLCasesParam subscription field.
      id - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      name - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      age - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      integer - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      date - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      dates - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      matrix - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      oneWithoutIdSubtype - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      listWithoutIdSubtype - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      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(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 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 of SubscriptionCallback, as the TheSubscriptionType.allGraphQLCasesParam is of type AllFieldCases. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getAllGraphQLCasesParamGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is the allGraphQLCasesParam subscription field.
      id - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      name - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      age - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      integer - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      date - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      dates - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      matrix - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      oneWithoutIdSubtype - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      listWithoutIdSubtype - Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schema
      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:
      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 Builder getAllGraphQLCasesParamResponseBuilder() throws GraphQLRequestPreparationException
      Get the Builder for the AllFieldCases, as expected by the allGraphQLCasesParam subscription.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getAllGraphQLCasesParamGraphQLRequest

      public GraphQLRequestAllGraphQLCases2 getAllGraphQLCasesParamGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Get the GraphQLRequestAllGraphQLCases2 for the allGraphQLCasesParam EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • subscriptionTestWithBindValues

      public SubscriptionClient subscriptionTestWithBindValues(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, SubscriptionTestParam param, Map<String,Object> parameters) throws GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.subscriptionTest is of type String. 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 of SubscriptionCallback<clazz>, where clazz is the subscriptionTest subscription field.
      param - Parameter for the subscriptionTest field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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 GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.subscriptionTest is of type String. 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 of SubscriptionCallback<clazz>, where clazz is the subscriptionTest subscription field.
      param - Parameter for the subscriptionTest field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, SubscriptionTestParam param, Map<String,Object> parameters) throws 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 of SubscriptionCallback, as the TheSubscriptionType.subscriptionTest is of type String. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getSubscriptionTestGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is the subscriptionTest subscription field.
      param - Parameter for the subscriptionTest field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      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(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, SubscriptionTestParam param, Object... paramsAndValues) throws 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 of SubscriptionCallback, as the TheSubscriptionType.subscriptionTest is of type String. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getSubscriptionTestGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is the subscriptionTest subscription field.
      param - Parameter for the subscriptionTest field of TheSubscriptionType, as defined in the GraphQL schema
      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:
      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 Builder getSubscriptionTestResponseBuilder() throws GraphQLRequestPreparationException

      A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
      Get the Builder for the String, as expected by the subscriptionTest subscription.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getSubscriptionTestGraphQLRequest

      public GraphQLRequestAllGraphQLCases2 getSubscriptionTestGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException

      A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
      Get the GraphQLRequestAllGraphQLCases2 for the subscriptionTest EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • returnEnumWithBindValues

      public SubscriptionClient returnEnumWithBindValues(String queryResponseDef, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, Map<String,Object> parameters) throws GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.returnEnum is of type EnumWithReservedJavaKeywordAsValues. 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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

      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 of SubscriptionCallback, as the TheSubscriptionType.returnEnum is of type EnumWithReservedJavaKeywordAsValues. 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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(ObjectResponse objectResponse, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, Map<String,Object> parameters) throws 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 of SubscriptionCallback, as the TheSubscriptionType.returnEnum is of type EnumWithReservedJavaKeywordAsValues. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getReturnEnumGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      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(ObjectResponse objectResponse, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, Object... paramsAndValues) throws 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 of SubscriptionCallback, as the TheSubscriptionType.returnEnum is of type EnumWithReservedJavaKeywordAsValues. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getReturnEnumGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is 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:
      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 Builder getReturnEnumResponseBuilder() throws GraphQLRequestPreparationException
      Get the Builder for the EnumWithReservedJavaKeywordAsValues, as expected by the returnEnum subscription.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getReturnEnumGraphQLRequest

      public GraphQLRequestAllGraphQLCases2 getReturnEnumGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Get the GraphQLRequestAllGraphQLCases2 for the returnEnum EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • returnMandatoryEnumWithBindValues

      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 of SubscriptionCallback, as the TheSubscriptionType.returnMandatoryEnum is of type EnumWithReservedJavaKeywordAsValues. 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 of SubscriptionCallback<clazz>, where clazz is the returnMandatoryEnum subscription field.
      enum - Parameter for the returnMandatoryEnum field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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

      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 of SubscriptionCallback, as the TheSubscriptionType.returnMandatoryEnum is of type EnumWithReservedJavaKeywordAsValues. 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 of SubscriptionCallback<clazz>, where clazz is the returnMandatoryEnum subscription field.
      enum - Parameter for the returnMandatoryEnum field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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(ObjectResponse objectResponse, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, EnumWithReservedJavaKeywordAsValues _enum, Map<String,Object> parameters) throws 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 of SubscriptionCallback, as the TheSubscriptionType.returnMandatoryEnum is of type EnumWithReservedJavaKeywordAsValues. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getReturnMandatoryEnumGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is the returnMandatoryEnum subscription field.
      enum - Parameter for the returnMandatoryEnum field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      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(ObjectResponse objectResponse, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, EnumWithReservedJavaKeywordAsValues _enum, Object... paramsAndValues) throws 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 of SubscriptionCallback, as the TheSubscriptionType.returnMandatoryEnum is of type EnumWithReservedJavaKeywordAsValues. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getReturnMandatoryEnumGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is the returnMandatoryEnum subscription field.
      enum - Parameter for the returnMandatoryEnum field of TheSubscriptionType, as defined in the GraphQL schema
      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:
      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 Builder getReturnMandatoryEnumResponseBuilder() throws GraphQLRequestPreparationException
      Get the Builder for the EnumWithReservedJavaKeywordAsValues, as expected by the returnMandatoryEnum subscription.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getReturnMandatoryEnumGraphQLRequest

      public GraphQLRequestAllGraphQLCases2 getReturnMandatoryEnumGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Get the GraphQLRequestAllGraphQLCases2 for the returnMandatoryEnum EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • returnListOfEnumsWithBindValues

      public SubscriptionClient returnListOfEnumsWithBindValues(String queryResponseDef, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String,Object> parameters) throws GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.returnListOfEnums is of type EnumWithReservedJavaKeywordAsValues. 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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 GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.returnListOfEnums is of type EnumWithReservedJavaKeywordAsValues. 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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(ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String,Object> parameters) throws 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 of SubscriptionCallback, as the TheSubscriptionType.returnListOfEnums is of type EnumWithReservedJavaKeywordAsValues. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getReturnListOfEnumsGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      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(ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Object... paramsAndValues) throws 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 of SubscriptionCallback, as the TheSubscriptionType.returnListOfEnums is of type EnumWithReservedJavaKeywordAsValues. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getReturnListOfEnumsGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is 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:
      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 Builder getReturnListOfEnumsResponseBuilder() throws GraphQLRequestPreparationException
      Get the Builder for the EnumWithReservedJavaKeywordAsValues, as expected by the returnListOfEnums subscription.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getReturnListOfEnumsGraphQLRequest

      public GraphQLRequestAllGraphQLCases2 getReturnListOfEnumsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Get the GraphQLRequestAllGraphQLCases2 for the returnListOfEnums EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • returnListOfMandatoryEnumsWithBindValues

      public SubscriptionClient returnListOfMandatoryEnumsWithBindValues(String queryResponseDef, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String,Object> parameters) throws GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.returnListOfMandatoryEnums is of type EnumWithReservedJavaKeywordAsValues. 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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 GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.returnListOfMandatoryEnums is of type EnumWithReservedJavaKeywordAsValues. 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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(ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String,Object> parameters) throws 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 of SubscriptionCallback, as the TheSubscriptionType.returnListOfMandatoryEnums is of type EnumWithReservedJavaKeywordAsValues. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getReturnListOfMandatoryEnumsGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      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(ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Object... paramsAndValues) throws 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 of SubscriptionCallback, as the TheSubscriptionType.returnListOfMandatoryEnums is of type EnumWithReservedJavaKeywordAsValues. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getReturnListOfMandatoryEnumsGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is 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:
      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 Builder getReturnListOfMandatoryEnumsResponseBuilder() throws GraphQLRequestPreparationException
      Get the Builder for the EnumWithReservedJavaKeywordAsValues, as expected by the returnListOfMandatoryEnums subscription.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getReturnListOfMandatoryEnumsGraphQLRequest

      public GraphQLRequestAllGraphQLCases2 getReturnListOfMandatoryEnumsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Get the GraphQLRequestAllGraphQLCases2 for the returnListOfMandatoryEnums EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • returnListOfListOfEnumsWithBindValues

      public SubscriptionClient returnListOfListOfEnumsWithBindValues(String queryResponseDef, SubscriptionCallback<List<List<EnumWithReservedJavaKeywordAsValues>>> subscriptionCallback, Map<String,Object> parameters) throws GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.returnListOfListOfEnums is of type EnumWithReservedJavaKeywordAsValues. 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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 GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.returnListOfListOfEnums is of type EnumWithReservedJavaKeywordAsValues. 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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(ObjectResponse objectResponse, SubscriptionCallback<List<List<EnumWithReservedJavaKeywordAsValues>>> subscriptionCallback, Map<String,Object> parameters) throws 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 of SubscriptionCallback, as the TheSubscriptionType.returnListOfListOfEnums is of type EnumWithReservedJavaKeywordAsValues. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getReturnListOfListOfEnumsGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      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(ObjectResponse objectResponse, SubscriptionCallback<List<List<EnumWithReservedJavaKeywordAsValues>>> subscriptionCallback, Object... paramsAndValues) throws 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 of SubscriptionCallback, as the TheSubscriptionType.returnListOfListOfEnums is of type EnumWithReservedJavaKeywordAsValues. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getReturnListOfListOfEnumsGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is 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:
      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 Builder getReturnListOfListOfEnumsResponseBuilder() throws GraphQLRequestPreparationException
      Get the Builder for the EnumWithReservedJavaKeywordAsValues, as expected by the returnListOfListOfEnums subscription.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getReturnListOfListOfEnumsGraphQLRequest

      public GraphQLRequestAllGraphQLCases2 getReturnListOfListOfEnumsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Get the GraphQLRequestAllGraphQLCases2 for the returnListOfListOfEnums EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • returnMandatoryListOfEnumsWithBindValues

      public SubscriptionClient returnMandatoryListOfEnumsWithBindValues(String queryResponseDef, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String,Object> parameters) throws GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.returnMandatoryListOfEnums is of type EnumWithReservedJavaKeywordAsValues. 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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 GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.returnMandatoryListOfEnums is of type EnumWithReservedJavaKeywordAsValues. 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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(ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String,Object> parameters) throws 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 of SubscriptionCallback, as the TheSubscriptionType.returnMandatoryListOfEnums is of type EnumWithReservedJavaKeywordAsValues. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getReturnMandatoryListOfEnumsGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      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(ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Object... paramsAndValues) throws 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 of SubscriptionCallback, as the TheSubscriptionType.returnMandatoryListOfEnums is of type EnumWithReservedJavaKeywordAsValues. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getReturnMandatoryListOfEnumsGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is 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:
      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 Builder getReturnMandatoryListOfEnumsResponseBuilder() throws GraphQLRequestPreparationException
      Get the Builder for the EnumWithReservedJavaKeywordAsValues, as expected by the returnMandatoryListOfEnums subscription.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getReturnMandatoryListOfEnumsGraphQLRequest

      public GraphQLRequestAllGraphQLCases2 getReturnMandatoryListOfEnumsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Get the GraphQLRequestAllGraphQLCases2 for the returnMandatoryListOfEnums EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • returnMandatoryListOfMandatoryEnumsWithBindValues

      public SubscriptionClient returnMandatoryListOfMandatoryEnumsWithBindValues(String queryResponseDef, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String,Object> parameters) throws GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.returnMandatoryListOfMandatoryEnums is of type EnumWithReservedJavaKeywordAsValues. 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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 GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.returnMandatoryListOfMandatoryEnums is of type EnumWithReservedJavaKeywordAsValues. 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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(ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String,Object> parameters) throws 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 of SubscriptionCallback, as the TheSubscriptionType.returnMandatoryListOfMandatoryEnums is of type EnumWithReservedJavaKeywordAsValues. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getReturnMandatoryListOfMandatoryEnumsGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      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(ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Object... paramsAndValues) throws 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 of SubscriptionCallback, as the TheSubscriptionType.returnMandatoryListOfMandatoryEnums is of type EnumWithReservedJavaKeywordAsValues. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getReturnMandatoryListOfMandatoryEnumsGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is 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:
      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 Builder getReturnMandatoryListOfMandatoryEnumsResponseBuilder() throws GraphQLRequestPreparationException
      Get the Builder for the EnumWithReservedJavaKeywordAsValues, as expected by the returnMandatoryListOfMandatoryEnums subscription.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getReturnMandatoryListOfMandatoryEnumsGraphQLRequest

      public GraphQLRequestAllGraphQLCases2 getReturnMandatoryListOfMandatoryEnumsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Get the GraphQLRequestAllGraphQLCases2 for the returnMandatoryListOfMandatoryEnums EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • subscriptionWithNullResponseWithBindValues

      public SubscriptionClient subscriptionWithNullResponseWithBindValues(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Map<String,Object> parameters) throws GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.subscriptionWithNullResponse is of type String. 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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 GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.subscriptionWithNullResponse is of type String. 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Map<String,Object> parameters) throws 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 of SubscriptionCallback, as the TheSubscriptionType.subscriptionWithNullResponse is of type String. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getSubscriptionWithNullResponseGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      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(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) throws 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 of SubscriptionCallback, as the TheSubscriptionType.subscriptionWithNullResponse is of type String. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getSubscriptionWithNullResponseGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is 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:
      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 Builder getSubscriptionWithNullResponseResponseBuilder() throws GraphQLRequestPreparationException
      Issue 122: Check Subscription behavior when notification response is null
      Get the Builder for the String, as expected by the subscriptionWithNullResponse subscription.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getSubscriptionWithNullResponseGraphQLRequest

      public GraphQLRequestAllGraphQLCases2 getSubscriptionWithNullResponseGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Issue 122: Check Subscription behavior when notification response is null
      Get the GraphQLRequestAllGraphQLCases2 for the subscriptionWithNullResponse EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • enumWithReservedJavaKeywordAsValuesWithBindValues

      public SubscriptionClient enumWithReservedJavaKeywordAsValuesWithBindValues(String queryResponseDef, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, Map<String,Object> parameters) throws GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.enumWithReservedJavaKeywordAsValues is of type EnumWithReservedJavaKeywordAsValues. 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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 GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.enumWithReservedJavaKeywordAsValues is of type EnumWithReservedJavaKeywordAsValues. 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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(ObjectResponse objectResponse, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, Map<String,Object> parameters) throws 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 of SubscriptionCallback, as the TheSubscriptionType.enumWithReservedJavaKeywordAsValues is of type EnumWithReservedJavaKeywordAsValues. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getEnumWithReservedJavaKeywordAsValuesGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      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(ObjectResponse objectResponse, SubscriptionCallback<EnumWithReservedJavaKeywordAsValues> subscriptionCallback, Object... paramsAndValues) throws 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 of SubscriptionCallback, as the TheSubscriptionType.enumWithReservedJavaKeywordAsValues is of type EnumWithReservedJavaKeywordAsValues. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getEnumWithReservedJavaKeywordAsValuesGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is 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:
      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 Builder getEnumWithReservedJavaKeywordAsValuesResponseBuilder() throws GraphQLRequestPreparationException
      test for issue #139 (use of java reserved keyword)
      Get the Builder for the EnumWithReservedJavaKeywordAsValues, as expected by the enumWithReservedJavaKeywordAsValues subscription.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getEnumWithReservedJavaKeywordAsValuesGraphQLRequest

      public GraphQLRequestAllGraphQLCases2 getEnumWithReservedJavaKeywordAsValuesGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      test for issue #139 (use of java reserved keyword)
      Get the GraphQLRequestAllGraphQLCases2 for the enumWithReservedJavaKeywordAsValues EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • listOfEnumWithReservedJavaKeywordAsValuesWithBindValues

      public SubscriptionClient listOfEnumWithReservedJavaKeywordAsValuesWithBindValues(String queryResponseDef, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String,Object> parameters) throws GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.listOfEnumWithReservedJavaKeywordAsValues is of type EnumWithReservedJavaKeywordAsValues. 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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 GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.listOfEnumWithReservedJavaKeywordAsValues is of type EnumWithReservedJavaKeywordAsValues. 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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(ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Map<String,Object> parameters) throws 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 of SubscriptionCallback, as the TheSubscriptionType.listOfEnumWithReservedJavaKeywordAsValues is of type EnumWithReservedJavaKeywordAsValues. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getListOfEnumWithReservedJavaKeywordAsValuesGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      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(ObjectResponse objectResponse, SubscriptionCallback<List<EnumWithReservedJavaKeywordAsValues>> subscriptionCallback, Object... paramsAndValues) throws 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 of SubscriptionCallback, as the TheSubscriptionType.listOfEnumWithReservedJavaKeywordAsValues is of type EnumWithReservedJavaKeywordAsValues. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getListOfEnumWithReservedJavaKeywordAsValuesGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is 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:
      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 Builder getListOfEnumWithReservedJavaKeywordAsValuesResponseBuilder() throws GraphQLRequestPreparationException
      Get the Builder for the EnumWithReservedJavaKeywordAsValues, as expected by the listOfEnumWithReservedJavaKeywordAsValues subscription.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getListOfEnumWithReservedJavaKeywordAsValuesGraphQLRequest

      public GraphQLRequestAllGraphQLCases2 getListOfEnumWithReservedJavaKeywordAsValuesGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Get the GraphQLRequestAllGraphQLCases2 for the listOfEnumWithReservedJavaKeywordAsValues EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • _ifWithBindValues

      public SubscriptionClient _ifWithBindValues(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Map<String,Object> parameters) throws GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.if is of type String. 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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 GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.if is of type String. 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Map<String,Object> parameters) throws 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 of SubscriptionCallback, as the TheSubscriptionType.if is of type String. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getIfGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      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(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) throws 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 of SubscriptionCallback, as the TheSubscriptionType.if is of type String. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getIfGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is 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:
      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 Builder getIfResponseBuilder() throws GraphQLRequestPreparationException
      Get the Builder for the String, as expected by the if subscription.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getIfGraphQLRequest

      public GraphQLRequestAllGraphQLCases2 getIfGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Get the GraphQLRequestAllGraphQLCases2 for the if EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • _implementsWithBindValues

      public SubscriptionClient _implementsWithBindValues(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Map<String,Object> parameters) throws GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.implements is of type String. 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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 GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.implements is of type String. 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Map<String,Object> parameters) throws 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 of SubscriptionCallback, as the TheSubscriptionType.implements is of type String. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getImplementsGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      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(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) throws 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 of SubscriptionCallback, as the TheSubscriptionType.implements is of type String. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getImplementsGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is 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:
      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 Builder getImplementsResponseBuilder() throws GraphQLRequestPreparationException
      Get the Builder for the String, as expected by the implements subscription.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getImplementsGraphQLRequest

      public GraphQLRequestAllGraphQLCases2 getImplementsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Get the GraphQLRequestAllGraphQLCases2 for the implements EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • _nullWithBindValues

      public SubscriptionClient _nullWithBindValues(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Map<String,Object> parameters) throws GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.null is of type String. 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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 GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.null is of type String. 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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Map<String,Object> parameters) throws 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 of SubscriptionCallback, as the TheSubscriptionType.null is of type String. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getNullGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is 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 empty Map
      Throws:
      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(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) throws 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 of SubscriptionCallback, as the TheSubscriptionType.null is of type String. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getNullGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is 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:
      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 Builder getNullResponseBuilder() throws GraphQLRequestPreparationException
      Issue #188: null is not identified as a java keyword
      Get the Builder for the String, as expected by the null subscription.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getNullGraphQLRequest

      public GraphQLRequestAllGraphQLCases2 getNullGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Issue #188: null is not identified as a java keyword
      Get the GraphQLRequestAllGraphQLCases2 for the null EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      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 GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.json is of type ObjectNode. 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 of SubscriptionCallback<clazz>, where clazz is the json subscription field.
      json - Parameter for the json field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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 GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.json is of type ObjectNode. 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 of SubscriptionCallback<clazz>, where clazz is the json subscription field.
      json - Parameter for the json field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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(ObjectResponse objectResponse, SubscriptionCallback<com.fasterxml.jackson.databind.node.ObjectNode> subscriptionCallback, com.fasterxml.jackson.databind.node.ObjectNode json, Map<String,Object> parameters) throws 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 of SubscriptionCallback, as the TheSubscriptionType.json is of type ObjectNode. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getJsonGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is the json subscription field.
      json - Parameter for the json field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      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(ObjectResponse objectResponse, SubscriptionCallback<com.fasterxml.jackson.databind.node.ObjectNode> subscriptionCallback, com.fasterxml.jackson.databind.node.ObjectNode json, Object... paramsAndValues) throws 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 of SubscriptionCallback, as the TheSubscriptionType.json is of type ObjectNode. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getJsonGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is the json subscription field.
      json - Parameter for the json field of TheSubscriptionType, as defined in the GraphQL schema
      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:
      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 Builder getJsonResponseBuilder() throws GraphQLRequestPreparationException
      Test of JSON scalar, for issue #205
      Get the Builder for the ObjectNode, as expected by the json subscription.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getJsonGraphQLRequest

      public GraphQLRequestAllGraphQLCases2 getJsonGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Test of JSON scalar, for issue #205
      Get the GraphQLRequestAllGraphQLCases2 for the json EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      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 GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.jsons is of type ObjectNode. 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 of SubscriptionCallback<clazz>, where clazz is the jsons subscription field.
      jsons - Parameter for the jsons field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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 GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.jsons is of type ObjectNode. 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 of SubscriptionCallback<clazz>, where clazz is the jsons subscription field.
      jsons - Parameter for the jsons field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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(ObjectResponse objectResponse, SubscriptionCallback<List<com.fasterxml.jackson.databind.node.ObjectNode>> subscriptionCallback, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Map<String,Object> parameters) throws 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 of SubscriptionCallback, as the TheSubscriptionType.jsons is of type ObjectNode. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getJsonsGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is the jsons subscription field.
      jsons - Parameter for the jsons field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      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(ObjectResponse objectResponse, SubscriptionCallback<List<com.fasterxml.jackson.databind.node.ObjectNode>> subscriptionCallback, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Object... paramsAndValues) throws 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 of SubscriptionCallback, as the TheSubscriptionType.jsons is of type ObjectNode. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getJsonsGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is the jsons subscription field.
      jsons - Parameter for the jsons field of TheSubscriptionType, as defined in the GraphQL schema
      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:
      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 Builder getJsonsResponseBuilder() throws GraphQLRequestPreparationException
      Get the Builder for the ObjectNode, as expected by the jsons subscription.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getJsonsGraphQLRequest

      public GraphQLRequestAllGraphQLCases2 getJsonsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Get the GraphQLRequestAllGraphQLCases2 for the jsons EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • jsonsWithInputWithBindValues

      public SubscriptionClient jsonsWithInputWithBindValues(String queryResponseDef, SubscriptionCallback<List<TypeWithJson>> subscriptionCallback, List<InputWithJson> input, Map<String,Object> parameters) throws GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.jsonsWithInput is of type TypeWithJson. 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 of SubscriptionCallback<clazz>, where clazz is the jsonsWithInput subscription field.
      input - Parameter for the jsonsWithInput field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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 GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.jsonsWithInput is of type TypeWithJson. 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 of SubscriptionCallback<clazz>, where clazz is the jsonsWithInput subscription field.
      input - Parameter for the jsonsWithInput field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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(ObjectResponse objectResponse, SubscriptionCallback<List<TypeWithJson>> subscriptionCallback, List<InputWithJson> input, Map<String,Object> parameters) throws 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 of SubscriptionCallback, as the TheSubscriptionType.jsonsWithInput is of type TypeWithJson. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getJsonsWithInputGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is the jsonsWithInput subscription field.
      input - Parameter for the jsonsWithInput field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      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(ObjectResponse objectResponse, SubscriptionCallback<List<TypeWithJson>> subscriptionCallback, List<InputWithJson> input, Object... paramsAndValues) throws 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 of SubscriptionCallback, as the TheSubscriptionType.jsonsWithInput is of type TypeWithJson. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getJsonsWithInputGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is the jsonsWithInput subscription field.
      input - Parameter for the jsonsWithInput field of TheSubscriptionType, as defined in the GraphQL schema
      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:
      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 Builder getJsonsWithInputResponseBuilder() throws GraphQLRequestPreparationException
      Get the Builder for the TypeWithJson, as expected by the jsonsWithInput subscription.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getJsonsWithInputGraphQLRequest

      public GraphQLRequestAllGraphQLCases2 getJsonsWithInputGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Get the GraphQLRequestAllGraphQLCases2 for the jsonsWithInput EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • objectsWithInputWithBindValues

      public SubscriptionClient objectsWithInputWithBindValues(String queryResponseDef, SubscriptionCallback<List<TypeWithObject>> subscriptionCallback, List<InputWithObject> input, Map<String,Object> parameters) throws GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.objectsWithInput is of type TypeWithObject. 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 of SubscriptionCallback<clazz>, where clazz is the objectsWithInput subscription field.
      input - Parameter for the objectsWithInput field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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 GraphQLRequestExecutionException, 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 of SubscriptionCallback, as the TheSubscriptionType.objectsWithInput is of type TypeWithObject. 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 of SubscriptionCallback<clazz>, where clazz is the objectsWithInput subscription field.
      input - Parameter for the objectsWithInput field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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(ObjectResponse objectResponse, SubscriptionCallback<List<TypeWithObject>> subscriptionCallback, List<InputWithObject> input, Map<String,Object> parameters) throws 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 of SubscriptionCallback, as the TheSubscriptionType.objectsWithInput is of type TypeWithObject. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getObjectsWithInputGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is the objectsWithInput subscription field.
      input - Parameter for the objectsWithInput field of TheSubscriptionType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      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(ObjectResponse objectResponse, SubscriptionCallback<List<TypeWithObject>> subscriptionCallback, List<InputWithObject> input, Object... paramsAndValues) throws 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 of SubscriptionCallback, as the TheSubscriptionType.objectsWithInput is of type TypeWithObject. 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by the getObjectsWithInputGraphQLRequest(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 of SubscriptionCallback<clazz>, where clazz is the objectsWithInput subscription field.
      input - Parameter for the objectsWithInput field of TheSubscriptionType, as defined in the GraphQL schema
      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:
      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 Builder getObjectsWithInputResponseBuilder() throws GraphQLRequestPreparationException
      Get the Builder for the TypeWithObject, as expected by the objectsWithInput subscription.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getObjectsWithInputGraphQLRequest

      public GraphQLRequestAllGraphQLCases2 getObjectsWithInputGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Get the GraphQLRequestAllGraphQLCases2 for the objectsWithInput EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      GraphQLRequestPreparationException