public interface

ContentHeader

implements Cloneable
com.rabbitmq.client.ContentHeader
Known Indirect Subclasses

Class Overview

Public API for abstract AMQP content header objects.

Summary

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

Public Methods

public abstract 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

public abstract 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

public abstract String getClassName ()

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

Returns
  • class name of this ContentHeader