| Package | Description |
|---|---|
| com.graphql_java_generator.client | |
| com.graphql_java_generator.client.request |
This package contains all the classes used to generate the requests toward the GraphQL server.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
QueryExecutor.execute(String requestType,
ObjectResponse objectResponse,
List<InputParameter> parameters,
Class<T> valueType)
Execution of the given simple GraphQL query, and return its response mapped in the relevant POJO.
|
<T> T |
QueryExecutorImpl.execute(String requestType,
ObjectResponse objectResponse,
List<InputParameter> parameters,
Class<T> valueType)
Execution of the given simple GraphQL query, and return its response mapped in the relevant POJO.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectResponse |
Builder.build()
Returns the built
ObjectResponse. |
| Modifier and Type | Method and Description |
|---|---|
Builder |
Builder.withSubObject(String fieldName,
ObjectResponse objectResponse)
Adds a non scalar field (a subobject) without alias, to the
ObjectResponse we are building |
Builder |
Builder.withSubObject(String fieldName,
String fieldAlias,
ObjectResponse subobjetResponseDef)
Adds a scalar field (a subobject) with an alias, to the
ObjectResponse we are building |
Copyright © 2019. All rights reserved.