Package com.rabbitmq.client.impl
Class AMQContentHeader
- java.lang.Object
-
- com.rabbitmq.client.impl.AMQContentHeader
-
- All Implemented Interfaces:
ContentHeader
,Cloneable
- Direct Known Subclasses:
AMQBasicProperties
public abstract class AMQContentHeader extends Object implements ContentHeader
Implementation of ContentHeader - specialized by autogenerated code in AMQP.java.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AMQContentHeader()
protected
AMQContentHeader(DataInputStream in)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description 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 byAMQCommand.transmit(com.rabbitmq.client.impl.AMQChannel)
String
toString()
abstract void
writePropertiesTo(ContentHeaderPropertyWriter writer)
Private API - Autogenerated writer for this header-
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
-
-
-
-
Constructor Detail
-
AMQContentHeader
protected AMQContentHeader()
-
AMQContentHeader
protected AMQContentHeader(DataInputStream in) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getBodySize
public long getBodySize()
-
writePropertiesTo
public abstract void writePropertiesTo(ContentHeaderPropertyWriter writer) throws IOException
Private API - Autogenerated writer for this header- Throws:
IOException
-
appendPropertyDebugStringTo
public void appendPropertyDebugStringTo(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 interfaceContentHeader
- Parameters:
acc
- a place to append the properties as a string
-
toFrame
public Frame toFrame(int channelNumber, long bodySize) throws IOException
Private API - Called byAMQCommand.transmit(com.rabbitmq.client.impl.AMQChannel)
- Throws:
IOException
-
clone
public Object clone() throws CloneNotSupportedException
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
-