Package org.springframework.graphql.client
@NullMarked
package org.springframework.graphql.client
This package contains a
GraphQlClient
along with HTTP and WebSocket extensions.-
ClassDescriptionBase class for
GraphQlClientextensions that assist with building an underlying transport, but otherwise delegate to the defaultGraphQlClientimplementation to execute requests.AbstractGraphQlClientBuilder<B extends AbstractGraphQlClientBuilder<B>>Abstract, base class for transport specificGraphQlClient.Builderimplementations.Abstract, base class for transport specificGraphQlClient.SyncBuilderimplementations.GraphQlRequestfor client side use.GraphQlResponsefor client use, with further options to handle the response.ExtendsResponseFieldto add options for decoding the field value.Simple wrapper around aGraphQlClientthat 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 aGraphQlClientwith 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 aGraphQlClientinstance with a synchronous execution chain and transport.Base class for exceptions fromGraphQlClient.Interceptor forGraphQlClientrequests 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 aGraphQlTransportor used to wrap an exception from aGraphQlTransportimplementation.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 usesRestClientin 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.WebSocketGraphQlTransportExceptionraised when a subscription ends with an"error"message.Interceptor ofGraphQlClientrequests 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 WebSocketGraphQlClientextensions.WebGraphQlClient.Builder<B extends WebGraphQlClient.Builder<B>>Base builder for GraphQL clients over a Web transport.WebSocket relatedGraphQlTransportExceptionraised 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 ofGraphQlClientInterceptorwith additional methods to for WebSocket interception points.