com.rabbitmq.client
Class AMQP.BasicProperties

java.lang.Object
  extended by com.rabbitmq.client.impl.AMQContentHeader
      extended by com.rabbitmq.client.AMQP.BasicProperties
All Implemented Interfaces:
ContentHeader
Enclosing interface:
AMQP

public static class AMQP.BasicProperties
extends AMQContentHeader


Field Summary
 java.lang.String appId
           
 java.lang.String clusterId
           
 java.lang.String contentEncoding
           
 java.lang.String contentType
           
 java.lang.String correlationId
           
 java.lang.Integer deliveryMode
           
 java.lang.String expiration
           
 java.util.Map<java.lang.String,java.lang.Object> headers
           
 java.lang.String messageId
           
 java.lang.Integer priority
           
 java.lang.String replyTo
           
 java.util.Date timestamp
           
 java.lang.String type
           
 java.lang.String userId
           
 
Constructor Summary
AMQP.BasicProperties()
           
AMQP.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
 void appendPropertyDebugStringTo(java.lang.StringBuffer acc)
          Public API - Debugging hook
 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).
 void readPropertiesFrom(ContentHeaderPropertyReader reader)
          Private API - Autogenerated reader for this header
 void writePropertiesTo(ContentHeaderPropertyWriter writer)
          Private API - Autogenerated writer for this header
 
Methods inherited from class com.rabbitmq.client.impl.AMQContentHeader
readFrom, toFrame, toString, writeTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

contentType

public java.lang.String contentType

contentEncoding

public java.lang.String contentEncoding

headers

public java.util.Map<java.lang.String,java.lang.Object> headers

deliveryMode

public java.lang.Integer deliveryMode

priority

public java.lang.Integer priority

correlationId

public java.lang.String correlationId

replyTo

public java.lang.String replyTo

expiration

public java.lang.String expiration

messageId

public java.lang.String messageId

timestamp

public java.util.Date timestamp

type

public java.lang.String type

userId

public java.lang.String userId

appId

public java.lang.String appId

clusterId

public java.lang.String clusterId
Constructor Detail

AMQP.BasicProperties

public AMQP.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)

AMQP.BasicProperties

public AMQP.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

readPropertiesFrom

public void readPropertiesFrom(ContentHeaderPropertyReader reader)
                        throws java.io.IOException
Description copied from class: AMQContentHeader
Private API - Autogenerated reader for this header

Specified by:
readPropertiesFrom in class AMQContentHeader
Throws:
java.io.IOException

writePropertiesTo

public void writePropertiesTo(ContentHeaderPropertyWriter writer)
                       throws java.io.IOException
Description copied from class: AMQContentHeader
Private API - Autogenerated writer for this header

Specified by:
writePropertiesTo in class AMQContentHeader
Throws:
java.io.IOException

appendPropertyDebugStringTo

public void appendPropertyDebugStringTo(java.lang.StringBuffer acc)
Description copied from class: AMQContentHeader
Public API - Debugging hook

Specified by:
appendPropertyDebugStringTo in interface ContentHeader
Overrides:
appendPropertyDebugStringTo in class AMQContentHeader
Parameters:
acc - a place to append the properties as a string