Interface HttpGraphQlClient
- All Superinterfaces:
- GraphQlClient,- WebGraphQlClient
GraphQL over HTTP client that uses 
WebClient.- Since:
- 1.0.0
- Author:
- Rossen Stoyanchev
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceHttpGraphQlClient.Builder<B extends HttpGraphQlClient.Builder<B>>Builder for the GraphQL over HTTP client.Nested classes/interfaces inherited from interface org.springframework.graphql.client.GraphQlClientGraphQlClient.BaseBuilder<B extends GraphQlClient.BaseBuilder<B>>, GraphQlClient.RequestSpec, GraphQlClient.RetrieveSpec, GraphQlClient.RetrieveSubscriptionSpec, GraphQlClient.RetrieveSyncSpec, GraphQlClient.SyncBuilder<B extends GraphQlClient.SyncBuilder<B>>
- 
Method SummaryModifier and TypeMethodDescriptionstatic HttpGraphQlClient.Builder<?> builder()Return a builder to initialize anHttpGraphQlClientwith.static HttpGraphQlClient.Builder<?> Variant ofbuilder()with a pre-configuredWebClientto mutate and customize further through the returned builder.static HttpGraphQlClient.Builder<?> builder(WebClient.Builder webClientBuilder) Variant ofbuilder()with a pre-configuredWebClientto mutate and customize further through the returned builder.static HttpGraphQlClientCreate anHttpGraphQlClientthat uses the givenWebClient.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.GraphQlClientdocument, documentName
- 
Method Details- 
mutateHttpGraphQlClient.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 interface- GraphQlClient
- Specified by:
- mutatein interface- WebGraphQlClient
 
- 
createCreate anHttpGraphQlClientthat uses the givenWebClient.- Parameters:
- webClient- the- WebClientto use for sending HTTP requests
 
- 
builderReturn a builder to initialize anHttpGraphQlClientwith.
- 
builderVariant ofbuilder()with a pre-configuredWebClientto mutate and customize further through the returned builder.- Parameters:
- webClient- the- WebClientto use for sending HTTP requests
 
- 
builderVariant ofbuilder()with a pre-configuredWebClientto mutate and customize further through the returned builder.- Parameters:
- webClientBuilder- the- WebClient.Builderto use for building the HTTP client
 
 
-