Class ObjectResponse
java.lang.Object
com.graphql_java_generator.client.request.AbstractGraphQLRequest
com.graphql_java_generator.client.request.ObjectResponse
public abstract class ObjectResponse extends AbstractGraphQLRequest
This useless class is here only for compatibility with existing code, developped before the 1.6 release. It's
actually just a wrapper for the
AbstractGraphQLRequest
. It allows this kind of code to work as before:
ObjectResponse withHeroResponse = queryType.getHeroBuilder() .withQueryResponseDef("{id name appearsIn friends {id name}}").build(); [...] Character c = queryType.hero(withHeroResponse, character);
- Author:
- etienne-sf
-
Field Summary
Fields inherited from class com.graphql_java_generator.client.request.AbstractGraphQLRequest
packageName
-
Constructor Summary
Constructors Constructor Description ObjectResponse(java.lang.String graphQLRequest)
ObjectResponse(java.lang.String graphQLRequest, RequestType requestType, java.lang.String queryName, InputParameter... inputParams)
-
Method Summary
Methods inherited from class com.graphql_java_generator.client.request.AbstractGraphQLRequest
buildRequest, exec, exec, getFragments, getGraphQLClassesPackageName, getGraphQLObjectMapper, getGraphQLRequest, getInstanceConfiguration, getMutation, getMutationContext, getQuery, getQueryContext, getRequestName, getRequestType, getStaticConfiguration, getSubscription, getSubscriptionContext, setInstanceConfiguration, setStaticConfiguration
-
Constructor Details
-
ObjectResponse
-
ObjectResponse
public ObjectResponse(java.lang.String graphQLRequest, RequestType requestType, java.lang.String queryName, InputParameter... inputParams) throws GraphQLRequestPreparationException
-