java.lang.Object
io.helidon.webserver.graphql.GraphQlService
- All Implemented Interfaces:
HttpService
,ServerLifecycle
Support for GraphQL for Helidon WebServer.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic GraphQlService.Builder
builder()
A builder for fine grained configuration of the support.static GraphQlService
create
(graphql.schema.GraphQLSchema schema) Create GraphQL support for a GraphQL schema.void
Updates the routing to add handlers of this service.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.helidon.webserver.ServerLifecycle
afterStop, beforeStart
-
Method Details
-
create
Create GraphQL support for a GraphQL schema.- Parameters:
schema
- schema to use for GraphQL- Returns:
- a new support to register with
WebServer
HttpRouting
-
builder
A builder for fine grained configuration of the support.- Returns:
- a new fluent API builder
-
routing
Description copied from interface:HttpService
Updates the routing to add handlers of this service.- Specified by:
routing
in interfaceHttpService
- Parameters:
rules
- to update
-