Class AMQP.BasicProperties

All Implemented Interfaces:
BasicProperties, ContentHeader, Cloneable
Enclosing interface:
AMQP

public static class AMQP.BasicProperties extends AMQBasicProperties
  • Constructor Details

  • Method Details

    • getClassId

      public int getClassId()
      Description copied from interface: ContentHeader
      Retrieve the class ID (see the spec for a list of allowable IDs).
      Returns:
      class ID of this ContentHeader. Properly an unsigned short, i.e. only the lowest 16 bits are significant
    • getClassName

      public String getClassName()
      Description copied from interface: ContentHeader
      Retrieve the class name, eg "basic" (see the spec for a list of these).
      Returns:
      class name of this ContentHeader
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • builder

      public AMQP.BasicProperties.Builder builder()
    • getContentType

      public String getContentType()
      Description copied from interface: BasicProperties
      Retrieve the value in the contentType field.
      Returns:
      contentType field, or null if the field has not been set.
    • getContentEncoding

      public String getContentEncoding()
      Description copied from interface: BasicProperties
      Retrieve the value in the contentEncoding field.
      Returns:
      contentEncoding field, or null if the field has not been set.
    • getHeaders

      public Map<String,Object> getHeaders()
      Description copied from interface: BasicProperties
      Retrieve the table in the headers field as a map of fields names and values.
      Returns:
      headers table, or null if the headers field has not been set.
    • getDeliveryMode

      public Integer getDeliveryMode()
      Description copied from interface: BasicProperties
      Retrieve the value in the deliveryMode field.
      Returns:
      deliveryMode field, or null if the field has not been set.
    • getPriority

      public Integer getPriority()
      Description copied from interface: BasicProperties
      Retrieve the value in the priority field.
      Returns:
      priority field, or null if the field has not been set.
    • getCorrelationId

      public String getCorrelationId()
      Description copied from interface: BasicProperties
      Retrieve the value in the correlationId field.
      Returns:
      correlationId field, or null if the field has not been set.
    • getReplyTo

      public String getReplyTo()
      Description copied from interface: BasicProperties
      Retrieve the value in the replyTo field.
      Returns:
      replyTo field, or null if the field has not been set.
    • getExpiration

      public String getExpiration()
      Description copied from interface: BasicProperties
      Retrieve the value in the expiration field.
      Returns:
      expiration field, or null if the field has not been set.
    • getMessageId

      public String getMessageId()
      Description copied from interface: BasicProperties
      Retrieve the value in the messageId field.
      Returns:
      messageId field, or null if the field has not been set.
    • getTimestamp

      public Date getTimestamp()
      Description copied from interface: BasicProperties
      Retrieve the value in the timestamp field.
      Returns:
      timestamp field, or null if the field has not been set.
    • getType

      public String getType()
      Description copied from interface: BasicProperties
      Retrieve the value in the type field.
      Returns:
      type field, or null if the field has not been set.
    • getUserId

      public String getUserId()
      Description copied from interface: BasicProperties
      Retrieve the value in the userId field.
      Returns:
      userId field, or null if the field has not been set.
    • getAppId

      public String getAppId()
      Description copied from interface: BasicProperties
      Retrieve the value in the appId field.
      Returns:
      appId field, or null if the field has not been set.
    • getClusterId

      public String getClusterId()
    • writePropertiesTo

      public void writePropertiesTo(ContentHeaderPropertyWriter writer) throws IOException
      Description copied from class: AMQContentHeader
      Private API - Autogenerated writer for this header
      Specified by:
      writePropertiesTo in class AMQContentHeader
      Throws:
      IOException
    • appendPropertyDebugStringTo

      public void appendPropertyDebugStringTo(StringBuilder acc)
      Description copied from class: AMQContentHeader
      Public API - A debugging utility - enable properties to be appended to a string buffer for use as trace messages.
      Specified by:
      appendPropertyDebugStringTo in interface ContentHeader
      Overrides:
      appendPropertyDebugStringTo in class AMQContentHeader
      Parameters:
      acc - a place to append the properties as a string