Interface GraphQlRequest
- All Known Subinterfaces:
- ClientGraphQlRequest,- ExecutionGraphQlRequest
- All Known Implementing Classes:
- DefaultExecutionGraphQlRequest,- DefaultGraphQlRequest,- RSocketGraphQlRequest,- SerializableGraphQlRequest,- WebGraphQlRequest,- WebSocketGraphQlRequest
public interface GraphQlRequest
Represents a GraphQL request with the inputs to pass to a GraphQL service
 including a 
document, operationName, and variables.
 The request can be turned to a Map via toMap() and to be
 submitted as JSON over HTTP or WebSocket.
- Since:
- 1.0.0
- Author:
- Rossen Stoyanchev
- 
Method SummaryModifier and TypeMethodDescriptionReturn the GraphQL document which is the textual representation of an operation (or operations) to perform, including any selection sets and fragments.Return implementor specific, protocol extensions, if any.Return the name of the operation in thedocumentto execute, if the document contains multiple operations.Return values for variable defined by the operation.toMap()
- 
Method Details- 
getDocumentString getDocument()Return the GraphQL document which is the textual representation of an operation (or operations) to perform, including any selection sets and fragments.
- 
getOperationName
- 
getVariables
- 
getExtensions
- 
toMapConvert the request to aMapas defined in GraphQL over HTTP and GraphQL over WebSocket.Key Value query documentoperationName operationNamevariables variables
 
-