org.apache.nutch.rabbitmq

## Class RabbitMQMessage

- java.lang.Object
- - org.apache.nutch.rabbitmq.RabbitMQMessage

-     public class RabbitMQMessage
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RabbitMQMessage()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addHeader(java.lang.String key, java.lang.Object value)`
    `byte[]` | `getBody()`
    `java.lang.String` | `getContentType()`
    `java.util.Map<java.lang.String,java.lang.Object>` | `getHeaders()`
    `void` | `setBody(byte[] body)`
    `void` | `setContentType(java.lang.String contentType)`
    `void` | `setHeaders(java.util.Map<java.lang.String,java.lang.Object> headers)`
    `void` | `setHeaders(java.lang.String headers)`

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RabbitMQMessage

          public RabbitMQMessage()

  - ### Method Detail

    - #### getHeaders

          public java.util.Map<java.lang.String,java.lang.Object> getHeaders()

    - #### setHeaders

          public void setHeaders(java.util.Map<java.lang.String,java.lang.Object> headers)

    - #### setHeaders

          public void setHeaders(java.lang.String headers)

    - #### addHeader

          public void addHeader(java.lang.String key,
                                java.lang.Object value)

    - #### getBody

          public byte[] getBody()

    - #### setBody

          public void setBody(byte[] body)

    - #### getContentType

          public java.lang.String getContentType()

    - #### setContentType

          public void setContentType(java.lang.String contentType)

Copyright © 2019 The Apache Software Foundation