public interface Message
Message
s can be used to pass additional information along with the response.
Some clients such as Fiori UIs provide controls to show these messages in a user friendly way.Modifier and Type | Interface and Description |
---|---|
static class |
Message.Severity
Severity levels.
|
Modifier and Type | Method and Description |
---|---|
Message |
code(String code)
Adds the passed
code to the current message. |
String |
getCode()
The optional code of the message
|
String |
getLongTextUrl()
The optional long text url
|
String |
getMessage()
The localized message
|
Message.Severity |
getSeverity()
The severity of the message.
|
Message |
longTextUrl(String longTextUrl)
Adds the passed
longTextUrl to the current message. |
String getCode()
String getMessage()
String getLongTextUrl()
Message.Severity getSeverity()
Message longTextUrl(String longTextUrl)
longTextUrl
to the current message.longTextUrl
- The long text url to be setCopyright © 2020. All rights reserved.