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
Modifier and TypeFieldDescriptionstatic final long
static final boolean
static final boolean
static final byte
static final long
static final UnsignedLong
static final Symbol
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
long
int
byte
long
getType()
getValue()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isEmpty()
boolean
reset()
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:
getType
in interfaceSection<Header>
- Returns:
- the
Section.SectionType
that describes this instance.
-