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 io.vertx.core.Handler<RoutingContext>, ProtocolUpgradeHandler, Consumer<RoutingContext>, MutinyDelegate
A handler for the GraphQL over WebSocket Protocol.
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- See Also:
-
GraphQLWSHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vertx.mutiny.ext.web.handler.ProtocolUpgradeHandler
ProtocolUpgradeHandler.ProtocolUpgradeHandlerImpl -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGraphQLWSHandler(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler delegate) Create a new instance ofGraphQLWSHandlerdelegating to the given (non-null) instance ofGraphQLWSHandler.GraphQLWSHandler(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(RoutingContext item) Handle an item.static GraphQLWSHandlerBuilderbuilder(graphql.GraphQL graphQL) Create a newGraphQLWSHandlerBuilderthat will use the providedgraphQLto build aGraphQLWSHandler.static GraphQLWSHandlercreate(graphql.GraphQL graphQL) Create a newGraphQLWSHandlerthat will use the providedgraphQLobject to execute requests.static GraphQLWSHandlercreate(graphql.GraphQL graphQL, io.vertx.ext.web.handler.graphql.ws.GraphQLWSOptions options) Create a newGraphQLWSHandlerthat will use the providedgraphQLobject to execute requests.booleanio.vertx.ext.web.handler.graphql.ws.GraphQLWSHandlerGet the delegate instance.voidhandle(RoutingContext item) Handle an item.inthashCode()static GraphQLWSHandlernewInstance(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler delegate) Creates a new instance of theGraphQLWSHandler.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
GraphQLWSHandler
public GraphQLWSHandler(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler delegate) Create a new instance ofGraphQLWSHandlerdelegating to the given (non-null) instance ofGraphQLWSHandler. -
GraphQLWSHandler
-
-
Method Details
-
accept
Handle an item. This method is generated from theoriginalmethod."- Specified by:
acceptin interfaceConsumer<RoutingContext>- Specified by:
acceptin interfaceProtocolUpgradeHandler
-
handle
Handle an item. This method is generated from theoriginalmethod."- Specified by:
handlein interfaceio.vertx.core.Handler<RoutingContext>- Specified by:
handlein interfaceProtocolUpgradeHandler
-
getDelegate
public io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler getDelegate()Get the delegate instance.This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.
- Specified by:
getDelegatein interfaceMutinyDelegate- Specified by:
getDelegatein interfaceProtocolUpgradeHandler- Returns:
- the delegate instance
-
create
Create a newGraphQLWSHandlerthat will use the providedgraphQLobject to execute requests.The handler will be configured with the default
GraphQLWSOptions. -
create
public static GraphQLWSHandler create(graphql.GraphQL graphQL, io.vertx.ext.web.handler.graphql.ws.GraphQLWSOptions options) Create a newGraphQLWSHandlerthat will use the providedgraphQLobject to execute requests.The handler will be configured with the given
options.- Parameters:
options- options for configuring theGraphQLWSOptions
-
builder
Create a newGraphQLWSHandlerBuilderthat will use the providedgraphQLto build aGraphQLWSHandler. -
newInstance
public static GraphQLWSHandler newInstance(io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler delegate) Creates a new instance of theGraphQLWSHandler. -
hashCode
public int hashCode() -
equals
-
toString
-