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>
ARoute
handler for GraphiQL resources. NOTE: This class has been automatically generated from theoriginal
non 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 Modifier and Type Method Description void
accept(RoutingContext item)
static GraphiQLHandler
create()
static GraphiQLHandler
create(io.vertx.ext.web.handler.graphql.GraphiQLHandlerOptions options)
boolean
equals(Object o)
io.vertx.ext.web.handler.graphql.GraphiQLHandler
getDelegate()
GraphiQLHandler
graphiQLRequestHeaders(Function<RoutingContext,MultiMap> factory)
void
handle(RoutingContext arg0)
int
hashCode()
static GraphiQLHandler
newInstance(io.vertx.ext.web.handler.graphql.GraphiQLHandler arg)
String
toString()
-
-
-
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:
handle
in interfaceio.vertx.core.Handler<RoutingContext>
-
create
public static GraphiQLHandler create()
- Returns:
-
create
public static GraphiQLHandler create(io.vertx.ext.web.handler.graphql.GraphiQLHandlerOptions options)
- Parameters:
options
- options for configuring theGraphiQLHandler
- Returns:
-
graphiQLRequestHeaders
public GraphiQLHandler graphiQLRequestHeaders(Function<RoutingContext,MultiMap> factory)
- Parameters:
factory
-- Returns:
- a reference to this, so the API can be used fluently
-
accept
public void accept(RoutingContext item)
- Specified by:
accept
in interfaceConsumer<RoutingContext>
-
newInstance
public static GraphiQLHandler newInstance(io.vertx.ext.web.handler.graphql.GraphiQLHandler arg)
-
-