Class GraphQlService
java.lang.Object
io.helidon.webserver.graphql.GraphQlService
- All Implemented Interfaces:
HttpService, ServerLifecycle
Support for GraphQL for Helidon WebServer.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic GraphQlService.Builderbuilder()A builder for fine grained configuration of the support.static GraphQlServicecreate(graphql.schema.GraphQLSchema schema) Create GraphQL support for a GraphQL schema.voidUpdates the routing to add handlers of this service.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ServerLifecycle
afterStart, afterStop, beforeStartModifier and TypeMethodDescriptiondefault voidafterStart(WebServer webServer) After server start.default voidAfter server stop.default voidBefore server start.
-
Method Details
-
create
Create GraphQL support for a GraphQL schema.- Parameters:
schema- schema to use for GraphQL- Returns:
- a new support to register with
WebServerHttpRouting
-
builder
A builder for fine grained configuration of the support.- Returns:
- a new fluent API builder
-
routing
Description copied from interface:HttpServiceUpdates the routing to add handlers of this service.- Specified by:
routingin interfaceHttpService- Parameters:
rules- to update
-