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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate long
Private API - Called byAMQChannel.handleFrame(com.rabbitmq.client.impl.Frame)
. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
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 headerprivate void
writeTo
(DataOutputStream out, long bodySize) Methods 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
-
Field Details
-
bodySize
private long bodySizePrivate API - Called byAMQChannel.handleFrame(com.rabbitmq.client.impl.Frame)
. Parses the header frame.
-
-
Constructor Details
-
AMQContentHeader
protected AMQContentHeader() -
AMQContentHeader
- Throws:
IOException
-
-
Method Details
-
getBodySize
public long getBodySize() -
writeTo
- Throws:
IOException
-
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
-