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.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.An exception raised on an attempt to decode data from afailed response
or a field is not present, or has no value, checked viaResponseField.hasValue()
.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 creatingGraphQlClient
instances.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 forGraphQlClient
requests.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 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 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.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.