Class AMQP.BasicProperties

    • Constructor Summary

      Constructors 
      Constructor Description
      BasicProperties()  
      BasicProperties​(java.io.DataInputStream in)  
      BasicProperties​(java.lang.String contentType, java.lang.String contentEncoding, java.util.Map<java.lang.String,​java.lang.Object> headers, java.lang.Integer deliveryMode, java.lang.Integer priority, java.lang.String correlationId, java.lang.String replyTo, java.lang.String expiration, java.lang.String messageId, java.util.Date timestamp, java.lang.String type, java.lang.String userId, java.lang.String appId, java.lang.String clusterId)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void appendPropertyDebugStringTo​(java.lang.StringBuilder acc)
      Public API - Public API - A debugging utility - enable properties to be appended to a string buffer for use as trace messages.
      AMQP.BasicProperties.Builder builder()  
      boolean equals​(java.lang.Object o)  
      java.lang.String getAppId()
      Retrieve the value in the appId field.
      int getClassId()
      Retrieve the class ID (see the spec for a list of allowable IDs).
      java.lang.String getClassName()
      Retrieve the class name, eg "basic" (see the spec for a list of these).
      java.lang.String getClusterId()  
      java.lang.String getContentEncoding()
      Retrieve the value in the contentEncoding field.
      java.lang.String getContentType()
      Retrieve the value in the contentType field.
      java.lang.String getCorrelationId()
      Retrieve the value in the correlationId field.
      java.lang.Integer getDeliveryMode()
      Retrieve the value in the deliveryMode field.
      java.lang.String getExpiration()
      Retrieve the value in the expiration field.
      java.util.Map<java.lang.String,​java.lang.Object> getHeaders()
      Retrieve the table in the headers field as a map of fields names and values.
      java.lang.String getMessageId()
      Retrieve the value in the messageId field.
      java.lang.Integer getPriority()
      Retrieve the value in the priority field.
      java.lang.String getReplyTo()
      Retrieve the value in the replyTo field.
      java.util.Date getTimestamp()
      Retrieve the value in the timestamp field.
      java.lang.String getType()
      Retrieve the value in the type field.
      java.lang.String getUserId()
      Retrieve the value in the userId field.
      int hashCode()  
      void writePropertiesTo​(ContentHeaderPropertyWriter writer)
      Private API - Autogenerated writer for this header
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • contentType

        private java.lang.String contentType
      • contentEncoding

        private java.lang.String contentEncoding
      • headers

        private java.util.Map<java.lang.String,​java.lang.Object> headers
      • deliveryMode

        private java.lang.Integer deliveryMode
      • priority

        private java.lang.Integer priority
      • correlationId

        private java.lang.String correlationId
      • replyTo

        private java.lang.String replyTo
      • expiration

        private java.lang.String expiration
      • messageId

        private java.lang.String messageId
      • timestamp

        private java.util.Date timestamp
      • type

        private java.lang.String type
      • userId

        private java.lang.String userId
      • appId

        private java.lang.String appId
      • clusterId

        private java.lang.String clusterId
    • Constructor Detail

      • BasicProperties

        public BasicProperties​(java.lang.String contentType,
                               java.lang.String contentEncoding,
                               java.util.Map<java.lang.String,​java.lang.Object> headers,
                               java.lang.Integer deliveryMode,
                               java.lang.Integer priority,
                               java.lang.String correlationId,
                               java.lang.String replyTo,
                               java.lang.String expiration,
                               java.lang.String messageId,
                               java.util.Date timestamp,
                               java.lang.String type,
                               java.lang.String userId,
                               java.lang.String appId,
                               java.lang.String clusterId)
      • BasicProperties

        public BasicProperties​(java.io.DataInputStream in)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • BasicProperties

        public BasicProperties()
    • Method Detail

      • getClassId

        public int getClassId()
        Description copied from interface: ContentHeader
        Retrieve the class ID (see the spec for a list of allowable IDs).
        Returns:
        class ID of this ContentHeader. Properly an unsigned short, i.e. only the lowest 16 bits are significant
      • getClassName

        public java.lang.String getClassName()
        Description copied from interface: ContentHeader
        Retrieve the class name, eg "basic" (see the spec for a list of these).
        Returns:
        class name of this ContentHeader
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getContentType

        public java.lang.String getContentType()
        Description copied from interface: BasicProperties
        Retrieve the value in the contentType field.
        Returns:
        contentType field, or null if the field has not been set.
      • getContentEncoding

        public java.lang.String getContentEncoding()
        Description copied from interface: BasicProperties
        Retrieve the value in the contentEncoding field.
        Returns:
        contentEncoding field, or null if the field has not been set.
      • getHeaders

        public java.util.Map<java.lang.String,​java.lang.Object> getHeaders()
        Description copied from interface: BasicProperties
        Retrieve the table in the headers field as a map of fields names and values.
        Returns:
        headers table, or null if the headers field has not been set.
      • getDeliveryMode

        public java.lang.Integer getDeliveryMode()
        Description copied from interface: BasicProperties
        Retrieve the value in the deliveryMode field.
        Returns:
        deliveryMode field, or null if the field has not been set.
      • getPriority

        public java.lang.Integer getPriority()
        Description copied from interface: BasicProperties
        Retrieve the value in the priority field.
        Returns:
        priority field, or null if the field has not been set.
      • getCorrelationId

        public java.lang.String getCorrelationId()
        Description copied from interface: BasicProperties
        Retrieve the value in the correlationId field.
        Returns:
        correlationId field, or null if the field has not been set.
      • getReplyTo

        public java.lang.String getReplyTo()
        Description copied from interface: BasicProperties
        Retrieve the value in the replyTo field.
        Returns:
        replyTo field, or null if the field has not been set.
      • getExpiration

        public java.lang.String getExpiration()
        Description copied from interface: BasicProperties
        Retrieve the value in the expiration field.
        Returns:
        expiration field, or null if the field has not been set.
      • getMessageId

        public java.lang.String getMessageId()
        Description copied from interface: BasicProperties
        Retrieve the value in the messageId field.
        Returns:
        messageId field, or null if the field has not been set.
      • getTimestamp

        public java.util.Date getTimestamp()
        Description copied from interface: BasicProperties
        Retrieve the value in the timestamp field.
        Returns:
        timestamp field, or null if the field has not been set.
      • getType

        public java.lang.String getType()
        Description copied from interface: BasicProperties
        Retrieve the value in the type field.
        Returns:
        type field, or null if the field has not been set.
      • getUserId

        public java.lang.String getUserId()
        Description copied from interface: BasicProperties
        Retrieve the value in the userId field.
        Returns:
        userId field, or null if the field has not been set.
      • getAppId

        public java.lang.String getAppId()
        Description copied from interface: BasicProperties
        Retrieve the value in the appId field.
        Returns:
        appId field, or null if the field has not been set.
      • getClusterId

        public java.lang.String getClusterId()