com.rabbitmq.client.impl
Class AMQContentHeader
java.lang.Object
com.rabbitmq.client.impl.AMQContentHeader
- All Implemented Interfaces:
- ContentHeader, java.lang.Cloneable
- Direct Known Subclasses:
- AMQBasicProperties
public abstract class AMQContentHeader
- extends java.lang.Object
- implements ContentHeader
Implementation of ContentHeader - specialized by autogenerated code in AMQP.java.
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AMQContentHeader
protected AMQContentHeader()
AMQContentHeader
protected AMQContentHeader(java.io.DataInputStream in)
throws java.io.IOException
- Throws:
java.io.IOException
getBodySize
public long getBodySize()
writePropertiesTo
public abstract void writePropertiesTo(ContentHeaderPropertyWriter writer)
throws java.io.IOException
- Private API - Autogenerated writer for this header
- Throws:
java.io.IOException
appendPropertyDebugStringTo
public void appendPropertyDebugStringTo(java.lang.StringBuilder acc)
- Public API - A debugging utility - enable properties to be appended to a string buffer for use as trace messages.
- Specified by:
appendPropertyDebugStringTo
in interface ContentHeader
- Parameters:
acc
- a place to append the properties as a string
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toFrame
public Frame toFrame(int channelNumber,
long bodySize)
throws java.io.IOException
- Private API - Called by
AMQCommand.transmit(com.rabbitmq.client.impl.AMQChannel)
- Throws:
java.io.IOException
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone
in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException