Package io.vertx.ext.web.handler.graphql
Interface GraphQLHandlerBuilder
-
public interface GraphQLHandlerBuilderA builder forGraphQLHandlerinstances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GraphQLHandlerBuilderbeforeExecute(Handler<ExecutionInputBuilderWithContext<RoutingContext>> beforeExecuteHandler)Set a callback to invoke before executing a GraphQL query.GraphQLHandlerbuild()GraphQLHandlerBuilderwith(GraphQLHandlerOptions options)Change theGraphQLHandlerOptionsto use.
-
-
-
Method Detail
-
with
GraphQLHandlerBuilder with(GraphQLHandlerOptions options)
Change theGraphQLHandlerOptionsto 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
-
-