Package io.vertx.ext.web.handler.graphql
Interface GraphQLHandler
-
- All Superinterfaces:
Handler<RoutingContext>
public interface GraphQLHandler extends Handler<RoutingContext>
ARoutehandler for GraphQL requests.- Author:
- Thomas Segismont
-
-
Method Summary
Static Methods Modifier and Type Method Description static 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 Detail
-
create
static GraphQLHandler create(graphql.GraphQL graphQL)
Create a newGraphQLHandlerthat will use the providedgraphQLobject to execute queries.The handler will be configured with default
options.
-
create
static GraphQLHandler create(graphql.GraphQL graphQL, GraphQLHandlerOptions options)
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
static GraphQLHandlerBuilder builder(graphql.GraphQL graphQL)
Create a newGraphQLHandlerBuilderthat will use the providedgraphQLto build aGraphQLHandler.The handler will be configured with default
options.
-
-