|
|||||||||
| 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
| Nested Class Summary | |
|---|---|
static class |
AMQP.BasicProperties.Builder
|
| Constructor Summary | |
|---|---|
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)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class com.rabbitmq.client.impl.AMQBasicProperties |
|---|
clone |
| Methods inherited from class com.rabbitmq.client.impl.AMQContentHeader |
|---|
getBodySize, toFrame, toString |
| 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(java.io.DataInputStream in)
throws java.io.IOException
java.io.IOExceptionpublic AMQP.BasicProperties()
| Method Detail |
|---|
public int getClassId()
ContentHeader
public java.lang.String getClassName()
ContentHeader
public AMQP.BasicProperties.Builder builder()
public java.lang.String getContentType()
BasicProperties
@Deprecated public void setContentType(java.lang.String contentType)
BasicProperties
contentType - the value to set the field topublic java.lang.String getContentEncoding()
BasicProperties
@Deprecated 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
@Deprecated 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
@Deprecated public void setDeliveryMode(java.lang.Integer deliveryMode)
BasicProperties
deliveryMode - the value to set the field topublic java.lang.Integer getPriority()
BasicProperties
@Deprecated public void setPriority(java.lang.Integer priority)
BasicProperties
priority - the value to set the field topublic java.lang.String getCorrelationId()
BasicProperties
@Deprecated public void setCorrelationId(java.lang.String correlationId)
BasicProperties
correlationId - the value to set the field topublic java.lang.String getReplyTo()
BasicProperties
@Deprecated public void setReplyTo(java.lang.String replyTo)
BasicProperties
replyTo - the value to set the field topublic java.lang.String getExpiration()
BasicProperties
@Deprecated public void setExpiration(java.lang.String expiration)
BasicProperties
expiration - the value to set the field topublic java.lang.String getMessageId()
BasicProperties
@Deprecated public void setMessageId(java.lang.String messageId)
BasicProperties
messageId - the value to set the field topublic java.util.Date getTimestamp()
BasicProperties
@Deprecated public void setTimestamp(java.util.Date timestamp)
BasicProperties
timestamp - the value to set the field topublic java.lang.String getType()
BasicProperties
@Deprecated public void setType(java.lang.String type)
BasicProperties
type - the value to set the field topublic java.lang.String getUserId()
BasicProperties
@Deprecated public void setUserId(java.lang.String userId)
BasicProperties
userId - the value to set the field topublic java.lang.String getAppId()
BasicProperties
@Deprecated public void setAppId(java.lang.String appId)
BasicProperties
appId - 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
AMQContentHeader
writePropertiesTo in class AMQContentHeaderjava.io.IOExceptionpublic void appendPropertyDebugStringTo(java.lang.StringBuilder acc)
AMQContentHeader
appendPropertyDebugStringTo in interface ContentHeaderappendPropertyDebugStringTo in class AMQContentHeaderacc - 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 | ||||||||