Package io.vertx.ext.web.handler.graphql
Interface GraphQLHandlerBuilder
-
public interface GraphQLHandlerBuilder
A builder forGraphQLHandler
instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GraphQLHandlerBuilder
beforeExecute(Handler<ExecutionInputBuilderWithContext<RoutingContext>> beforeExecuteHandler)
Set a callback to invoke before executing a GraphQL query.GraphQLHandler
build()
GraphQLHandlerBuilder
with(GraphQLHandlerOptions options)
Change theGraphQLHandlerOptions
to use.
-
-
-
Method Detail
-
with
GraphQLHandlerBuilder with(GraphQLHandlerOptions options)
Change theGraphQLHandlerOptions
to use.- Returns:
- a reference to this, so the API can be used fluently
-
beforeExecute
GraphQLHandlerBuilder beforeExecute(Handler<ExecutionInputBuilderWithContext<RoutingContext>> beforeExecuteHandler)
Set a callback to invoke before executing a GraphQL query.- Parameters:
beforeExecuteHandler
- the callback to invoke- Returns:
- a reference to this, so the API can be used fluently
-
build
GraphQLHandler build()
- Returns:
- a new instance of
GraphQLHandler
-
-