Class DefaultExecutionGraphQlResponse

java.lang.Object
org.springframework.graphql.support.AbstractGraphQlResponse
org.springframework.graphql.support.DefaultExecutionGraphQlResponse
All Implemented Interfaces:
ExecutionGraphQlResponse, GraphQlResponse
Direct Known Subclasses:
RSocketGraphQlResponse, WebGraphQlResponse

public class DefaultExecutionGraphQlResponse extends AbstractGraphQlResponse implements ExecutionGraphQlResponse
GraphQlResponse for server use that wraps the ExecutionResult returned from GraphQL and also exposes the actual ExecutionInput instance passed into it.
Since:
1.0.0
Author:
Rossen Stoyanchev
  • Constructor Details

    • DefaultExecutionGraphQlResponse

      public DefaultExecutionGraphQlResponse(ExecutionInput input, ExecutionResult result)
      Constructor to create initial instance.
    • DefaultExecutionGraphQlResponse

      protected DefaultExecutionGraphQlResponse(ExecutionGraphQlResponse response)
      Constructor to re-wrap from transport specific subclass.
  • Method Details