|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rabbitmq.client.impl.AMQContentHeader
com.rabbitmq.client.impl.AMQBasicProperties
com.rabbitmq.client.AMQP.BasicProperties
public static class AMQP.BasicProperties
Constructor Summary | |
---|---|
AMQP.BasicProperties()
|
|
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)
|
Method Summary | |
---|---|
void |
appendPropertyDebugStringTo(java.lang.StringBuffer acc)
Public API - A debugging utility - enable properties to be appended to a string buffer for use as trace messages. |
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 |
readPropertiesFrom(ContentHeaderPropertyReader reader)
Private API - Autogenerated reader for this header |
void |
setAppId(java.lang.String appId)
Set the appId field, or null indicating the field is not set |
void |
setClusterId(java.lang.String clusterId)
|
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 |
setCorrelationId(java.lang.String correlationId)
Set the correlationId field, or null indicating the field is not set |
void |
setDeliveryMode(java.lang.Integer deliveryMode)
Set the deliveryMode field, or null indicating the field is not set |
void |
setExpiration(java.lang.String expiration)
Set the expiration 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 |
setMessageId(java.lang.String messageId)
Set the messageId field, 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 |
setReplyTo(java.lang.String replyTo)
Set the replyTo 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 |
void |
setType(java.lang.String type)
Set the type field, or null indicating the field is not set |
void |
setUserId(java.lang.String userId)
Set the userId field, or null indicating the field is not set |
void |
writePropertiesTo(ContentHeaderPropertyWriter writer)
Private API - Autogenerated writer for this header |
Methods inherited from class com.rabbitmq.client.impl.AMQBasicProperties |
---|
clone |
Methods inherited from class com.rabbitmq.client.impl.AMQContentHeader |
---|
readFrom, toFrame, toString, writeTo |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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()
Method Detail |
---|
public int getClassId()
ContentHeader
public java.lang.String getClassName()
ContentHeader
public java.lang.String getContentType()
BasicProperties
public void setContentType(java.lang.String contentType)
BasicProperties
contentType
- the value to set the field topublic java.lang.String getContentEncoding()
BasicProperties
public void setContentEncoding(java.lang.String contentEncoding)
BasicProperties
contentEncoding
- - the value to set the field topublic java.util.Map<java.lang.String,java.lang.Object> getHeaders()
BasicProperties
public void setHeaders(java.util.Map<java.lang.String,java.lang.Object> headers)
BasicProperties
headers
- a map of table field names and valuespublic java.lang.Integer getDeliveryMode()
BasicProperties
public void setDeliveryMode(java.lang.Integer deliveryMode)
BasicProperties
deliveryMode
- the value to set the field topublic java.lang.Integer getPriority()
BasicProperties
public void setPriority(java.lang.Integer priority)
BasicProperties
priority
- the value to set the field topublic java.lang.String getCorrelationId()
BasicProperties
public void setCorrelationId(java.lang.String correlationId)
BasicProperties
correlationId
- the value to set the field topublic java.lang.String getReplyTo()
BasicProperties
public void setReplyTo(java.lang.String replyTo)
BasicProperties
replyTo
- the value to set the field topublic java.lang.String getExpiration()
BasicProperties
public void setExpiration(java.lang.String expiration)
BasicProperties
expiration
- the value to set the field topublic java.lang.String getMessageId()
BasicProperties
public void setMessageId(java.lang.String messageId)
BasicProperties
messageId
- the value to set the field topublic java.util.Date getTimestamp()
BasicProperties
public void setTimestamp(java.util.Date timestamp)
BasicProperties
timestamp
- the value to set the field topublic java.lang.String getType()
BasicProperties
public void setType(java.lang.String type)
BasicProperties
type
- the value to set the field topublic java.lang.String getUserId()
BasicProperties
public void setUserId(java.lang.String userId)
BasicProperties
userId
- the value to set the field topublic java.lang.String getAppId()
BasicProperties
public void setAppId(java.lang.String appId)
BasicProperties
appId
- the value to set the field topublic java.lang.String getClusterId()
public void setClusterId(java.lang.String clusterId)
public void readPropertiesFrom(ContentHeaderPropertyReader reader) throws java.io.IOException
AMQContentHeader
readPropertiesFrom
in class AMQContentHeader
java.io.IOException
public void writePropertiesTo(ContentHeaderPropertyWriter writer) throws java.io.IOException
AMQContentHeader
writePropertiesTo
in class AMQContentHeader
java.io.IOException
public void appendPropertyDebugStringTo(java.lang.StringBuffer acc)
AMQContentHeader
appendPropertyDebugStringTo
in interface ContentHeader
appendPropertyDebugStringTo
in class AMQContentHeader
acc
- a place to append the properties as a string
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |