Package com.rabbitmq.client
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
appendPropertyDebugStringTo(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).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
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(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
-
-