Uses of Interface
org.springframework.graphql.client.GraphQlTransport
Package
Description
This package contains a
GraphQlClient
along with HTTP and WebSocket extensions.GraphQL client testing support.
-
Uses of GraphQlTransport in org.springframework.graphql.client
Modifier and TypeMethodDescriptionstatic GraphQlClient.Builder<?>
GraphQlClient.builder
(GraphQlTransport transport) Create a builder with the given customGraphQlTransport
.protected GraphQlClient
AbstractGraphQlClientBuilder.buildGraphQlClient
(GraphQlTransport transport) Build the default transport-agnostic client that subclasses can then wrap withAbstractDelegatingGraphQlClient
. -
Uses of GraphQlTransport in org.springframework.graphql.test.tester
Modifier and TypeMethodDescriptionprotected static GraphQlTransport
AbstractGraphQlTesterBuilder.asTransport
(GraphQlClient client) For cases where the Tester needs theGraphQlTransport
, we can't use transports directly since they are package private, but we can adapt the correspondingGraphQlClient
and adapt it toGraphQlTransport
.Modifier and TypeMethodDescriptionstatic GraphQlTester.Builder<?>
GraphQlTester.builder
(GraphQlTransport transport) Create a builder with a customGraphQlTransport
.protected GraphQlTester
AbstractGraphQlTesterBuilder.buildGraphQlTester
(GraphQlTransport transport) Build the default transport-agnostic client that subclasses can then wrap withAbstractDelegatingGraphQlTester
.