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 GraphiQLHandlerBuilderbuilder(Vertx vertx)Create a newGraphiQLHandlerBuilderwith defaultGraphiQLHandlerOptions.static GraphiQLHandlercreate(Vertx vertx)Create a newGraphiQLHandler.static GraphiQLHandlercreate(Vertx vertx, GraphiQLHandlerOptions options)Create a newGraphiQLHandler.booleanequals(Object o)GraphiQLHandlergetDelegate()inthashCode()static GraphiQLHandlernewInstance(GraphiQLHandler arg)Routerrouter()Creates a router configured to serve GraphiQL resources.StringtoString()
-
-
-
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()
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
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 newGraphiQLHandlerBuilderwith 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)
-
-