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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder 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 anHttpSyncGraphQlClientwith.static HttpSyncGraphQlClient.Builder<?>builder(RestClient client) Variant ofbuilder()with a pre-configuredRestClientto mutate and customize further through the returned builder.static HttpSyncGraphQlClient.Builder<?>builder(RestClient.Builder builder) Variant ofbuilder()with a pre-configuredRestClientto mutate and customize further through the returned builder.static HttpSyncGraphQlClientcreate(RestClient client) Create anHttpSyncGraphQlClientthat 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:GraphQlClientReturn a builder initialized from the configuration of "this" client to use to build a new, independently configured client instance.- Specified by:
mutatein interfaceGraphQlClient
-
create
Create anHttpSyncGraphQlClientthat uses the givenRestClient.- Parameters:
client- theRestClientto use for HTTP requests
-
builder
Return a builder to initialize anHttpSyncGraphQlClientwith. -
builder
Variant ofbuilder()with a pre-configuredRestClientto mutate and customize further through the returned builder.- Parameters:
client- theRestClientto use for HTTP requests
-
builder
Variant ofbuilder()with a pre-configuredRestClientto mutate and customize further through the returned builder.- Parameters:
builder- theRestClientbuilder to use for HTTP requests
-