public class GraphQLWSHandler extends Object implements ProtocolUpgradeHandler, 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()  | 
GraphQLWSHandler | 
messageHandler(Handler<Message> messageHandler)
Customize the message . 
 | 
static GraphQLWSHandler | 
newInstance(GraphQLWSHandler arg)  | 
String | 
toString()  | 
clone, finalize, getClass, notify, notifyAll, wait, wait, waitnewInstancepublic static final io.vertx.lang.rx.TypeArg<GraphQLWSHandler> __TYPE_ARG
public GraphQLWSHandler(GraphQLWSHandler delegate)
public GraphQLWSHandler(Object delegate)
public GraphQLWSHandler getDelegate()
getDelegate in interface ProtocolUpgradeHandlerpublic void handle(RoutingContext event)
handle in interface Handler<RoutingContext>handle in interface ProtocolUpgradeHandlerevent - the event to handlepublic GraphQLWSHandler connectionInitHandler(Handler<ConnectionInitEvent> connectionInitHandler)
connectionInitHandler - public GraphQLWSHandler beforeExecute(Handler<ExecutionInputBuilderWithContext<Message>> config)
config - the callback to invokepublic GraphQLWSHandler messageHandler(Handler<Message> messageHandler)
Message received.messageHandler - public 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 © 2024 Eclipse. All rights reserved.