@StampyLibrary(libraryName="stampy-core") public class SubscribeHeader extends AbstractClientMessageHeader
| Modifier and Type | Class and Description |
|---|---|
static class |
SubscribeHeader.Ack
The Enum Ack.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ACK
The Constant ACK.
|
static java.lang.String |
DESTINATION
The Constant DESTINATION.
|
static java.lang.String |
ID
The Constant ID.
|
CONTENT_LENGTHRECEIPT| Constructor and Description |
|---|
SubscribeHeader() |
| Modifier and Type | Method and Description |
|---|---|
SubscribeHeader.Ack |
getAck()
Gets the ack.
|
java.lang.String |
getDestination()
Gets the destination.
|
java.lang.String |
getId()
Gets the id.
|
void |
setAck(SubscribeHeader.Ack ack)
Sets the ack.
|
void |
setDestination(java.lang.String destination)
Sets the destination.
|
void |
setId(java.lang.String id)
Sets the id.
|
getReceipt, setReceiptaddHeader, equals, getContentLength, getHeaders, getHeaderValue, hashCode, hasHeader, removeHeader, setContentLength, toMessageHeader, toStringpublic static final java.lang.String ID
public static final java.lang.String ACK
public static final java.lang.String DESTINATION
public void setDestination(java.lang.String destination)
destination - the new destinationpublic java.lang.String getDestination()
public void setAck(SubscribeHeader.Ack ack)
ack - the new ackpublic SubscribeHeader.Ack getAck()
public void setId(java.lang.String id)
id - the new idpublic java.lang.String getId()