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 TypeMethodDescriptionvoid
accept
(RoutingContext item) Deprecated.static GraphQLWSHandlerBuilder
builder
(graphql.GraphQL graphQL) 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) endHandler
(Consumer<ServerWebSocket> endHandler) Deprecated.as of 4.5.1, usebuilder(GraphQL)
insteadboolean
io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler
void
handle
(RoutingContext arg0) int
hashCode()
messageHandler
(Consumer<Message> messageHandler) Deprecated.as of 4.5.1, usebuilder(GraphQL)
insteadstatic GraphQLWSHandler
newInstance
(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:
getDelegate
in interfaceMutinyDelegate
- Specified by:
getDelegate
in interfaceProtocolUpgradeHandler
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
handle
- 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.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:
accept
in interfaceConsumer<RoutingContext>
- Specified by:
accept
in interfaceProtocolUpgradeHandler
-
newInstance
public static GraphQLWSHandler newInstance(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler arg)
-
builder(GraphQL)
instead