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 Deprecated Methods Modifier and Type Method Description void
accept(RoutingContext item)
GraphQLWSHandler
beforeExecute(Consumer<ExecutionInputBuilderWithContext<Message>> config)
Deprecated.as of 4.5.1, usebuilder(GraphQL)
insteadstatic GraphQLWSHandlerBuilder
builder(graphql.GraphQL graphQL)
GraphQLWSHandler
connectionInitHandler(Consumer<ConnectionInitEvent> connectionInitHandler)
Deprecated.as of 4.5.1, usebuilder(GraphQL)
insteadstatic GraphQLWSHandler
create(graphql.GraphQL graphQL)
static GraphQLWSHandler
create(graphql.GraphQL graphQL, io.vertx.ext.web.handler.graphql.ws.GraphQLWSOptions options)
GraphQLWSHandler
endHandler(Consumer<ServerWebSocket> endHandler)
Deprecated.as of 4.5.1, usebuilder(GraphQL)
insteadboolean
equals(Object o)
io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler
getDelegate()
void
handle(RoutingContext arg0)
int
hashCode()
GraphQLWSHandler
messageHandler(Consumer<Message> messageHandler)
Deprecated.as of 4.5.1, usebuilder(GraphQL)
insteadstatic 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
@Deprecated public GraphQLWSHandler connectionInitHandler(Consumer<ConnectionInitEvent> connectionInitHandler)
Deprecated.as of 4.5.1, usebuilder(GraphQL)
instead- Parameters:
connectionInitHandler
-- Returns:
-
beforeExecute
@Deprecated public GraphQLWSHandler beforeExecute(Consumer<ExecutionInputBuilderWithContext<Message>> config)
Deprecated.as of 4.5.1, usebuilder(GraphQL)
instead- Parameters:
config
- the callback to invoke- Returns:
-
messageHandler
@Deprecated public GraphQLWSHandler messageHandler(Consumer<Message> messageHandler)
Deprecated.as of 4.5.1, usebuilder(GraphQL)
instead- Parameters:
messageHandler
-- Returns:
-
endHandler
@Deprecated public GraphQLWSHandler endHandler(Consumer<ServerWebSocket> endHandler)
Deprecated.as of 4.5.1, usebuilder(GraphQL)
instead- Parameters:
endHandler
-- Returns:
-
builder
public static GraphQLWSHandlerBuilder builder(graphql.GraphQL graphQL)
- Parameters:
graphQL
-- 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)
-
-