Uses of Interface
org.springframework.graphql.client.GraphQlTransport
Packages that use 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
Methods in org.springframework.graphql.client with parameters of type GraphQlTransportModifier and TypeMethodDescriptionstatic GraphQlClient.Builder<?>GraphQlClient.builder(GraphQlTransport transport) Create a builder with the given customGraphQlTransport.protected GraphQlClientAbstractGraphQlClientBuilder.buildGraphQlClient(GraphQlTransport transport) Build the default transport-agnostic client that subclasses can then wrap withAbstractDelegatingGraphQlClient. -
Uses of GraphQlTransport in org.springframework.graphql.test.tester
Methods in org.springframework.graphql.test.tester that return GraphQlTransportModifier and TypeMethodDescriptionprotected static GraphQlTransportAbstractGraphQlTesterBuilder.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 correspondingGraphQlClientand adapt it toGraphQlTransport.Methods in org.springframework.graphql.test.tester with parameters of type GraphQlTransportModifier and TypeMethodDescriptionstatic GraphQlTester.Builder<?>GraphQlTester.builder(GraphQlTransport transport) Create a builder with a customGraphQlTransport.protected GraphQlTesterAbstractGraphQlTesterBuilder.buildGraphQlTester(GraphQlTransport transport) Build the default transport-agnostic client that subclasses can then wrap withAbstractDelegatingGraphQlTester.