public class GraphQLWSHandler extends Object implements ProtocolUpgradeHandler, io.vertx.core.Handler<RoutingContext>
original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static TypeArg<GraphQLWSHandler> |
__TYPE_ARG |
| Constructor and Description |
|---|
GraphQLWSHandler(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler delegate) |
GraphQLWSHandler(Object delegate) |
| Modifier and Type | Method and Description |
|---|---|
GraphQLWSHandler |
beforeExecute(io.vertx.core.Handler<ExecutionInputBuilderWithContext<Message>> config)
Set a callback to invoke before executing a GraphQL query.
|
GraphQLWSHandler |
connectionInitHandler(io.vertx.core.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,
io.vertx.ext.web.handler.graphql.ws.GraphQLWSOptions options)
Create a new
GraphQLWSHandler that will use the provided graphQL object to execute requests. |
boolean |
equals(Object o) |
io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler |
getDelegate() |
void |
handle(RoutingContext event)
Something has happened, so handle it.
|
int |
hashCode() |
static GraphQLWSHandler |
newInstance(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler arg) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitnewInstancepublic static final TypeArg<GraphQLWSHandler> __TYPE_ARG
public GraphQLWSHandler(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler delegate)
public GraphQLWSHandler(Object delegate)
public io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler getDelegate()
getDelegate in interface ProtocolUpgradeHandlerpublic void handle(RoutingContext event)
handle in interface io.vertx.core.Handler<RoutingContext>handle in interface ProtocolUpgradeHandlerevent - the event to handlepublic GraphQLWSHandler connectionInitHandler(io.vertx.core.Handler<ConnectionInitEvent> connectionInitHandler)
connectionInitHandler - public GraphQLWSHandler beforeExecute(io.vertx.core.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, io.vertx.ext.web.handler.graphql.ws.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(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler arg)
Copyright © 2022 Eclipse. All rights reserved.