close

Filter

loading table of contents...

Headless Server Developer Manual / Version 2406.0

Table Of Contents

4.2.4 Invoking Queries

Headless Server uses the Spring-GraphQL library to invoke GraphQL queries that are received via HTTP requests. Spring-GraphQL operates on Springs functional web framework. At the beginning of an invocation chain stands a RouterFunction which declares its responsibility for a certain path and eventually restricts to specific HTTP methods. If the RouterFunction takes an incoming request, it delegates the further handling to a handler class. To process GraphQL queries a special GraphQLHandler is necessary. GraphQLHandler is an implementation by Spring-GraphQL and handles the runtime aspects of a query invocation.

Headless-Server comes with its own GraphQL handler which subclasses the original GraphQLHandler. THe handler extends the original abilities by allowing also HTTP-Get requests to send GraphQL queries and enabling persisted queries via HTTP-Get.

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.