Class GraphQLWSHandler
java.lang.Object
io.vertx.reactivex.ext.web.handler.graphql.ws.GraphQLWSHandler
- All Implemented Interfaces:
Handler<RoutingContext>, io.vertx.lang.rx.RxDelegate, ProtocolUpgradeHandler
public class GraphQLWSHandler
extends Object
implements io.vertx.lang.rx.RxDelegate, ProtocolUpgradeHandler, Handler<RoutingContext>
A handler for the GraphQL over WebSocket Protocol.
NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGraphQLWSHandler(GraphQLWSHandler delegate) GraphQLWSHandler(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionstatic 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, GraphQLWSOptions options) Create a newGraphQLWSHandlerthat will use the providedgraphQLobject to execute requests.booleanvoidhandle(RoutingContext event) Something has happened, so handle it.inthashCode()static GraphQLWSHandlertoString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
GraphQLWSHandler
-
GraphQLWSHandler
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceProtocolUpgradeHandler- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
handle
Something has happened, so handle it.- Specified by:
handlein interfaceHandler<RoutingContext>- Specified by:
handlein interfaceProtocolUpgradeHandler- Parameters:
event- the event to handle
-
create
Create a newGraphQLWSHandlerthat will use the providedgraphQLobject to execute requests.The handler will be configured with the default
GraphQLWSOptions.- Parameters:
graphQL-- Returns:
-
create
Create a newGraphQLWSHandlerthat will use the providedgraphQLobject to execute requests.The handler will be configured with the given
options.- Parameters:
graphQL-options- options for configuring theGraphQLWSOptions- Returns:
-
builder
Create a newGraphQLWSHandlerBuilderthat will use the providedgraphQLto build aGraphQLWSHandler.- Parameters:
graphQL-- Returns:
-
newInstance
-