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 theAbstractGraphQLRequest. 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 schema, java.lang.String graphQLRequest)ObjectResponse(java.lang.String schema, 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
buildRequestAsMap, buildRequestAsString, exec, exec, getFragments, getGraphQLClassesPackageName, getGraphQLObjectMapper, getGraphQLRequest, getInstanceConfiguration, getJsonRequest, getMutation, getMutationContext, getQuery, getQueryContext, getRequestName, getRequestType, getStaticConfiguration, getSubscription, getSubscriptionContext, setInstanceConfiguration, setStaticConfiguration
-
-
-
-
Constructor Detail
-
ObjectResponse
public ObjectResponse(java.lang.String schema, java.lang.String graphQLRequest) throws GraphQLRequestPreparationException
-
ObjectResponse
public ObjectResponse(java.lang.String schema, java.lang.String graphQLRequest, RequestType requestType, java.lang.String queryName, InputParameter... inputParams) throws GraphQLRequestPreparationException
-
-