Class GraphQLWSHandler
- java.lang.Object
-
- io.vertx.mutiny.ext.web.handler.graphql.ws.GraphQLWSHandler
-
- All Implemented Interfaces:
io.vertx.core.Handler<RoutingContext>
,ProtocolUpgradeHandler
,Consumer<RoutingContext>
public class GraphQLWSHandler extends Object implements ProtocolUpgradeHandler, io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>
A handler for the GraphQL over WebSocket Protocol. 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<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 void
accept(RoutingContext item)
GraphQLWSHandler
beforeExecute(Consumer<ExecutionInputBuilderWithContext<Message>> config)
GraphQLWSHandler
connectionInitHandler(Consumer<ConnectionInitEvent> connectionInitHandler)
static GraphQLWSHandler
create(graphql.GraphQL graphQL)
static GraphQLWSHandler
create(graphql.GraphQL graphQL, io.vertx.ext.web.handler.graphql.ws.GraphQLWSOptions options)
boolean
equals(Object o)
io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler
getDelegate()
void
handle(RoutingContext arg0)
int
hashCode()
static GraphQLWSHandler
newInstance(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler arg)
String
toString()
-
-
-
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()
- Specified by:
getDelegate
in interfaceProtocolUpgradeHandler
-
handle
public void handle(RoutingContext arg0)
- Specified by:
handle
in interfaceio.vertx.core.Handler<RoutingContext>
- Specified by:
handle
in interfaceProtocolUpgradeHandler
-
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:
accept
in interfaceConsumer<RoutingContext>
- Specified by:
accept
in interfaceProtocolUpgradeHandler
-
newInstance
public static GraphQLWSHandler newInstance(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler arg)
-
-