Class GraphiQLHandler
java.lang.Object
io.vertx.mutiny.ext.web.handler.graphql.GraphiQLHandler
- All Implemented Interfaces:
MutinyDelegate
,io.vertx.core.Handler<RoutingContext>
,Consumer<RoutingContext>
public class GraphiQLHandler
extends Object
implements MutinyDelegate, io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>
A handler for GraphiQL resources.
NOTE: This class has been automatically generated from the
original
non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGraphiQLHandler
(io.vertx.ext.web.handler.graphql.GraphiQLHandler delegate) GraphiQLHandler
(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(RoutingContext item) static GraphiQLHandlerBuilder
static GraphiQLHandler
create()
Deprecated.static GraphiQLHandler
create
(io.vertx.ext.web.handler.graphql.GraphiQLHandlerOptions options) Deprecated.as of 4.5.1, usecreate(Vertx, GraphiQLHandlerOptions)
, withrouter()
static GraphiQLHandler
static GraphiQLHandler
boolean
io.vertx.ext.web.handler.graphql.GraphiQLHandler
graphiQLRequestHeaders
(Function<RoutingContext, MultiMap> factory) Deprecated.as of 4.5.1, usebuilder(Vertx)
insteadvoid
handle
(RoutingContext arg0) int
hashCode()
static GraphiQLHandler
newInstance
(io.vertx.ext.web.handler.graphql.GraphiQLHandler arg) router()
toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
GraphiQLHandler
public GraphiQLHandler(io.vertx.ext.web.handler.graphql.GraphiQLHandler delegate) -
GraphiQLHandler
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.handler.graphql.GraphiQLHandler getDelegate()- Specified by:
getDelegate
in interfaceMutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
handle
- Specified by:
handle
in interfaceio.vertx.core.Handler<RoutingContext>
-
builder
- Parameters:
vertx
-- Returns:
-
create
- Parameters:
vertx
-- Returns:
-
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:
-
router
- Returns:
- a router to be mounted on an existing
Route
-
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
- Specified by:
accept
in interfaceConsumer<RoutingContext>
-
newInstance
-
create(Vertx)
, withrouter()