Class GraphQLWSHandlerBuilder
- java.lang.Object
-
- io.vertx.mutiny.ext.web.handler.graphql.ws.GraphQLWSHandlerBuilder
-
public class GraphQLWSHandlerBuilder extends Object
A builder forGraphQLWSHandlerinstances. NOTE: This class has been automatically generated from theoriginalnon 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 GraphQLWSHandlerBuilderbeforeExecute(Consumer<ExecutionInputBuilderWithContext<Message>> beforeExecuteHandler)GraphQLWSHandlerbuild()booleanequals(Object o)io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandlerBuildergetDelegate()inthashCode()static GraphQLWSHandlerBuildernewInstance(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandlerBuilder arg)GraphQLWSHandlerBuilderonConnectionInit(Consumer<ConnectionInitEvent> connectionInitHandler)GraphQLWSHandlerBuilderonMessage(Consumer<Message> messageHandler)GraphQLWSHandlerBuilderonSocketEnd(Consumer<ServerWebSocket> endHandler)StringtoString()GraphQLWSHandlerBuilderwith(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)
-
-