com.rabbitmq.client
Class AMQP.FileProperties

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

public static class AMQP.FileProperties
extends AMQContentHeader


Field Summary
 java.lang.String clusterId
           
 java.lang.String contentEncoding
           
 java.lang.String contentType
           
 java.lang.String filename
           
 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
           
 
Constructor Summary
AMQP.FileProperties()
           
AMQP.FileProperties(java.lang.String contentType, java.lang.String contentEncoding, java.util.Map<java.lang.String,java.lang.Object> headers, java.lang.Integer priority, java.lang.String replyTo, java.lang.String messageId, java.lang.String filename, java.util.Date timestamp, 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

priority

public java.lang.Integer priority

replyTo

public java.lang.String replyTo

messageId

public java.lang.String messageId

filename

public java.lang.String filename

timestamp

public java.util.Date timestamp

clusterId

public java.lang.String clusterId
Constructor Detail

AMQP.FileProperties

public AMQP.FileProperties(java.lang.String contentType,
                           java.lang.String contentEncoding,
                           java.util.Map<java.lang.String,java.lang.Object> headers,
                           java.lang.Integer priority,
                           java.lang.String replyTo,
                           java.lang.String messageId,
                           java.lang.String filename,
                           java.util.Date timestamp,
                           java.lang.String clusterId)

AMQP.FileProperties

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