Package com.rabbitmq.client.impl
Class AMQContentHeader
java.lang.Object
com.rabbitmq.client.impl.AMQContentHeader
- All Implemented Interfaces:
ContentHeader,Cloneable
- Direct Known Subclasses:
AMQBasicProperties
Implementation of ContentHeader - specialized by autogenerated code in AMQP.java.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotected -
Method Summary
Modifier and TypeMethodDescriptionvoidPublic API - A debugging utility - enable properties to be appended to a string buffer for use as trace messages.clone()longtoFrame(int channelNumber, long bodySize) Private API - Called byAMQCommand.transmit(com.rabbitmq.client.impl.AMQChannel)toString()abstract voidPrivate API - Autogenerated writer for this headerMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.rabbitmq.client.ContentHeader
getClassId, getClassName
-
Constructor Details
-
AMQContentHeader
protected AMQContentHeader() -
AMQContentHeader
- Throws:
IOException
-
-
Method Details
-
getBodySize
public long getBodySize() -
writePropertiesTo
Private API - Autogenerated writer for this header- Throws:
IOException
-
appendPropertyDebugStringTo
Public API - A debugging utility - enable properties to be appended to a string buffer for use as trace messages.- Specified by:
appendPropertyDebugStringToin interfaceContentHeader- Parameters:
acc- a place to append the properties as a string
-
toString
-
toFrame
Private API - Called byAMQCommand.transmit(com.rabbitmq.client.impl.AMQChannel)- Throws:
IOException
-
clone
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-