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