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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceWebGraphQlClient.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.RequestSpec, GraphQlClient.RetrieveSpec, GraphQlClient.RetrieveSubscriptionSpec -
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:GraphQlClientReturn a builder initialized from the configuration of "this" client to use to build a new, independently configured client instance.- Specified by:
mutatein interfaceGraphQlClient
-