@StampyLibrary(libraryName="stampy-core") public class StompMessage extends AbstractMessage<StompHeader>
| Constructor and Description |
|---|
StompMessage()
Instantiates a new stomp message.
|
StompMessage(java.lang.String host)
Instantiates a new stomp message.
|
| Modifier and Type | Method and Description |
|---|---|
protected StompHeader |
createNewHeader()
Creates the new header.
|
void |
validate()
Validates the message should
AbstractMessage#toStompMessage(true)
be called. |
equals, getHeader, getMessageType, hashCode, postHeader, toStompMessage, toStringpublic StompMessage(java.lang.String host)
host - the hostpublic StompMessage()
protected StompHeader createNewHeader()
AbstractMessagecreateNewHeader in class AbstractMessage<StompHeader>public void validate()
AbstractMessageAbstractMessage#toStompMessage(true)
be called.validate in interface StampyMessage<StompHeader>validate in class AbstractMessage<StompHeader>