Class GraphQLHandler
- java.lang.Object
 - 
- io.vertx.mutiny.ext.web.handler.graphql.GraphQLHandler
 
 
- 
- All Implemented Interfaces:
 io.vertx.core.Handler<RoutingContext>,Consumer<RoutingContext>
public class GraphQLHandler extends Object implements io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>
ARoutehandler for GraphQL requests. NOTE: This class has been automatically generated from theoriginalnon Mutiny-ified interface using Vert.x codegen. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static TypeArg<GraphQLHandler>__TYPE_ARG 
- 
Constructor Summary
Constructors Constructor Description GraphQLHandler(io.vertx.ext.web.handler.graphql.GraphQLHandler delegate)GraphQLHandler(Object delegate) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(RoutingContext item)static GraphQLHandlercreate(graphql.GraphQL graphQL)static GraphQLHandlercreate(graphql.GraphQL graphQL, io.vertx.ext.web.handler.graphql.GraphQLHandlerOptions options)GraphQLHandlerdataLoaderRegistry(Function<RoutingContext,org.dataloader.DataLoaderRegistry> factory)booleanequals(Object o)io.vertx.ext.web.handler.graphql.GraphQLHandlergetDelegate()voidhandle(RoutingContext arg0)inthashCode()GraphQLHandlerlocale(Function<RoutingContext,Locale> factory)static GraphQLHandlernewInstance(io.vertx.ext.web.handler.graphql.GraphQLHandler arg)GraphQLHandlerqueryContext(Function<RoutingContext,Object> factory)StringtoString() 
 - 
 
- 
- 
Field Detail
- 
__TYPE_ARG
public static final TypeArg<GraphQLHandler> __TYPE_ARG
 
 - 
 
- 
Constructor Detail
- 
GraphQLHandler
public GraphQLHandler(io.vertx.ext.web.handler.graphql.GraphQLHandler delegate)
 
- 
GraphQLHandler
public GraphQLHandler(Object delegate)
 
 - 
 
- 
Method Detail
- 
getDelegate
public io.vertx.ext.web.handler.graphql.GraphQLHandler getDelegate()
 
- 
handle
public void handle(RoutingContext arg0)
- Specified by:
 handlein interfaceio.vertx.core.Handler<RoutingContext>
 
- 
queryContext
public GraphQLHandler queryContext(Function<RoutingContext,Object> factory)
- Parameters:
 factory-- Returns:
 - a reference to this, so the API can be used fluently
 
 
- 
create
public static GraphQLHandler create(graphql.GraphQL graphQL)
- Parameters:
 graphQL-- Returns:
 
 
- 
create
public static GraphQLHandler create(graphql.GraphQL graphQL, io.vertx.ext.web.handler.graphql.GraphQLHandlerOptions options)
- Parameters:
 graphQL-options- options for configuring theGraphQLHandler- Returns:
 
 
- 
dataLoaderRegistry
public GraphQLHandler dataLoaderRegistry(Function<RoutingContext,org.dataloader.DataLoaderRegistry> factory)
- Parameters:
 factory-- Returns:
 - a reference to this, so the API can be used fluently
 
 
- 
locale
public GraphQLHandler locale(Function<RoutingContext,Locale> factory)
- Parameters:
 factory-- Returns:
 - a reference to this, so the API can be used fluently
 
 
- 
accept
public void accept(RoutingContext item)
- Specified by:
 acceptin interfaceConsumer<RoutingContext>
 
- 
newInstance
public static GraphQLHandler newInstance(io.vertx.ext.web.handler.graphql.GraphQLHandler arg)
 
 - 
 
 -