Class GraphiQLHandler
- java.lang.Object
-
- io.vertx.mutiny.ext.web.handler.graphql.GraphiQLHandler
-
- All Implemented Interfaces:
io.vertx.core.Handler<RoutingContext>,Consumer<RoutingContext>
public class GraphiQLHandler extends Object implements io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>
A handler for GraphiQL resources. 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<GraphiQLHandler>__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description GraphiQLHandler(io.vertx.ext.web.handler.graphql.GraphiQLHandler delegate)GraphiQLHandler(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaccept(RoutingContext item)static GraphiQLHandlerBuilderbuilder(Vertx vertx)static GraphiQLHandlercreate()Deprecated.as of 4.5.1, usecreate(Vertx), withrouter()static GraphiQLHandlercreate(io.vertx.ext.web.handler.graphql.GraphiQLHandlerOptions options)Deprecated.as of 4.5.1, usecreate(Vertx, GraphiQLHandlerOptions), withrouter()static GraphiQLHandlercreate(Vertx vertx)static GraphiQLHandlercreate(Vertx vertx, io.vertx.ext.web.handler.graphql.GraphiQLHandlerOptions options)booleanequals(Object o)io.vertx.ext.web.handler.graphql.GraphiQLHandlergetDelegate()GraphiQLHandlergraphiQLRequestHeaders(Function<RoutingContext,MultiMap> factory)Deprecated.as of 4.5.1, usebuilder(Vertx)insteadvoidhandle(RoutingContext arg0)inthashCode()static GraphiQLHandlernewInstance(io.vertx.ext.web.handler.graphql.GraphiQLHandler arg)Routerrouter()StringtoString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<GraphiQLHandler> __TYPE_ARG
-
-
Constructor Detail
-
GraphiQLHandler
public GraphiQLHandler(io.vertx.ext.web.handler.graphql.GraphiQLHandler delegate)
-
GraphiQLHandler
public GraphiQLHandler(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.web.handler.graphql.GraphiQLHandler getDelegate()
-
handle
public void handle(RoutingContext arg0)
- Specified by:
handlein interfaceio.vertx.core.Handler<RoutingContext>
-
builder
public static GraphiQLHandlerBuilder builder(Vertx vertx)
- Parameters:
vertx-- Returns:
-
create
public static GraphiQLHandler create(Vertx vertx)
- Parameters:
vertx-- Returns:
-
create
@Deprecated public static GraphiQLHandler create()
Deprecated.as of 4.5.1, usecreate(Vertx), withrouter()- Returns:
-
create
public static GraphiQLHandler create(Vertx vertx, io.vertx.ext.web.handler.graphql.GraphiQLHandlerOptions options)
- Parameters:
vertx-options- options for configuring theGraphiQLHandler- Returns:
-
create
@Deprecated public static GraphiQLHandler create(io.vertx.ext.web.handler.graphql.GraphiQLHandlerOptions options)
Deprecated.as of 4.5.1, usecreate(Vertx, GraphiQLHandlerOptions), withrouter()- Parameters:
options- options for configuring theGraphiQLHandler- Returns:
-
graphiQLRequestHeaders
@Deprecated public GraphiQLHandler graphiQLRequestHeaders(Function<RoutingContext,MultiMap> factory)
Deprecated.as of 4.5.1, usebuilder(Vertx)instead- 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 GraphiQLHandler newInstance(io.vertx.ext.web.handler.graphql.GraphiQLHandler arg)
-
-