com.rabbitmq.client
Interface ContentHeader

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

public interface ContentHeader
extends java.lang.Cloneable

Public API for abstract AMQP content header objects.


Method Summary
 void appendPropertyDebugStringTo(java.lang.StringBuilder buffer)
          A debugging utility - enable properties to be appended to a string buffer for use as trace messages.
 int getClassId()
          Retrieve the class ID (see the spec for a list of allowable IDs).
 java.lang.String getClassName()
          Retrieve the class name, eg "basic" (see the spec for a list of these).
 

Method Detail

getClassId

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

java.lang.String getClassName()
Retrieve the class name, eg "basic" (see the spec for a list of these).

Returns:
class name of this ContentHeader

appendPropertyDebugStringTo

void appendPropertyDebugStringTo(java.lang.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