Class 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.
    • Constructor Detail

      • AMQContentHeader

        protected AMQContentHeader()
      • AMQContentHeader

        protected AMQContentHeader​(java.io.DataInputStream in)
                            throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getBodySize

        public long getBodySize()
      • writeTo

        private void writeTo​(java.io.DataOutputStream out,
                             long bodySize)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • 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
      • clone

        public java.lang.Object clone()
                               throws java.lang.CloneNotSupportedException
        Overrides:
        clone in class java.lang.Object
        Throws:
        java.lang.CloneNotSupportedException