Interface HttpGraphQlClient
- All Superinterfaces:
GraphQlClient,WebGraphQlClient
GraphQL over HTTP client that uses
WebClient.- Since:
- 1.0.0
- Author:
- Rossen Stoyanchev
-
Nested Class Summary
Nested 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.GraphQlClient
GraphQlClient.RequestSpec, GraphQlClient.RetrieveSpec, GraphQlClient.RetrieveSubscriptionSpec -
Method Summary
Modifier 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.GraphQlClient
document, documentName
-
Method Details
-
mutate
HttpGraphQlClient.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- Specified by:
mutatein interfaceWebGraphQlClient
-
create
Create anHttpGraphQlClientthat uses the givenWebClient. -
builder
Return a builder to initialize anHttpGraphQlClientwith. -
builder
Variant ofbuilder()with a pre-configuredWebClientto mutate and customize further through the returned builder. -
builder
Variant ofbuilder()with a pre-configuredWebClientto mutate and customize further through the returned builder.
-