Class GraphQLWSHandler
- java.lang.Object
-
- io.vertx.mutiny.ext.web.handler.graphql.ws.GraphQLWSHandler
-
- All Implemented Interfaces:
io.vertx.core.Handler<RoutingContext>,Consumer<RoutingContext>
public class GraphQLWSHandler extends Object implements io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>
A handler for the GraphQL over WebSocket Protocol. 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<GraphQLWSHandler>__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description GraphQLWSHandler(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler delegate)GraphQLWSHandler(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(RoutingContext item)GraphQLWSHandlerbeforeExecute(Consumer<ExecutionInputBuilderWithContext<Message>> config)GraphQLWSHandlerconnectionInitHandler(Consumer<ConnectionInitEvent> connectionInitHandler)static GraphQLWSHandlercreate(graphql.GraphQL graphQL)static GraphQLWSHandlercreate(graphql.GraphQL graphQL, io.vertx.ext.web.handler.graphql.ws.GraphQLWSOptions options)booleanequals(Object o)io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandlergetDelegate()voidhandle(RoutingContext arg0)inthashCode()static GraphQLWSHandlernewInstance(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler arg)StringtoString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<GraphQLWSHandler> __TYPE_ARG
-
-
Constructor Detail
-
GraphQLWSHandler
public GraphQLWSHandler(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler delegate)
-
GraphQLWSHandler
public GraphQLWSHandler(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler getDelegate()
-
handle
public void handle(RoutingContext arg0)
- Specified by:
handlein interfaceio.vertx.core.Handler<RoutingContext>
-
connectionInitHandler
public GraphQLWSHandler connectionInitHandler(Consumer<ConnectionInitEvent> connectionInitHandler)
- Parameters:
connectionInitHandler-- Returns:
-
beforeExecute
public GraphQLWSHandler beforeExecute(Consumer<ExecutionInputBuilderWithContext<Message>> config)
- Parameters:
config- the callback to invoke- Returns:
-
create
public static GraphQLWSHandler create(graphql.GraphQL graphQL)
- Parameters:
graphQL-- Returns:
-
create
public static GraphQLWSHandler create(graphql.GraphQL graphQL, io.vertx.ext.web.handler.graphql.ws.GraphQLWSOptions options)
- Parameters:
graphQL-options- options for configuring theGraphQLWSOptions- Returns:
-
accept
public void accept(RoutingContext item)
- Specified by:
acceptin interfaceConsumer<RoutingContext>
-
newInstance
public static GraphQLWSHandler newInstance(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler arg)
-
-