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
ModifierConstructorDescriptionprotected
protected
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Public API - A debugging utility - enable properties to be appended to a string buffer for use as trace messages.clone()
long
toFrame
(int channelNumber, long bodySize) Private API - Called byAMQCommand.transmit(com.rabbitmq.client.impl.AMQChannel)
toString()
abstract void
Private API - Autogenerated writer for this headerMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
appendPropertyDebugStringTo
in 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:
clone
in classObject
- Throws:
CloneNotSupportedException
-