Class DefaultExecutionGraphQlService
java.lang.Object
org.springframework.graphql.execution.DefaultExecutionGraphQlService
- All Implemented Interfaces:
 ExecutionGraphQlService
ExecutionGraphQlService that uses a GraphQlSource to obtain a
 GraphQL instance and perform query execution.- Since:
 - 1.0.0
 - Author:
 - Rossen Stoyanchev
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddDataLoaderRegistrar(DataLoaderRegistrar registrar) Add a registrar to get access to and configure theDataLoaderRegistryfor each request.final reactor.core.publisher.Mono<ExecutionGraphQlResponse> execute(ExecutionGraphQlRequest request) Execute the request and return the response. 
- 
Constructor Details
- 
DefaultExecutionGraphQlService
 
 - 
 - 
Method Details
- 
addDataLoaderRegistrar
Add a registrar to get access to and configure theDataLoaderRegistryfor each request.- Parameters:
 registrar- the registrar to add
 - 
execute
public final reactor.core.publisher.Mono<ExecutionGraphQlResponse> execute(ExecutionGraphQlRequest request) Description copied from interface:ExecutionGraphQlServiceExecute the request and return the response.- Specified by:
 executein interfaceExecutionGraphQlService- Parameters:
 request- the request to execute- Returns:
 - the resulting response
 
 
 -