com.rabbitmq.client
public static class AMQP.BasicProperties extends AMQBasicProperties
| Modifier and Type | Class and Description |
|---|---|
static class |
AMQP.BasicProperties.Builder |
| Constructor and Description |
|---|
AMQP.BasicProperties() |
AMQP.BasicProperties(java.io.DataInputStream in) |
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) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
AMQP.BasicProperties.Builder |
builder() |
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.
|
void |
setAppId(java.lang.String appId)
Deprecated.
|
void |
setClusterId(java.lang.String clusterId)
Deprecated.
|
void |
setContentEncoding(java.lang.String contentEncoding)
Deprecated.
|
void |
setContentType(java.lang.String contentType)
Deprecated.
|
void |
setCorrelationId(java.lang.String correlationId)
Deprecated.
|
void |
setDeliveryMode(java.lang.Integer deliveryMode)
Deprecated.
|
void |
setExpiration(java.lang.String expiration)
Deprecated.
|
void |
setHeaders(java.util.Map<java.lang.String,java.lang.Object> headers)
Deprecated.
|
void |
setMessageId(java.lang.String messageId)
Deprecated.
|
void |
setPriority(java.lang.Integer priority)
Deprecated.
|
void |
setReplyTo(java.lang.String replyTo)
Deprecated.
|
void |
setTimestamp(java.util.Date timestamp)
Deprecated.
|
void |
setType(java.lang.String type)
Deprecated.
|
void |
setUserId(java.lang.String userId)
Deprecated.
|
void |
writePropertiesTo(ContentHeaderPropertyWriter writer)
Private API - Autogenerated writer for this header
|
clonegetBodySize, toFrame, toStringpublic 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)
public AMQP.BasicProperties(java.io.DataInputStream in)
throws java.io.IOException
java.io.IOExceptionpublic AMQP.BasicProperties()
public int getClassId()
ContentHeaderpublic java.lang.String getClassName()
ContentHeaderpublic AMQP.BasicProperties.Builder builder()
public java.lang.String getContentType()
BasicProperties@Deprecated public void setContentType(java.lang.String contentType)
BasicPropertiescontentType - the value to set the field topublic java.lang.String getContentEncoding()
BasicProperties@Deprecated public void setContentEncoding(java.lang.String contentEncoding)
BasicPropertiescontentEncoding - - the value to set the field topublic java.util.Map<java.lang.String,java.lang.Object> getHeaders()
BasicProperties@Deprecated public void setHeaders(java.util.Map<java.lang.String,java.lang.Object> headers)
BasicPropertiesheaders - a map of table field names and valuespublic java.lang.Integer getDeliveryMode()
BasicProperties@Deprecated public void setDeliveryMode(java.lang.Integer deliveryMode)
BasicPropertiesdeliveryMode - the value to set the field topublic java.lang.Integer getPriority()
BasicProperties@Deprecated public void setPriority(java.lang.Integer priority)
BasicPropertiespriority - the value to set the field topublic java.lang.String getCorrelationId()
BasicProperties@Deprecated public void setCorrelationId(java.lang.String correlationId)
BasicPropertiescorrelationId - the value to set the field topublic java.lang.String getReplyTo()
BasicProperties@Deprecated public void setReplyTo(java.lang.String replyTo)
BasicPropertiesreplyTo - the value to set the field topublic java.lang.String getExpiration()
BasicProperties@Deprecated public void setExpiration(java.lang.String expiration)
BasicPropertiesexpiration - the value to set the field topublic java.lang.String getMessageId()
BasicProperties@Deprecated public void setMessageId(java.lang.String messageId)
BasicPropertiesmessageId - the value to set the field topublic java.util.Date getTimestamp()
BasicProperties@Deprecated public void setTimestamp(java.util.Date timestamp)
BasicPropertiestimestamp - the value to set the field topublic java.lang.String getType()
BasicProperties@Deprecated public void setType(java.lang.String type)
BasicPropertiestype - the value to set the field topublic java.lang.String getUserId()
BasicProperties@Deprecated public void setUserId(java.lang.String userId)
BasicPropertiesuserId - the value to set the field topublic java.lang.String getAppId()
BasicProperties@Deprecated public void setAppId(java.lang.String appId)
BasicPropertiesappId - the value to set the field topublic java.lang.String getClusterId()
@Deprecated public void setClusterId(java.lang.String clusterId)
public void writePropertiesTo(ContentHeaderPropertyWriter writer) throws java.io.IOException
AMQContentHeaderwritePropertiesTo in class AMQContentHeaderjava.io.IOExceptionpublic void appendPropertyDebugStringTo(java.lang.StringBuilder acc)
AMQContentHeaderappendPropertyDebugStringTo in interface ContentHeaderappendPropertyDebugStringTo in class AMQContentHeaderacc - a place to append the properties as a string