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)
Deprecated.
|
static GraphQLWSHandlerBuilder |
builder(graphql.GraphQL graphQL)
Create a new
GraphQLWSHandlerBuilder that will use the provided graphQL to build a GraphQLWSHandler . |
GraphQLWSHandler |
connectionInitHandler(Handler<ConnectionInitEvent> connectionInitHandler)
Deprecated.
|
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. |
GraphQLWSHandler |
endHandler(Handler<ServerWebSocket> endHandler)
Deprecated.
|
boolean |
equals(Object o) |
GraphQLWSHandler |
getDelegate() |
void |
handle(RoutingContext event)
Something has happened, so handle it.
|
int |
hashCode() |
GraphQLWSHandler |
messageHandler(Handler<Message> messageHandler)
Deprecated.
|
static GraphQLWSHandler |
newInstance(GraphQLWSHandler arg) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
newInstance
public static final io.vertx.lang.rx.TypeArg<GraphQLWSHandler> __TYPE_ARG
public GraphQLWSHandler(GraphQLWSHandler delegate)
public GraphQLWSHandler(Object delegate)
public GraphQLWSHandler getDelegate()
getDelegate
in interface ProtocolUpgradeHandler
public void handle(RoutingContext event)
handle
in interface Handler<RoutingContext>
handle
in interface ProtocolUpgradeHandler
event
- the event to handle@Deprecated public GraphQLWSHandler connectionInitHandler(Handler<ConnectionInitEvent> connectionInitHandler)
connectionInitHandler
- @Deprecated public GraphQLWSHandler beforeExecute(Handler<ExecutionInputBuilderWithContext<Message>> config)
config
- the callback to invoke@Deprecated public GraphQLWSHandler messageHandler(Handler<Message> messageHandler)
Message
received.messageHandler
- @Deprecated public GraphQLWSHandler endHandler(Handler<ServerWebSocket> endHandler)
endHandler
- public static GraphQLWSHandlerBuilder builder(graphql.GraphQL graphQL)
GraphQLWSHandlerBuilder
that will use the provided graphQL
to build a GraphQLWSHandler
.graphQL
- 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 GraphQLWSOptions
public static GraphQLWSHandler newInstance(GraphQLWSHandler arg)
Copyright © 2024 Eclipse. All rights reserved.