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 |
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()
BasicPropertiespublic java.lang.String getContentEncoding()
BasicPropertiespublic java.util.Map<java.lang.String,java.lang.Object> getHeaders()
BasicPropertiespublic java.lang.Integer getDeliveryMode()
BasicPropertiespublic java.lang.Integer getPriority()
BasicPropertiespublic java.lang.String getCorrelationId()
BasicPropertiespublic java.lang.String getReplyTo()
BasicPropertiespublic java.lang.String getExpiration()
BasicPropertiespublic java.lang.String getMessageId()
BasicPropertiespublic java.util.Date getTimestamp()
BasicPropertiespublic java.lang.String getType()
BasicPropertiespublic java.lang.String getUserId()
BasicPropertiespublic java.lang.String getAppId()
BasicPropertiespublic java.lang.String getClusterId()
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