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
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.GraphQlRequestfor client side use.GraphQlResponsefor client use, with further options to handle the response.ExtendsResponseFieldto add options for decoding the field value.Define a workflow to execute GraphQL requests that is independent of the underlying transport.GraphQlClient.Builder<B extends GraphQlClient.Builder<B>>Defines a builder for creatingGraphQlClientinstances.Declare options to gather input for a GraphQL request and execute it.Declares options to decode a field for a single response operation.Declares options to decode a field in each response of a subscription.Base class for exceptions fromGraphQlClient.Interceptor forGraphQlClientrequests.Contract for delegation of single response requests to the rest of the 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 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.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.