| Modifier and Type | Field and Description |
|---|---|
static TypeArg<ApolloWSConnectionInitEvent> |
__TYPE_ARG |
__typeArg_0| Constructor and Description |
|---|
ApolloWSConnectionInitEvent(io.vertx.ext.web.handler.graphql.ApolloWSConnectionInitEvent delegate) |
ApolloWSConnectionInitEvent(Object delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
complete(Object result)
Set the result.
|
boolean |
equals(Object o) |
io.vertx.core.Future<Object> |
future() |
io.vertx.ext.web.handler.graphql.ApolloWSConnectionInitEvent |
getDelegate() |
int |
hashCode() |
ApolloWSMessage |
message()
Provides message content.
|
static ApolloWSConnectionInitEvent |
newInstance(io.vertx.ext.web.handler.graphql.ApolloWSConnectionInitEvent arg) |
String |
toString() |
boolean |
tryComplete(Object result)
Like
Promise.complete(T) but returns false when the promise is already completed instead of throwing
an IllegalStateException, it returns true otherwise. |
complete, fail, fail, newInstance, newInstance, promise, tryComplete, tryFail, tryFailpublic static final TypeArg<ApolloWSConnectionInitEvent> __TYPE_ARG
public ApolloWSConnectionInitEvent(io.vertx.ext.web.handler.graphql.ApolloWSConnectionInitEvent delegate)
public ApolloWSConnectionInitEvent(Object delegate)
public io.vertx.ext.web.handler.graphql.ApolloWSConnectionInitEvent getDelegate()
getDelegate in class Promise<Object>public void complete(Object result)
public boolean tryComplete(Object result)
Promise.complete(T) but returns false when the promise is already completed instead of throwing
an IllegalStateException, it returns true otherwise.tryComplete in class Promise<Object>result - the resultfalse when the future is already completedpublic io.vertx.core.Future<Object> future()
public ApolloWSMessage message()
public static ApolloWSConnectionInitEvent newInstance(io.vertx.ext.web.handler.graphql.ApolloWSConnectionInitEvent arg)
Copyright © 2022 Eclipse. All rights reserved.