Class GraphQLResponseBody

java.lang.Object
io.micronaut.configuration.graphql.GraphQLResponseBody

public class GraphQLResponseBody extends Object
Represents the response body output data of an executed GraphQL query. This class should be treated as Immutable.
Since:
1.0
Author:
Marcel Overdijk
  • Constructor Details

    • GraphQLResponseBody

      public GraphQLResponseBody(Map<String,Object> specification)
      Default constructor.
      Parameters:
      specification - the GraphQL response body data
  • Method Details

    • getSpecification

      public Map<String,Object> getSpecification()
      Returns the GraphQL response body data.
      Returns:
      the GraphQL response body data