public static class AMQP.BasicProperties extends AMQBasicProperties
Modifier and Type | Class and Description |
---|---|
static class |
AMQP.BasicProperties.Builder |
Constructor and Description |
---|
BasicProperties() |
BasicProperties(DataInputStream in) |
BasicProperties(String contentType,
String contentEncoding,
Map<String,Object> headers,
Integer deliveryMode,
Integer priority,
String correlationId,
String replyTo,
String expiration,
String messageId,
Date timestamp,
String type,
String userId,
String appId,
String clusterId) |
Modifier and Type | Method and Description |
---|---|
void |
appendPropertyDebugStringTo(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() |
boolean |
equals(Object o) |
String |
getAppId()
Retrieve the value in the appId field.
|
int |
getClassId()
Retrieve the class ID (see the spec for a list of allowable IDs).
|
String |
getClassName()
Retrieve the class name, eg "basic" (see the spec for a list of these).
|
String |
getClusterId() |
String |
getContentEncoding()
Retrieve the value in the contentEncoding field.
|
String |
getContentType()
Retrieve the value in the contentType field.
|
String |
getCorrelationId()
Retrieve the value in the correlationId field.
|
Integer |
getDeliveryMode()
Retrieve the value in the deliveryMode field.
|
String |
getExpiration()
Retrieve the value in the expiration field.
|
Map<String,Object> |
getHeaders()
Retrieve the table in the headers field as a map of fields names and
values.
|
String |
getMessageId()
Retrieve the value in the messageId field.
|
Integer |
getPriority()
Retrieve the value in the priority field.
|
String |
getReplyTo()
Retrieve the value in the replyTo field.
|
Date |
getTimestamp()
Retrieve the value in the timestamp field.
|
String |
getType()
Retrieve the value in the type field.
|
String |
getUserId()
Retrieve the value in the userId field.
|
int |
hashCode() |
void |
writePropertiesTo(ContentHeaderPropertyWriter writer)
Private API - Autogenerated writer for this header
|
clone
getBodySize, toFrame, toString
public BasicProperties(String contentType, String contentEncoding, Map<String,Object> headers, Integer deliveryMode, Integer priority, String correlationId, String replyTo, String expiration, String messageId, Date timestamp, String type, String userId, String appId, String clusterId)
public BasicProperties(DataInputStream in) throws IOException
IOException
public BasicProperties()
public int getClassId()
ContentHeader
public String getClassName()
ContentHeader
public AMQP.BasicProperties.Builder builder()
public String getContentType()
BasicProperties
public String getContentEncoding()
BasicProperties
public Map<String,Object> getHeaders()
BasicProperties
public Integer getDeliveryMode()
BasicProperties
public Integer getPriority()
BasicProperties
public String getCorrelationId()
BasicProperties
public String getReplyTo()
BasicProperties
public String getExpiration()
BasicProperties
public String getMessageId()
BasicProperties
public Date getTimestamp()
BasicProperties
public String getType()
BasicProperties
public String getUserId()
BasicProperties
public String getAppId()
BasicProperties
public String getClusterId()
public void writePropertiesTo(ContentHeaderPropertyWriter writer) throws IOException
AMQContentHeader
writePropertiesTo
in class AMQContentHeader
IOException
public void appendPropertyDebugStringTo(StringBuilder acc)
AMQContentHeader
appendPropertyDebugStringTo
in interface ContentHeader
appendPropertyDebugStringTo
in class AMQContentHeader
acc
- a place to append the properties as a stringCopyright © 2022 VMware, Inc. or its affiliates.. All rights reserved.