public class GraphQLWSHandler 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<GraphQLWSHandler> |
__TYPE_ARG |
| Constructor and Description |
|---|
GraphQLWSHandler(GraphQLWSHandler delegate) |
GraphQLWSHandler(Object delegate) |
| Modifier and Type | Method and Description |
|---|---|
GraphQLWSHandler |
beforeExecute(Handler<ExecutionInputBuilderWithContext<Message>> config)
Set a callback to invoke before executing a GraphQL query.
|
GraphQLWSHandler |
connectionInitHandler(Handler<ConnectionInitEvent> connectionInitHandler)
Customize the connection init .
|
static GraphQLWSHandler |
create(graphql.GraphQL graphQL)
Create a new
GraphQLWSHandler that will use the provided graphQL object to execute requests. |
static GraphQLWSHandler |
create(graphql.GraphQL graphQL,
GraphQLWSOptions options)
Create a new
GraphQLWSHandler that will use the provided graphQL object to execute requests. |
boolean |
equals(Object o) |
GraphQLWSHandler |
getDelegate() |
void |
handle(RoutingContext event)
Something has happened, so handle it.
|
int |
hashCode() |
static GraphQLWSHandler |
newInstance(GraphQLWSHandler arg) |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<GraphQLWSHandler> __TYPE_ARG
public GraphQLWSHandler(GraphQLWSHandler delegate)
public GraphQLWSHandler(Object delegate)
public GraphQLWSHandler getDelegate()
public void handle(RoutingContext event)
handle in interface Handler<RoutingContext>event - the event to handlepublic GraphQLWSHandler connectionInitHandler(Handler<ConnectionInitEvent> connectionInitHandler)
connectionInitHandler - public GraphQLWSHandler beforeExecute(Handler<ExecutionInputBuilderWithContext<Message>> config)
config - the callback to invokepublic static GraphQLWSHandler create(graphql.GraphQL graphQL)
GraphQLWSHandler that will use the provided graphQL object to execute requests.
The handler will be configured with the default GraphQLWSOptions.
graphQL - public static GraphQLWSHandler create(graphql.GraphQL graphQL, GraphQLWSOptions options)
GraphQLWSHandler that will use the provided graphQL object to execute requests.
The handler will be configured with the given options.
graphQL - options - options for configuring the GraphQLWSOptionspublic static GraphQLWSHandler newInstance(GraphQLWSHandler arg)
Copyright © 2022 Eclipse. All rights reserved.