Uses of Interface
org.springframework.graphql.client.GraphQlClient
Package
Description
This package contains a
GraphQlClient
along with HTTP and WebSocket extensions.GraphQL client testing support.
-
Uses of GraphQlClient in org.springframework.graphql.client
Modifier and TypeInterfaceDescriptioninterface
GraphQL over HTTP client that usesWebClient
.interface
GraphQL over HTTP client with that usesRestClient
in a blocking execution chain.interface
GraphQL over RSocket client that usesRSocketRequester
.interface
Base contract for the HTTP and WebSocketGraphQlClient
extensions.interface
GraphQL over WebSocket client that usesWebSocketClient
.Modifier and TypeClassDescriptionclass
Base class forGraphQlClient
extensions that assist with building an underlying transport, but otherwise delegate to the defaultGraphQlClient
implementation to execute requests.Modifier and TypeMethodDescriptionGraphQlClient.BaseBuilder.build()
Build theGraphQlClient
instance.protected GraphQlClient
AbstractGraphQlClientBuilder.buildGraphQlClient
(GraphQlTransport transport) Build the default transport-agnostic client that subclasses can then wrap withAbstractDelegatingGraphQlClient
.protected GraphQlClient
AbstractGraphQlClientSyncBuilder.buildGraphQlClient
(SyncGraphQlTransport transport) Build the default transport-agnostic client that subclasses can then wrap withAbstractDelegatingGraphQlClient
.DgsGraphQlClient.getGraphQlClient()
Return the wrappedGraphQlClient
to delegate to.Modifier and TypeMethodDescriptionstatic DgsGraphQlClient
DgsGraphQlClient.create
(GraphQlClient client) Create instance that wraps the givenGraphQlClient
.ModifierConstructorDescriptionprotected
AbstractDelegatingGraphQlClient
(GraphQlClient graphQlClient) -
Uses of GraphQlClient 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
.