Class AbstractGraphQLRequest.Payload

java.lang.Object
com.graphql_java_generator.client.request.AbstractGraphQLRequest.Payload
Enclosing class:
AbstractGraphQLRequest

public static class AbstractGraphQLRequest.Payload extends Object
This class contains the payload that will be sent to the server. This payload is serialized differently, depending on the transport, for instance: http POST for query and mutation, or web socket with the graphql-transport-ws protocol for query, mutation and subscription.
Author:
etienne_sf
  • Constructor Details

    • Payload

      public Payload()
  • Method Details

    • getQuery

      public String getQuery()
    • getVariables

      public Map<String,Object> getVariables()
    • getOperationName

      public String getOperationName()