Interface ContentHeader

All Superinterfaces:
Cloneable
All Known Implementing Classes:
AMQBasicProperties, AMQContentHeader, AMQP.BasicProperties

public interface ContentHeader extends Cloneable
Public API for abstract AMQP content header objects.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    void
    A debugging utility - enable properties to be appended to a string buffer for use as trace messages.
    int
    Retrieve the class ID (see the spec for a list of allowable IDs).
    Retrieve the class name, eg "basic" (see the spec for a list of these).
  • Method Details Link icon

    • getClassId Link icon

      int getClassId()
      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 Link icon

      String getClassName()
      Retrieve the class name, eg "basic" (see the spec for a list of these).
      Returns:
      class name of this ContentHeader
    • appendPropertyDebugStringTo Link icon

      void appendPropertyDebugStringTo(StringBuilder buffer)
      A debugging utility - enable properties to be appended to a string buffer for use as trace messages.
      Parameters:
      buffer - a place to append the properties as a string