Class GraphQLWSHandlerBuilder
- java.lang.Object
-
- io.vertx.mutiny.ext.web.handler.graphql.ws.GraphQLWSHandlerBuilder
-
public class GraphQLWSHandlerBuilder extends Object
A builder forGraphQLWSHandler
instances. NOTE: This class has been automatically generated from theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<GraphQLWSHandlerBuilder>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description GraphQLWSHandlerBuilder(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandlerBuilder delegate)
GraphQLWSHandlerBuilder(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphQLWSHandlerBuilder
beforeExecute(Consumer<ExecutionInputBuilderWithContext<Message>> beforeExecuteHandler)
GraphQLWSHandler
build()
boolean
equals(Object o)
io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandlerBuilder
getDelegate()
int
hashCode()
static GraphQLWSHandlerBuilder
newInstance(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandlerBuilder arg)
GraphQLWSHandlerBuilder
onConnectionInit(Consumer<ConnectionInitEvent> connectionInitHandler)
GraphQLWSHandlerBuilder
onMessage(Consumer<Message> messageHandler)
GraphQLWSHandlerBuilder
onSocketEnd(Consumer<ServerWebSocket> endHandler)
String
toString()
GraphQLWSHandlerBuilder
with(io.vertx.ext.web.handler.graphql.ws.GraphQLWSOptions options)
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<GraphQLWSHandlerBuilder> __TYPE_ARG
-
-
Constructor Detail
-
GraphQLWSHandlerBuilder
public GraphQLWSHandlerBuilder(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandlerBuilder delegate)
-
GraphQLWSHandlerBuilder
public GraphQLWSHandlerBuilder(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandlerBuilder getDelegate()
-
with
public GraphQLWSHandlerBuilder with(io.vertx.ext.web.handler.graphql.ws.GraphQLWSOptions options)
- Parameters:
options
-- Returns:
- a reference to this, so the API can be used fluently
-
onConnectionInit
public GraphQLWSHandlerBuilder onConnectionInit(Consumer<ConnectionInitEvent> connectionInitHandler)
- Parameters:
connectionInitHandler
-- Returns:
-
beforeExecute
public GraphQLWSHandlerBuilder beforeExecute(Consumer<ExecutionInputBuilderWithContext<Message>> beforeExecuteHandler)
- Parameters:
beforeExecuteHandler
- the callback to invoke- Returns:
-
onMessage
public GraphQLWSHandlerBuilder onMessage(Consumer<Message> messageHandler)
- Parameters:
messageHandler
-- Returns:
-
onSocketEnd
public GraphQLWSHandlerBuilder onSocketEnd(Consumer<ServerWebSocket> endHandler)
- Parameters:
endHandler
-- Returns:
-
build
public GraphQLWSHandler build()
- Returns:
- a new instance of
GraphQLWSHandler
-
newInstance
public static GraphQLWSHandlerBuilder newInstance(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandlerBuilder arg)
-
-