| Package | Description |
|---|---|
| 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 |
|---|---|
static Builder |
ObjectResponse.newQueryResponseDefBuilder(Class<?> clazz,
String fieldName)
Contruct a new
Builder. |
static Builder |
ObjectResponse.newQueryResponseDefBuilder(Class<?> clazz,
String fieldName,
String fieldAlias)
Contruct a new
Builder |
static Builder |
ObjectResponse.newSubObjectBuilder(Class<?> clazz)
Contruct a new
Builder |
Builder |
Builder.withField(String fieldName)
Adds a scalar field with no alias, to the
ObjectResponse we are building |
Builder |
Builder.withField(String fieldName,
String alias)
Adds a scalar field with an alias, to the
ObjectResponse we are building |
Builder |
Builder.withQueryResponseDef(String queryResponseDef)
Builds a
ObjectResponse from a part of a GraphQL query. |
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.