Top Description Methods
io.vertx.core.eventbus

public Interface DeliveryContext<T>

Known Direct Implementers
io.vertx.core.eventbus.impl.DeliveryContextBase
Annotations
@VertxGen
Imports
io.vertx.codegen.annotations.VertxGen

Encapsulates a message being delivered by Vert.x as well as providing control over the message delivery.

Used with event bus interceptors.

Author
Tim Fox

Method Summary

Modifier and TypeMethod and Description
public Object

Returns:

the value delivered by the message (before or after being processed by the codec)
body
()

public Message<T>

Returns:

The message being delivered
message
()

public void
next()

Call the next interceptor

public boolean

Returns:

true if the message is being sent (point to point) or False if the message is being published
send
()

Method Detail

bodyback to summary
public Object body()
Returns:Object

the value delivered by the message (before or after being processed by the codec)

messageback to summary
public Message<T> message()
Returns:Message<T>

The message being delivered

nextback to summary
public void next()

Call the next interceptor

sendback to summary
public boolean send()
Returns:boolean

true if the message is being sent (point to point) or False if the message is being published