Package org.springframework.graphql.client
@NonNullApi
@NonNullFields
package org.springframework.graphql.client
This package contains a
GraphQlClient
along with HTTP and WebSocket extensions.-
ClassDescriptionBase class for
GraphQlClient
extensions that assist with building an underlying transport, but otherwise delegate to the defaultGraphQlClient
implementation to execute requests.AbstractGraphQlClientBuilder<B extends AbstractGraphQlClientBuilder<B>>Abstract, base class for transport specificGraphQlClient.Builder
implementations.Abstract, base class for transport specificGraphQlClient.SyncBuilder
implementations.GraphQlRequest
for client side use.GraphQlResponse
for client use, with further options to handle the response.ExtendsResponseField
to add options for decoding the field value.Simple wrapper around aGraphQlClient
that prepares the request from classes generated with the DGS Code Generation library.Define a workflow to execute GraphQL requests that is independent of the underlying transport.GraphQlClient.BaseBuilder<B extends GraphQlClient.BaseBuilder<B>>Base builder for creating and initializing aGraphQlClient
.GraphQlClient.Builder<B extends GraphQlClient.Builder<B>>Builder to create aGraphQlClient
with a non-blocking execution chain and transport.Declare options to gather input for a GraphQL request and execute it.Declares options to decode a field in a single response.Declares options to decode a field in each response of a subscription.Declares options to decode a field in a single response.GraphQlClient.SyncBuilder<B extends GraphQlClient.SyncBuilder<B>>Builder to create aGraphQlClient
instance with a synchronous execution chain and transport.Base class for exceptions fromGraphQlClient
.Interceptor forGraphQlClient
requests for use in a non-blocking execution chain with a non-blockingGraphQlTransport
..Contract to delegate to the rest of a non-blocking execution chain.Contract for delegation of subscription requests to the rest of the chain.Contract for executing GraphQL requests over some transport.Exception raised by aGraphQlTransport
or used to wrap an exception from aGraphQlTransport
implementation.GraphQL over HTTP client that usesWebClient
.HttpGraphQlClient.Builder<B extends HttpGraphQlClient.Builder<B>>Builder for the GraphQL over HTTP client.GraphQL over HTTP client with that usesRestClient
in a blocking execution chain.HttpSyncGraphQlClient.Builder<B extends HttpSyncGraphQlClient.Builder<B>>Builder for the GraphQL over HTTP client with a blocking execution chain.GraphQL over RSocket client that usesRSocketRequester
.RSocketGraphQlClient.Builder<B extends RSocketGraphQlClient.Builder<B>>Builder for the GraphQL over HTTP client.WebSocketGraphQlTransportException
raised when a subscription ends with an"error"
message.Interceptor ofGraphQlClient
requests for use in a blocking execution chain with aSyncGraphQlTransport
.Contract to delegate to the rest of a blocking execution chain.Contract for blocking execution of GraphQL requests over some transport.Base contract for the HTTP and WebSocketGraphQlClient
extensions.WebGraphQlClient.Builder<B extends WebGraphQlClient.Builder<B>>Base builder for GraphQL clients over a Web transport.WebSocket relatedGraphQlTransportException
raised when the connection is closed while a request or subscription is in progress.GraphQL over WebSocket client that usesWebSocketClient
.WebSocketGraphQlClient.Builder<B extends WebSocketGraphQlClient.Builder<B>>Builder for a GraphQL over WebSocket client.An extension ofGraphQlClientInterceptor
with additional methods to for WebSocket interception points.