Package | Description |
---|---|
org.springframework.graphql.client |
This package contains a
GraphQlClient
along with HTTP and WebSocket extensions. |
org.springframework.graphql.test.tester |
GraphQL client testing support.
|
Modifier and Type | Method and Description |
---|---|
static GraphQlClient.Builder<?> |
GraphQlClient.builder(GraphQlTransport transport)
Create a builder with the given custom
GraphQlTransport . |
protected GraphQlClient |
AbstractGraphQlClientBuilder.buildGraphQlClient(GraphQlTransport transport)
Build the default transport-agnostic client that subclasses can then wrap
with
AbstractDelegatingGraphQlClient . |
Modifier and Type | Method and Description |
---|---|
protected static GraphQlTransport |
AbstractGraphQlTesterBuilder.asTransport(GraphQlClient client)
For cases where the Tester needs the
GraphQlTransport , we can't use
transports directly since they are package private, but we can adapt the corresponding
GraphQlClient and adapt it to GraphQlTransport . |
Modifier and Type | Method and Description |
---|---|
static GraphQlTester.Builder<?> |
GraphQlTester.builder(GraphQlTransport transport)
Create a builder with a custom
GraphQlTransport . |
protected GraphQlTester |
AbstractGraphQlTesterBuilder.buildGraphQlTester(GraphQlTransport transport)
Build the default transport-agnostic client that subclasses can then wrap
with
AbstractDelegatingGraphQlTester . |