@Beta public abstract class AbstractMessage extends Object implements Message
Message
interface.
This class can be used to implement the necessary method required by the interface. Additional methods may provide information contained in the payload in a more type-safe way.
Constructor and Description |
---|
AbstractMessage(String content) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getContent()
The content that was sent as the message.
|
int |
hashCode() |
String |
toString() |
public AbstractMessage(String content)
public String getContent()
getContent
in interface Message
protected boolean canEqual(Object other)
Copyright © 2020 SAP SE. All rights reserved.