com.rabbitmq.client
Interface StreamProperties

All Known Implementing Classes:
AMQStreamProperties

public interface StreamProperties


Method Summary
 java.lang.String getContentEncoding()
          Retrieve the value in the contentEncoding field.
 java.lang.String getContentType()
          Retrieve the value in the contentType 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.Integer getPriority()
          Retrieve the value in the priority field.
 java.util.Date getTimestamp()
          Retrieve the value in the timestamp field.
 void setContentEncoding(java.lang.String contentEncoding)
          Set the contentEncoding field, or null indicating the field is not set
 void setContentType(java.lang.String contentType)
          Set the contentType field, or null indicating the field is not set
 void setHeaders(java.util.Map<java.lang.String,java.lang.Object> headers)
          Set the headers table, or null indicating the field is not set
 void setPriority(java.lang.Integer priority)
          Set the priority field, or null indicating the field is not set
 void setTimestamp(java.util.Date timestamp)
          Set the timestamp field, or null indicating the field is not set
 

Method Detail

getContentType

java.lang.String getContentType()
Retrieve the value in the contentType field.

Returns:
contentType field, or null if the field has not been set.

getContentEncoding

java.lang.String getContentEncoding()
Retrieve the value in the contentEncoding field.

Returns:
contentEncoding field, or null if the field has not been set.

getHeaders

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.

Returns:
headers table, or null if the headers field has not been set.

getPriority

java.lang.Integer getPriority()
Retrieve the value in the priority field.

Returns:
priority field, or null if the field has not been set.

getTimestamp

java.util.Date getTimestamp()
Retrieve the value in the timestamp field.

Returns:
timestamp field, or null if the field has not been set.

setContentType

void setContentType(java.lang.String contentType)
Set the contentType field, or null indicating the field is not set

Parameters:
contentType - the value to set the field to

setContentEncoding

void setContentEncoding(java.lang.String contentEncoding)
Set the contentEncoding field, or null indicating the field is not set

Parameters:
contentEncoding - the value to set the field to

setHeaders

void setHeaders(java.util.Map<java.lang.String,java.lang.Object> headers)
Set the headers table, or null indicating the field is not set

Parameters:
headers - a map of table field names and values

setPriority

void setPriority(java.lang.Integer priority)
Set the priority field, or null indicating the field is not set

Parameters:
priority - the value to set the field to

setTimestamp

void setTimestamp(java.util.Date timestamp)
Set the timestamp field, or null indicating the field is not set

Parameters:
timestamp - the value to set the field to