Class GraphQLWSHandlerBuilder
java.lang.Object
io.vertx.mutiny.ext.web.handler.graphql.ws.GraphQLWSHandlerBuilder
- All Implemented Interfaces:
MutinyDelegate
A builder for
GraphQLWSHandler
instances.
NOTE: This class has been automatically generated from the original
non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGraphQLWSHandlerBuilder
(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandlerBuilder delegate) GraphQLWSHandlerBuilder
(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionbeforeExecute
(Consumer<ExecutionInputBuilderWithContext<Message>> beforeExecuteHandler) build()
boolean
io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandlerBuilder
int
hashCode()
static GraphQLWSHandlerBuilder
newInstance
(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandlerBuilder arg) onConnectionInit
(Consumer<ConnectionInitEvent> connectionInitHandler) onSocketEnd
(Consumer<ServerWebSocket> endHandler) toString()
with
(io.vertx.ext.web.handler.graphql.ws.GraphQLWSOptions options)
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
GraphQLWSHandlerBuilder
public GraphQLWSHandlerBuilder(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandlerBuilder delegate) -
GraphQLWSHandlerBuilder
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandlerBuilder getDelegate()- Specified by:
getDelegate
in interfaceMutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
with
- 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
- Parameters:
messageHandler
-- Returns:
-
onSocketEnd
- Parameters:
endHandler
-- Returns:
-
build
- Returns:
- a new instance of
GraphQLWSHandler
-
newInstance
public static GraphQLWSHandlerBuilder newInstance(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandlerBuilder arg)
-