Class GraphiQLHandler
- java.lang.Object
-
- io.vertx.reactivex.ext.web.handler.graphql.GraphiQLHandler
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<GraphiQLHandler>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description GraphiQLHandler(GraphiQLHandler delegate)
GraphiQLHandler(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GraphiQLHandlerBuilder
builder(Vertx vertx)
Create a newGraphiQLHandlerBuilder
with defaultGraphiQLHandlerOptions
.static GraphiQLHandler
create(Vertx vertx)
Create a newGraphiQLHandler
.static GraphiQLHandler
create(Vertx vertx, GraphiQLHandlerOptions options)
Create a newGraphiQLHandler
.boolean
equals(Object o)
GraphiQLHandler
getDelegate()
int
hashCode()
static GraphiQLHandler
newInstance(GraphiQLHandler arg)
Router
router()
Creates a router configured to serve GraphiQL resources.String
toString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<GraphiQLHandler> __TYPE_ARG
-
-
Constructor Detail
-
GraphiQLHandler
public GraphiQLHandler(GraphiQLHandler delegate)
-
GraphiQLHandler
public GraphiQLHandler(Object delegate)
-
-
Method Detail
-
getDelegate
public GraphiQLHandler getDelegate()
-
create
public static GraphiQLHandler create(Vertx vertx)
Create a newGraphiQLHandler
.The handler will be configured with default
GraphiQLHandlerOptions
.- Parameters:
vertx
-- Returns:
-
create
public static GraphiQLHandler create(Vertx vertx, GraphiQLHandlerOptions options)
Create a newGraphiQLHandler
.The handler will be configured with the given
options
.- Parameters:
vertx
-options
- options for configuring theGraphiQLHandler
- Returns:
-
builder
public static GraphiQLHandlerBuilder builder(Vertx vertx)
Create a newGraphiQLHandlerBuilder
with defaultGraphiQLHandlerOptions
.- Parameters:
vertx
-- Returns:
-
router
public Router router()
Creates a router configured to serve GraphiQL resources.- Returns:
- a router to be mounted on an existing
Route
-
newInstance
public static GraphiQLHandler newInstance(GraphiQLHandler arg)
-
-