Class ExecutionResponse

java.lang.Object
io.smallrye.graphql.execution.ExecutionResponse

public class ExecutionResponse extends Object
Response from an execution
Author:
Phillip Kruger (phillip.kruger@redhat.com)
  • Constructor Details

    • ExecutionResponse

      public ExecutionResponse(graphql.ExecutionResult executionResult)
    • ExecutionResponse

      public ExecutionResponse(graphql.ExecutionResult executionResult, Map<String,Object> addedExtensions)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getExecutionResult

      public graphql.ExecutionResult getExecutionResult()
    • getExecutionResultAsJsonObject

      public jakarta.json.JsonObject getExecutionResultAsJsonObject()
    • getExecutionResultAsString

      public String getExecutionResultAsString()