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
|
clone
getBodySize, toFrame, toString
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)
public AMQP.BasicProperties(java.io.DataInputStream in) throws java.io.IOException
java.io.IOException
public AMQP.BasicProperties()
public int getClassId()
ContentHeader
public java.lang.String getClassName()
ContentHeader
public AMQP.BasicProperties.Builder builder()
public java.lang.String getContentType()
BasicProperties
public java.lang.String getContentEncoding()
BasicProperties
public java.util.Map<java.lang.String,java.lang.Object> getHeaders()
BasicProperties
public java.lang.Integer getDeliveryMode()
BasicProperties
public java.lang.Integer getPriority()
BasicProperties
public java.lang.String getCorrelationId()
BasicProperties
public java.lang.String getReplyTo()
BasicProperties
public java.lang.String getExpiration()
BasicProperties
public java.lang.String getMessageId()
BasicProperties
public java.util.Date getTimestamp()
BasicProperties
public java.lang.String getType()
BasicProperties
public java.lang.String getUserId()
BasicProperties
public java.lang.String getAppId()
BasicProperties
public java.lang.String getClusterId()
public void writePropertiesTo(ContentHeaderPropertyWriter writer) throws java.io.IOException
AMQContentHeader
writePropertiesTo
in class AMQContentHeader
java.io.IOException
public void appendPropertyDebugStringTo(java.lang.StringBuilder acc)
AMQContentHeader
appendPropertyDebugStringTo
in interface ContentHeader
appendPropertyDebugStringTo
in class AMQContentHeader
acc
- a place to append the properties as a string