Package io.vertx.ext.web.handler.graphql
Interface GraphiQLHandler
-
public interface GraphiQLHandlerA handler for GraphiQL resources.- Author:
- Thomas Segismont
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract 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.Routerrouter()Creates a router configured to serve GraphiQL resources.
-
-
-
Method Detail
-
create
static GraphiQLHandler create(Vertx vertx)
Create a newGraphiQLHandler.The handler will be configured with default
options.
-
create
static GraphiQLHandler create(Vertx vertx, GraphiQLHandlerOptions options)
Create a newGraphiQLHandler.The handler will be configured with the given
options.- Parameters:
options- options for configuring theGraphiQLHandler
-
builder
static GraphiQLHandlerBuilder builder(Vertx vertx)
Create a newGraphiQLHandlerBuilderwith defaultGraphiQLHandlerOptions.
-
router
Router router()
Creates a router configured to serve GraphiQL resources.- Returns:
- a router to be mounted on an existing
Route - See Also:
Route.subRouter(Router)
-
-