Class Properties
java.lang.Object
org.apache.qpid.protonj2.types.messaging.Properties
- All Implemented Interfaces:
Section<Properties>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.qpid.protonj2.types.messaging.Section
Section.SectionType
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
copy()
long
long
int
long
getTo()
getType()
getValue()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasTo()
boolean
boolean
isEmpty()
setAbsoluteExpiryTime
(int absoluteExpiryTime) setAbsoluteExpiryTime
(long absoluteExpiryTime) setContentEncoding
(String contentEncoding) setContentType
(String contentType) setCorrelationId
(Object correlationId) setCreationTime
(int creationTime) setCreationTime
(long creationTime) setGroupId
(String groupId) setGroupSequence
(int groupSequence) setGroupSequence
(long groupSequence) setMessageId
(Object messageId) setReplyTo
(String replyTo) setReplyToGroupId
(String replyToGroupId) setSubject
(String subject) setUserId
(byte[] userId) toString()
-
Field Details
-
DESCRIPTOR_CODE
-
DESCRIPTOR_SYMBOL
-
-
Constructor Details
-
Properties
public Properties() -
Properties
-
-
Method Details
-
copy
-
getValue
- Specified by:
getValue
in interfaceSection<Properties>
- Returns:
- the Object value contained within the given message
Section
.
-
isEmpty
public boolean isEmpty() -
getElementCount
public int getElementCount() -
hasMessageId
public boolean hasMessageId() -
hasUserId
public boolean hasUserId() -
hasTo
public boolean hasTo() -
hasSubject
public boolean hasSubject() -
hasReplyTo
public boolean hasReplyTo() -
hasCorrelationId
public boolean hasCorrelationId() -
hasContentType
public boolean hasContentType() -
hasContentEncoding
public boolean hasContentEncoding() -
hasAbsoluteExpiryTime
public boolean hasAbsoluteExpiryTime() -
hasCreationTime
public boolean hasCreationTime() -
hasGroupId
public boolean hasGroupId() -
hasGroupSequence
public boolean hasGroupSequence() -
hasReplyToGroupId
public boolean hasReplyToGroupId() -
getMessageId
-
setMessageId
-
getUserId
-
setUserId
-
setUserId
-
getTo
-
setTo
-
getSubject
-
setSubject
-
getReplyTo
-
setReplyTo
-
getCorrelationId
-
setCorrelationId
-
getContentType
-
setContentType
-
getContentEncoding
-
setContentEncoding
-
getAbsoluteExpiryTime
public long getAbsoluteExpiryTime() -
setAbsoluteExpiryTime
-
setAbsoluteExpiryTime
-
clearAbsoluteExpiryTime
public void clearAbsoluteExpiryTime() -
getCreationTime
public long getCreationTime() -
setCreationTime
-
setCreationTime
-
clearCreationTime
public void clearCreationTime() -
getGroupId
-
setGroupId
-
getGroupSequence
public long getGroupSequence() -
setGroupSequence
-
setGroupSequence
-
clearGroupSequence
public void clearGroupSequence() -
getReplyToGroupId
-
setReplyToGroupId
-
toString
-
getType
- Specified by:
getType
in interfaceSection<Properties>
- Returns:
- the
Section.SectionType
that describes this instance.
-