Class GraphQLHandlerBuilder
java.lang.Object
io.vertx.mutiny.ext.web.handler.graphql.GraphQLHandlerBuilder
- All Implemented Interfaces:
MutinyDelegate
A builder for
GraphQLHandler instances.
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- See Also:
-
GraphQLHandlerBuilder
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGraphQLHandlerBuilder(io.vertx.ext.web.handler.graphql.GraphQLHandlerBuilder delegate) Create a new instance ofGraphQLHandlerBuilderdelegating to the given (non-null) instance ofGraphQLHandlerBuilder.GraphQLHandlerBuilder(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionbeforeExecute(Consumer<ExecutionInputBuilderWithContext<RoutingContext>> beforeExecuteHandler) Set a callback to invoke before executing a GraphQL query.build()booleanio.vertx.ext.web.handler.graphql.GraphQLHandlerBuilderGet the delegate instance.inthashCode()static GraphQLHandlerBuildernewInstance(io.vertx.ext.web.handler.graphql.GraphQLHandlerBuilder delegate) Creates a new instance of theGraphQLHandlerBuilder.toString()with(io.vertx.ext.web.handler.graphql.GraphQLHandlerOptions options) Change theGraphQLHandlerOptionsto use.
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
GraphQLHandlerBuilder
public GraphQLHandlerBuilder(io.vertx.ext.web.handler.graphql.GraphQLHandlerBuilder delegate) Create a new instance ofGraphQLHandlerBuilderdelegating to the given (non-null) instance ofGraphQLHandlerBuilder. -
GraphQLHandlerBuilder
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.handler.graphql.GraphQLHandlerBuilder getDelegate()Get the delegate instance.This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.
- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate instance
-
with
Change theGraphQLHandlerOptionsto use.- Returns:
- a reference to this, so the API can be used fluently
-
beforeExecute
public GraphQLHandlerBuilder beforeExecute(Consumer<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
- Returns:
- a new instance of
GraphQLHandler
-
newInstance
public static GraphQLHandlerBuilder newInstance(io.vertx.ext.web.handler.graphql.GraphQLHandlerBuilder delegate) Creates a new instance of theGraphQLHandlerBuilder. -
hashCode
public int hashCode() -
equals
-
toString
-