Interface WebGraphQlClient
- All Superinterfaces:
GraphQlClient
- All Known Subinterfaces:
HttpGraphQlClient
,WebSocketGraphQlClient
Base contract for the HTTP and WebSocket
GraphQlClient
extensions.
Defines a builder with common configuration for both transports.- Since:
- 1.0.0
- Author:
- Rossen Stoyanchev
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
WebGraphQlClient.Builder<B extends WebGraphQlClient.Builder<B>>
Base builder for GraphQL clients over a Web transport.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 TypeMethodDescriptionmutate()
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
WebGraphQlClient.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
-