public class GraphQLWSHandlerBuilder extends Object
GraphQLWSHandler
instances.
NOTE: This class has been automatically generated from the original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<GraphQLWSHandlerBuilder> |
__TYPE_ARG |
Constructor and Description |
---|
GraphQLWSHandlerBuilder(GraphQLWSHandlerBuilder delegate) |
GraphQLWSHandlerBuilder(Object delegate) |
Modifier and Type | Method and Description |
---|---|
GraphQLWSHandlerBuilder |
beforeExecute(Handler<ExecutionInputBuilderWithContext<Message>> beforeExecuteHandler)
Set a callback to invoke before executing a GraphQL query.
|
GraphQLWSHandler |
build() |
boolean |
equals(Object o) |
GraphQLWSHandlerBuilder |
getDelegate() |
int |
hashCode() |
static GraphQLWSHandlerBuilder |
newInstance(GraphQLWSHandlerBuilder arg) |
GraphQLWSHandlerBuilder |
onConnectionInit(Handler<ConnectionInitEvent> connectionInitHandler)
Customize the connection init .
|
GraphQLWSHandlerBuilder |
onMessage(Handler<Message> messageHandler)
Customize the message .
|
GraphQLWSHandlerBuilder |
onSocketEnd(Handler<ServerWebSocket> endHandler)
Customize the end .
|
String |
toString() |
GraphQLWSHandlerBuilder |
with(GraphQLWSOptions options)
Change the
GraphQLWSOptions to use. |
public static final io.vertx.lang.rx.TypeArg<GraphQLWSHandlerBuilder> __TYPE_ARG
public GraphQLWSHandlerBuilder(GraphQLWSHandlerBuilder delegate)
public GraphQLWSHandlerBuilder(Object delegate)
public GraphQLWSHandlerBuilder getDelegate()
public GraphQLWSHandlerBuilder with(GraphQLWSOptions options)
GraphQLWSOptions
to use.options
- public GraphQLWSHandlerBuilder onConnectionInit(Handler<ConnectionInitEvent> connectionInitHandler)
connectionInitHandler
- public GraphQLWSHandlerBuilder beforeExecute(Handler<ExecutionInputBuilderWithContext<Message>> beforeExecuteHandler)
beforeExecuteHandler
- the callback to invokepublic GraphQLWSHandlerBuilder onMessage(Handler<Message> messageHandler)
Message
received.messageHandler
- public GraphQLWSHandlerBuilder onSocketEnd(Handler<ServerWebSocket> endHandler)
endHandler
- public GraphQLWSHandler build()
GraphQLWSHandler
public static GraphQLWSHandlerBuilder newInstance(GraphQLWSHandlerBuilder arg)
Copyright © 2024 Eclipse. All rights reserved.