Interface GraphQLHandler
- All Superinterfaces:
Handler<RoutingContext>
A
Route handler for GraphQL requests.- Author:
- Thomas Segismont
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic GraphQLHandlerBuilderbuilder(graphql.GraphQL graphQL) static GraphQLHandlercreate(graphql.GraphQL graphQL) Create a newGraphQLHandlerthat will use the providedgraphQLobject to execute queries.static GraphQLHandlercreate(graphql.GraphQL graphQL, GraphQLHandlerOptions options) Create a newGraphQLHandlerthat will use the providedgraphQLobject to execute queries.
-
Method Details
-
create
Create a newGraphQLHandlerthat will use the providedgraphQLobject to execute queries.The handler will be configured with default
options. -
create
Create a newGraphQLHandlerthat will use the providedgraphQLobject to execute queries.The handler will be configured with the given
options.- Parameters:
options- options for configuring theGraphQLHandler
-
builder
Create a newGraphQLHandlerBuilderthat will use the providedgraphQLto build aGraphQLHandler.The handler will be configured with default
options.
-