Class ApolloWSConnectionInitEvent
- java.lang.Object
-
- io.vertx.mutiny.core.Promise<Object>
-
- io.vertx.mutiny.ext.web.handler.graphql.ApolloWSConnectionInitEvent
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<ApolloWSConnectionInitEvent>
__TYPE_ARG
-
Fields inherited from class io.vertx.mutiny.core.Promise
__typeArg_0
-
-
Constructor Summary
Constructors Constructor Description ApolloWSConnectionInitEvent(io.vertx.ext.web.handler.graphql.ApolloWSConnectionInitEvent delegate)
ApolloWSConnectionInitEvent(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
complete(Object result)
Deprecated.boolean
equals(Object o)
io.smallrye.mutiny.Uni<Object>
future()
Deprecated.Object
futureAndAwait()
Deprecated.void
futureAndForget()
Deprecated.io.vertx.ext.web.handler.graphql.ApolloWSConnectionInitEvent
getDelegate()
int
hashCode()
ApolloWSMessage
message()
Deprecated.static ApolloWSConnectionInitEvent
newInstance(io.vertx.ext.web.handler.graphql.ApolloWSConnectionInitEvent arg)
String
toString()
boolean
tryComplete(Object arg0)
Deprecated.-
Methods inherited from class io.vertx.mutiny.core.Promise
complete, fail, fail, newInstance, newInstance, promise, tryComplete, tryFail, tryFail
-
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<ApolloWSConnectionInitEvent> __TYPE_ARG
-
-
Constructor Detail
-
ApolloWSConnectionInitEvent
public ApolloWSConnectionInitEvent(io.vertx.ext.web.handler.graphql.ApolloWSConnectionInitEvent delegate)
-
ApolloWSConnectionInitEvent
public ApolloWSConnectionInitEvent(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.web.handler.graphql.ApolloWSConnectionInitEvent getDelegate()
- Overrides:
getDelegate
in classPromise<Object>
-
complete
@Deprecated public void complete(Object result)
Deprecated.
-
tryComplete
@Deprecated public boolean tryComplete(Object arg0)
Deprecated.- Overrides:
tryComplete
in classPromise<Object>
- Parameters:
arg0
- the result- Returns:
false
when the future is already completed
-
future
@CheckReturnValue @Deprecated public io.smallrye.mutiny.Uni<Object> future()
Deprecated.Description copied from class:Promise
Unlike the bare Vert.x variant, this method returns a
Uni
. Don't forget to subscribe on it to trigger the operation.
-
futureAndAwait
@Deprecated public Object futureAndAwait()
Deprecated.Description copied from class:Promise
Blocking variant ofPromise.future()
.This method waits for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in a RuntimeException).
- Overrides:
futureAndAwait
in classPromise<Object>
- Returns:
- the T instance produced by the operation.
-
futureAndForget
@Deprecated public void futureAndForget()
Deprecated.Description copied from class:Promise
Variant ofPromise.future()
that ignores the result of the operation.This method subscribes on the result of
Promise.future()
, but discards the outcome (item or failure). This method is useful to trigger the asynchronous operation fromPromise.future()
but you don't need to compose it with other operations.- Overrides:
futureAndForget
in classPromise<Object>
-
message
@Deprecated public ApolloWSMessage message()
Deprecated.- Returns:
- message
-
newInstance
public static ApolloWSConnectionInitEvent newInstance(io.vertx.ext.web.handler.graphql.ApolloWSConnectionInitEvent arg)
-
-