Interface HttpSyncGraphQlClient
- All Superinterfaces:
GraphQlClient
GraphQL over HTTP client with that uses
RestClient
in a blocking
execution chain.- Since:
- 1.3.0
- Author:
- Rossen Stoyanchev
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Builder for the GraphQL over HTTP client with a blocking execution chain.Nested classes/interfaces inherited from interface org.springframework.graphql.client.GraphQlClient
GraphQlClient.BaseBuilder<B extends GraphQlClient.BaseBuilder<B>>, GraphQlClient.RequestSpec, GraphQlClient.RetrieveSpec, GraphQlClient.RetrieveSubscriptionSpec, GraphQlClient.RetrieveSyncSpec, GraphQlClient.SyncBuilder<B extends GraphQlClient.SyncBuilder<B>>
-
Method Summary
Modifier and TypeMethodDescriptionstatic HttpSyncGraphQlClient.Builder<?>
builder()
Return a builder to initialize anHttpSyncGraphQlClient
with.static HttpSyncGraphQlClient.Builder<?>
builder
(RestClient client) Variant ofbuilder()
with a pre-configuredRestClient
to mutate and customize further through the returned builder.static HttpSyncGraphQlClient.Builder<?>
builder
(RestClient.Builder builder) Variant ofbuilder()
with a pre-configuredRestClient
to mutate and customize further through the returned builder.static HttpSyncGraphQlClient
create
(RestClient client) Create anHttpSyncGraphQlClient
that uses the givenRestClient
.mutate()
Return a builder initialized from the configuration of "this" client to use to build a new, independently configured client instance.Methods inherited from interface org.springframework.graphql.client.GraphQlClient
document, documentName
-
Method Details
-
mutate
HttpSyncGraphQlClient.Builder<?> mutate()Description copied from interface:GraphQlClient
Return a builder initialized from the configuration of "this" client to use to build a new, independently configured client instance.- Specified by:
mutate
in interfaceGraphQlClient
-
create
Create anHttpSyncGraphQlClient
that uses the givenRestClient
.- Parameters:
client
- theRestClient
to use for HTTP requests
-
builder
Return a builder to initialize anHttpSyncGraphQlClient
with. -
builder
Variant ofbuilder()
with a pre-configuredRestClient
to mutate and customize further through the returned builder.- Parameters:
client
- theRestClient
to use for HTTP requests
-
builder
Variant ofbuilder()
with a pre-configuredRestClient
to mutate and customize further through the returned builder.- Parameters:
builder
- theRestClient
builder to use for HTTP requests
-