Package | Description |
---|---|
org.springframework.graphql.client |
This package contains a
GraphQlClient
along with HTTP and WebSocket extensions. |
org.springframework.graphql.support |
Support classes for Spring GraphQL.
|
org.springframework.graphql.test.tester |
GraphQL client testing support.
|
Modifier and Type | Method and Description |
---|---|
B |
AbstractGraphQlClientBuilder.documentSource(DocumentSource contentLoader) |
B |
GraphQlClient.Builder.documentSource(DocumentSource contentLoader)
Configure a
DocumentSource for use with
GraphQlClient.documentName(String) for resolving a document by name. |
Modifier and Type | Class and Description |
---|---|
class |
CachingDocumentSource
Base class for
DocumentSource implementations providing support for
caching loaded documents. |
class |
ResourceDocumentSource
DocumentSource that looks for a document Resource under a set
of locations and trying a number of different file extension. |
Constructor and Description |
---|
CachingDocumentSource(DocumentSource delegate)
Constructor with the
DocumentSource to actually load documents. |
Modifier and Type | Method and Description |
---|---|
B |
AbstractGraphQlTesterBuilder.documentSource(DocumentSource documentSource) |
B |
GraphQlTester.Builder.documentSource(DocumentSource contentLoader)
Configure a
DocumentSource for use with
GraphQlTester.documentName(String) for resolving a document by name. |