io.vertx.reactivex.core.eventbus

## Class DeliveryContext<T>

- java.lang.Object
- - io.vertx.reactivex.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 the `original` non RX-ified interface using Vert.x codegen.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static io.vertx.lang.rx.TypeArg<DeliveryContext>` | `__TYPE_ARG`
    `io.vertx.lang.rx.TypeArg<T>` | `__typeArg_0`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DeliveryContext(DeliveryContext delegate)`
    `DeliveryContext(DeliveryContext delegate, io.vertx.lang.rx.TypeArg<T> typeArg_0)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `body()`
    `boolean` | `equals(Object o)`
    `DeliveryContext` | `getDelegate()`
    `int` | `hashCode()`
    `Message<T>` | `message()`
    `static <T> DeliveryContext<T>` | `newInstance(DeliveryContext arg)`
    `static <T> DeliveryContext<T>` | `newInstance(DeliveryContext arg, io.vertx.lang.rx.TypeArg<T> __typeArg_T)`
    `void` | `next()` Call the next interceptor
    `boolean` | `send()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### __TYPE_ARG

          public static final io.vertx.lang.rx.TypeArg<DeliveryContext> __TYPE_ARG

    - #### __typeArg_0

          public final io.vertx.lang.rx.TypeArg<T> __typeArg_0

  - ### Constructor Detail

    - #### DeliveryContext

          public DeliveryContext(DeliveryContext delegate)

    - #### DeliveryContext

          public DeliveryContext(DeliveryContext delegate,
                                 io.vertx.lang.rx.TypeArg<T> typeArg_0)

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### getDelegate

          public DeliveryContext getDelegate()

    - #### message

          public Message<T> message()

      Returns:
        The message being delivered

    - #### next

          public void next()

      Call the next interceptor

    - #### 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(DeliveryContext arg)

    - #### newInstance

          public static <T> DeliveryContext<T> newInstance(DeliveryContext arg,
                                                           io.vertx.lang.rx.TypeArg<T> __typeArg_T)

Copyright © 2019 Eclipse. All rights reserved.