Class GraphQLHandlerBuilder
- java.lang.Object
-
- io.vertx.reactivex.ext.web.handler.graphql.GraphQLHandlerBuilder
-
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
public class GraphQLHandlerBuilder extends Object implements io.vertx.lang.rx.RxDelegate
A builder forGraphQLHandlerinstances.NOTE: This class has been automatically generated from the
originalnon RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<GraphQLHandlerBuilder>__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description GraphQLHandlerBuilder(GraphQLHandlerBuilder delegate)GraphQLHandlerBuilder(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphQLHandlerBuilderbeforeExecute(Handler<ExecutionInputBuilderWithContext<RoutingContext>> beforeExecuteHandler)Set a callback to invoke before executing a GraphQL query.GraphQLHandlerbuild()booleanequals(Object o)GraphQLHandlerBuildergetDelegate()inthashCode()static GraphQLHandlerBuildernewInstance(GraphQLHandlerBuilder arg)StringtoString()GraphQLHandlerBuilderwith(GraphQLHandlerOptions options)Change theGraphQLHandlerOptionsto use.
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<GraphQLHandlerBuilder> __TYPE_ARG
-
-
Constructor Detail
-
GraphQLHandlerBuilder
public GraphQLHandlerBuilder(GraphQLHandlerBuilder delegate)
-
GraphQLHandlerBuilder
public GraphQLHandlerBuilder(Object delegate)
-
-
Method Detail
-
getDelegate
public GraphQLHandlerBuilder getDelegate()
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
with
public GraphQLHandlerBuilder with(GraphQLHandlerOptions options)
Change theGraphQLHandlerOptionsto use.- Parameters:
options-- Returns:
- a reference to this, so the API can be used fluently
-
beforeExecute
public 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
public GraphQLHandler build()
- Returns:
- a new instance of
GraphQLHandler
-
newInstance
public static GraphQLHandlerBuilder newInstance(GraphQLHandlerBuilder arg)
-
-