Uses of Interface
org.springframework.graphql.client.GraphQlClient.RequestSpec
Packages that use GraphQlClient.RequestSpec
-
Uses of GraphQlClient.RequestSpec in org.springframework.graphql.client
Methods in org.springframework.graphql.client that return GraphQlClient.RequestSpecModifier and TypeMethodDescriptionSet a client request attribute.GraphQlClient.RequestSpec.attributes(Consumer<Map<String, Object>> attributesConsumer) Manipulate the client request attributes.Start defining a GraphQL request with the given document, which is the textual representation of an operation (or operations) to perform, including selection sets and fragments.AbstractDelegatingGraphQlClient.documentName(String name) GraphQlClient.documentName(String name) Variant ofGraphQlClient.document(String)that uses the given key to resolve the GraphQL document from a file with the help of the configuredDocumentSource.Add a value for a protocol extension.GraphQlClient.RequestSpec.extensions(Map<String, Object> extensions) Add all given protocol extensions.GraphQlClient.RequestSpec.operationName(String operationName) Set the name of the operation in thedocumentto execute, if the document contains multiple operations.Add a value for a variable defined by the operation.Add all given values for variables defined by the operation.