Package com.rabbitmq.client
Interface ContentHeader
- All Superinterfaces:
Cloneable
- All Known Implementing Classes:
AMQBasicProperties
,AMQContentHeader
,AMQP.BasicProperties
Public API for abstract AMQP content header objects.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
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
String getClassName()Retrieve the class name, eg "basic" (see the spec for a list of these).- Returns:
- class name of this ContentHeader
-
appendPropertyDebugStringTo
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
-