Class ApolloWSConnectionInitEvent
- java.lang.Object
-
- io.vertx.reactivex.core.Promise<Object>
-
- io.vertx.reactivex.ext.web.handler.graphql.ApolloWSConnectionInitEvent
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<ApolloWSConnectionInitEvent>__TYPE_ARG-
Fields inherited from class io.vertx.reactivex.core.Promise
__typeArg_0
-
-
Constructor Summary
Constructors Constructor Description ApolloWSConnectionInitEvent(ApolloWSConnectionInitEvent delegate)ApolloWSConnectionInitEvent(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcomplete(Object result)Set the result.booleanequals(Object o)Future<Object>future()ApolloWSConnectionInitEventgetDelegate()inthashCode()ApolloWSMessagemessage()Provides message content.static ApolloWSConnectionInitEventnewInstance(ApolloWSConnectionInitEvent arg)StringtoString()booleantryComplete(Object result)LikePromise.complete(T)but returnsfalsewhen the promise is already completed instead of throwing anIllegalStateException, it returnstrueotherwise.-
Methods inherited from class io.vertx.reactivex.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(ApolloWSConnectionInitEvent delegate)
-
ApolloWSConnectionInitEvent
public ApolloWSConnectionInitEvent(Object delegate)
-
-
Method Detail
-
getDelegate
public ApolloWSConnectionInitEvent getDelegate()
- Overrides:
getDelegatein classPromise<Object>
-
complete
public void complete(Object result)
Set the result. Any handler will be called, if there is one, and the promise will be marked as completed. Any handler set on the associated promise will be called.
-
tryComplete
public boolean tryComplete(Object result)
LikePromise.complete(T)but returnsfalsewhen the promise is already completed instead of throwing anIllegalStateException, it returnstrueotherwise.- Overrides:
tryCompletein classPromise<Object>- Parameters:
result- the result- Returns:
falsewhen the future is already completed
-
message
public ApolloWSMessage message()
Provides message content.- Returns:
- message
-
newInstance
public static ApolloWSConnectionInitEvent newInstance(ApolloWSConnectionInitEvent arg)
-
-