public class GraphiQLHandler extends Object implements Handler<RoutingContext>
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<GraphiQLHandler> |
__TYPE_ARG |
Constructor and Description |
---|
GraphiQLHandler(GraphiQLHandler delegate) |
GraphiQLHandler(Object delegate) |
Modifier and Type | Method and Description |
---|---|
static GraphiQLHandlerBuilder |
builder(Vertx vertx)
Create a new
GraphiQLHandlerBuilder with default GraphiQLHandlerOptions . |
static GraphiQLHandler |
create()
Deprecated.
|
static GraphiQLHandler |
create(GraphiQLHandlerOptions options)
Deprecated.
|
static GraphiQLHandler |
create(Vertx vertx)
Create a new
GraphiQLHandler . |
static GraphiQLHandler |
create(Vertx vertx,
GraphiQLHandlerOptions options)
Create a new
GraphiQLHandler . |
boolean |
equals(Object o) |
GraphiQLHandler |
getDelegate() |
GraphiQLHandler |
graphiQLRequestHeaders(java.util.function.Function<RoutingContext,MultiMap> factory)
Deprecated.
|
void |
handle(RoutingContext event)
Something has happened, so handle it.
|
int |
hashCode() |
static GraphiQLHandler |
newInstance(GraphiQLHandler arg) |
Router |
router()
Creates a router configured to serve GraphiQL resources.
|
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<GraphiQLHandler> __TYPE_ARG
public GraphiQLHandler(GraphiQLHandler delegate)
public GraphiQLHandler(Object delegate)
public GraphiQLHandler getDelegate()
public void handle(RoutingContext event)
handle
in interface Handler<RoutingContext>
event
- the event to handlepublic static GraphiQLHandlerBuilder builder(Vertx vertx)
GraphiQLHandlerBuilder
with default GraphiQLHandlerOptions
.vertx
- public static GraphiQLHandler create(Vertx vertx)
GraphiQLHandler
.
The handler will be configured with default GraphiQLHandlerOptions
.
vertx
- @Deprecated public static GraphiQLHandler create()
GraphiQLHandler
.
The handler will be configured with default GraphiQLHandlerOptions
.
public static GraphiQLHandler create(Vertx vertx, GraphiQLHandlerOptions options)
GraphiQLHandler
.
The handler will be configured with the given options
.
vertx
- options
- options for configuring the GraphiQLHandler
@Deprecated public static GraphiQLHandler create(GraphiQLHandlerOptions options)
GraphiQLHandler
.
The handler will be configured with the given options
.
options
- options for configuring the GraphiQLHandler
public Router router()
Route
@Deprecated public GraphiQLHandler graphiQLRequestHeaders(java.util.function.Function<RoutingContext,MultiMap> factory)
GraphiQLHandlerOptions
.
This can be useful if, for example, the server is protected by authentication.
factory
- public static GraphiQLHandler newInstance(GraphiQLHandler arg)
Copyright © 2024 Eclipse. All rights reserved.