Class GraphQLWSHandler
java.lang.Object
io.vertx.mutiny.ext.web.handler.graphql.ws.GraphQLWSHandler
- All Implemented Interfaces:
MutinyDelegate,io.vertx.core.Handler<RoutingContext>,ProtocolUpgradeHandler,Consumer<RoutingContext>
public class GraphQLWSHandler
extends Object
implements MutinyDelegate, ProtocolUpgradeHandler, io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>
A handler for the GraphQL over WebSocket Protocol.
NOTE: This class has been automatically generated from the
original non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGraphQLWSHandler(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler delegate) GraphQLWSHandler(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(RoutingContext item) Deprecated.static GraphQLWSHandlerBuilderbuilder(graphql.GraphQL graphQL) connectionInitHandler(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) endHandler(Consumer<ServerWebSocket> endHandler) Deprecated.as of 4.5.1, usebuilder(GraphQL)insteadbooleanio.vertx.ext.web.handler.graphql.ws.GraphQLWSHandlervoidhandle(RoutingContext arg0) inthashCode()messageHandler(Consumer<Message> messageHandler) Deprecated.as of 4.5.1, usebuilder(GraphQL)insteadstatic GraphQLWSHandlernewInstance(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler arg) toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
GraphQLWSHandler
public GraphQLWSHandler(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler delegate) -
GraphQLWSHandler
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler getDelegate()- Specified by:
getDelegatein interfaceMutinyDelegate- Specified by:
getDelegatein interfaceProtocolUpgradeHandler- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
handle
- 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.as of 4.5.1, usebuilder(GraphQL)instead- Parameters:
messageHandler-- Returns:
-
endHandler
Deprecated.as of 4.5.1, usebuilder(GraphQL)instead- Parameters:
endHandler-- Returns:
-
builder
- Parameters:
graphQL-- Returns:
-
create
- 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
- Specified by:
acceptin interfaceConsumer<RoutingContext>- Specified by:
acceptin interfaceProtocolUpgradeHandler
-
newInstance
public static GraphQLWSHandler newInstance(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler arg)
-
builder(GraphQL)instead