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 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 Deprecated Methods Modifier and Type Method Description voidaccept(RoutingContext item)GraphQLWSHandlerbeforeExecute(Consumer<ExecutionInputBuilderWithContext<Message>> config)Deprecated.as of 4.5.1, usebuilder(GraphQL)insteadstatic GraphQLWSHandlerBuilderbuilder(graphql.GraphQL graphQL)GraphQLWSHandlerconnectionInitHandler(Consumer<ConnectionInitEvent> connectionInitHandler)Deprecated.as of 4.5.1, usebuilder(GraphQL)insteadstatic GraphQLWSHandlercreate(graphql.GraphQL graphQL)static GraphQLWSHandlercreate(graphql.GraphQL graphQL, io.vertx.ext.web.handler.graphql.ws.GraphQLWSOptions options)GraphQLWSHandlerendHandler(Consumer<ServerWebSocket> endHandler)Deprecated.as of 4.5.1, usebuilder(GraphQL)insteadbooleanequals(Object o)io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandlergetDelegate()voidhandle(RoutingContext arg0)inthashCode()GraphQLWSHandlermessageHandler(Consumer<Message> messageHandler)Deprecated.as of 4.5.1, usebuilder(GraphQL)insteadstatic 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()
- Specified by:
getDelegatein interfaceProtocolUpgradeHandler
-
handle
public void handle(RoutingContext arg0)
- Specified by:
handlein interfaceio.vertx.core.Handler<RoutingContext>- Specified by:
handlein 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:
acceptin interfaceConsumer<RoutingContext>- Specified by:
acceptin interfaceProtocolUpgradeHandler
-
newInstance
public static GraphQLWSHandler newInstance(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler arg)
-
-