public abstract class AbstractDelegatingGraphQlClient extends Object implements GraphQlClient
GraphQlClient extensions that assist with building an
underlying transport, but otherwise delegate to the default
GraphQlClient implementation to execute requests.
Subclasses must implement GraphQlClient.mutate() to return a
builder for the specific GraphQlClient extension.
AbstractGraphQlClientBuilderGraphQlClient.Builder<B extends GraphQlClient.Builder<B>>, GraphQlClient.RequestSpec, GraphQlClient.RetrieveSpec, GraphQlClient.RetrieveSubscriptionSpec| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDelegatingGraphQlClient(GraphQlClient graphQlClient) |
| Modifier and Type | Method and Description |
|---|---|
GraphQlClient.RequestSpec |
document(String document)
Start defining a GraphQL request with the given document, which is the
textual representation of an operation (or operations) to perform,
including selection sets and fragments.
|
GraphQlClient.RequestSpec |
documentName(String name)
Variant of
GraphQlClient.document(String) that uses the given key to resolve
the GraphQL document from a file with the help of the configured
DocumentSource. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilder, mutateprotected AbstractDelegatingGraphQlClient(GraphQlClient graphQlClient)
public GraphQlClient.RequestSpec document(String document)
GraphQlClientdocument in interface GraphQlClientdocument - the document for the requestpublic GraphQlClient.RequestSpec documentName(String name)
GraphQlClientGraphQlClient.document(String) that uses the given key to resolve
the GraphQL document from a file with the help of the configured
DocumentSource.documentName in interface GraphQlClient