Class Header
java.lang.Object
org.apache.qpid.protonj2.types.messaging.Header
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.qpid.protonj2.types.messaging.Section
Section.SectionType -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final booleanstatic final booleanstatic final bytestatic final longstatic final UnsignedLongstatic final Symbol -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()longintbytelonggetType()getValue()booleanbooleanbooleanbooleanbooleanbooleanbooleanisEmpty()booleanreset()setDeliveryCount(int value) setDeliveryCount(long value) setDurable(boolean value) setFirstAcquirer(boolean value) setPriority(byte value) setTimeToLive(int value) setTimeToLive(long value) toString()
-
Field Details
-
DESCRIPTOR_CODE
-
DESCRIPTOR_SYMBOL
-
DEFAULT_DURABILITY
public static final boolean DEFAULT_DURABILITY- See Also:
-
DEFAULT_PRIORITY
public static final byte DEFAULT_PRIORITY- See Also:
-
DEFAULT_TIME_TO_LIVE
public static final long DEFAULT_TIME_TO_LIVE -
DEFAULT_FIRST_ACQUIRER
public static final boolean DEFAULT_FIRST_ACQUIRER- See Also:
-
DEFAULT_DELIVERY_COUNT
public static final long DEFAULT_DELIVERY_COUNT- See Also:
-
-
Constructor Details
-
Header
public Header() -
Header
-
-
Method Details
-
copy
-
getValue
-
isEmpty
public boolean isEmpty() -
getElementCount
public int getElementCount() -
hasDurable
public boolean hasDurable() -
hasPriority
public boolean hasPriority() -
hasTimeToLive
public boolean hasTimeToLive() -
hasFirstAcquirer
public boolean hasFirstAcquirer() -
hasDeliveryCount
public boolean hasDeliveryCount() -
isDurable
public boolean isDurable() -
setDurable
-
clearDurable
-
getPriority
public byte getPriority() -
setPriority
-
clearPriority
-
getTimeToLive
public long getTimeToLive() -
setTimeToLive
-
setTimeToLive
-
clearTimeToLive
-
isFirstAcquirer
public boolean isFirstAcquirer() -
setFirstAcquirer
-
clearFirstAcquirer
-
getDeliveryCount
public long getDeliveryCount() -
setDeliveryCount
-
setDeliveryCount
-
clearDeliveryCount
-
reset
-
toString
-
getType
- Specified by:
getTypein interfaceSection<Header>- Returns:
- the
Section.SectionTypethat describes this instance.
-