Class GraphQLHandler
java.lang.Object
io.vertx.mutiny.ext.web.handler.graphql.GraphQLHandler
- All Implemented Interfaces:
MutinyDelegate,io.vertx.core.Handler<RoutingContext>,Consumer<RoutingContext>
public class GraphQLHandler
extends Object
implements io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>, MutinyDelegate
A
Route handler for GraphQL requests.
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- Author:
- Thomas Segismont
- See Also:
-
GraphQLHandler
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGraphQLHandler(io.vertx.ext.web.handler.graphql.GraphQLHandler delegate) Create a new instance ofGraphQLHandlerdelegating to the given (non-null) instance ofGraphQLHandler.GraphQLHandler(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(RoutingContext item) Handle an item.static GraphQLHandlerBuilderbuilder(graphql.GraphQL graphQL) static GraphQLHandlercreate(graphql.GraphQL graphQL) Create a newGraphQLHandlerthat will use the providedgraphQLobject to execute queries.static GraphQLHandlercreate(graphql.GraphQL graphQL, io.vertx.ext.web.handler.graphql.GraphQLHandlerOptions options) Create a newGraphQLHandlerthat will use the providedgraphQLobject to execute queries.booleanio.vertx.ext.web.handler.graphql.GraphQLHandlerGet the delegate instance.voidhandle(RoutingContext item) Handle an item.inthashCode()static GraphQLHandlernewInstance(io.vertx.ext.web.handler.graphql.GraphQLHandler delegate) Creates a new instance of theGraphQLHandler.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
GraphQLHandler
public GraphQLHandler(io.vertx.ext.web.handler.graphql.GraphQLHandler delegate) Create a new instance ofGraphQLHandlerdelegating to the given (non-null) instance ofGraphQLHandler. -
GraphQLHandler
-
-
Method Details
-
accept
Handle an item. This method is generated from theoriginalmethod."- Specified by:
acceptin interfaceConsumer<RoutingContext>
-
handle
Handle an item. This method is generated from theoriginalmethod."- Specified by:
handlein interfaceio.vertx.core.Handler<RoutingContext>
-
getDelegate
public io.vertx.ext.web.handler.graphql.GraphQLHandler 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
-
create
Create a newGraphQLHandlerthat will use the providedgraphQLobject to execute queries.The handler will be configured with default
options. -
create
public static GraphQLHandler create(graphql.GraphQL graphQL, io.vertx.ext.web.handler.graphql.GraphQLHandlerOptions options) Create a newGraphQLHandlerthat will use the providedgraphQLobject to execute queries.The handler will be configured with the given
options.- Parameters:
options- options for configuring theGraphQLHandler
-
builder
Create a newGraphQLHandlerBuilderthat will use the providedgraphQLto build aGraphQLHandler.The handler will be configured with default
options. -
newInstance
Creates a new instance of theGraphQLHandler. -
hashCode
public int hashCode() -
equals
-
toString
-