Class GraphQLHandlerBuilder
- java.lang.Object
-
- io.vertx.reactivex.ext.web.handler.graphql.GraphQLHandlerBuilder
-
public class GraphQLHandlerBuilder extends Object
A builder forGraphQLHandler
instances.NOTE: This class has been automatically generated from the
original
non 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 GraphQLHandlerBuilder
beforeExecute(Handler<ExecutionInputBuilderWithContext<RoutingContext>> beforeExecuteHandler)
Set a callback to invoke before executing a GraphQL query.GraphQLHandler
build()
boolean
equals(Object o)
GraphQLHandlerBuilder
getDelegate()
int
hashCode()
static GraphQLHandlerBuilder
newInstance(GraphQLHandlerBuilder arg)
String
toString()
GraphQLHandlerBuilder
with(GraphQLHandlerOptions options)
Change theGraphQLHandlerOptions
to 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()
-
with
public GraphQLHandlerBuilder with(GraphQLHandlerOptions options)
Change theGraphQLHandlerOptions
to 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)
-
-