Package io.vertx.mutiny.core.eventbus
Class DeliveryContext<T>
- java.lang.Object
-
- io.vertx.mutiny.core.eventbus.DeliveryContext<T>
-
public class DeliveryContext<T> extends Object
Encapsulates a message being delivered by Vert.x as well as providing control over the message delivery. Used with event bus interceptors. NOTE: This class has been automatically generated from theoriginalnon Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<DeliveryContext>__TYPE_ARGTypeArg<T>__typeArg_0
-
Constructor Summary
Constructors Constructor Description DeliveryContext(io.vertx.core.eventbus.DeliveryContext delegate)DeliveryContext(io.vertx.core.eventbus.DeliveryContext delegate, TypeArg<T> typeArg_0)DeliveryContext(Object delegate, TypeArg<T> typeArg_0)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectbody()booleanequals(Object o)io.vertx.core.eventbus.DeliveryContextgetDelegate()inthashCode()Message<T>message()static <T> DeliveryContext<T>newInstance(io.vertx.core.eventbus.DeliveryContext arg)static <T> DeliveryContext<T>newInstance(io.vertx.core.eventbus.DeliveryContext arg, TypeArg<T> __typeArg_T)voidnext()booleansend()StringtoString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<DeliveryContext> __TYPE_ARG
-
-
Method Detail
-
getDelegate
public io.vertx.core.eventbus.DeliveryContext getDelegate()
-
next
public void next()
-
send
public boolean send()
- Returns:
- true if the message is being sent (point to point) or False if the message is being published
-
body
public Object body()
- Returns:
- the value delivered by the message (before or after being processed by the codec)
-
newInstance
public static <T> DeliveryContext<T> newInstance(io.vertx.core.eventbus.DeliveryContext arg)
-
newInstance
public static <T> DeliveryContext<T> newInstance(io.vertx.core.eventbus.DeliveryContext arg, TypeArg<T> __typeArg_T)
-
-