public abstract class

AMQContentHeader

extends Object
implements ContentHeader
java.lang.Object
   ↳ com.rabbitmq.client.impl.AMQContentHeader
Known Direct Subclasses

Class Overview

Implementation of ContentHeader - specialized by autogenerated code in AMQP.java.

Summary

Protected Constructors
AMQContentHeader()
AMQContentHeader(DataInputStream in)
Public Methods
void appendPropertyDebugStringTo(StringBuilder acc)
Public API - A debugging utility - enable properties to be appended to a string buffer for use as trace messages.
Object clone()
long getBodySize()
Frame toFrame(int channelNumber, long bodySize)
Private API - Called by transmit(AMQChannel)
String toString()
abstract void writePropertiesTo(ContentHeaderPropertyWriter writer)
Private API - Autogenerated writer for this header
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.rabbitmq.client.ContentHeader

Protected Constructors

protected AMQContentHeader ()

protected AMQContentHeader (DataInputStream in)

Throws
IOException

Public Methods

public void appendPropertyDebugStringTo (StringBuilder acc)

Public API - A debugging utility - enable properties to be appended to a string buffer for use as trace messages.

Parameters
acc a place to append the properties as a string

public Object clone ()

public long getBodySize ()

public Frame toFrame (int channelNumber, long bodySize)

Private API - Called by transmit(AMQChannel)

Throws
IOException

public String toString ()

public abstract void writePropertiesTo (ContentHeaderPropertyWriter writer)

Private API - Autogenerated writer for this header

Throws
IOException