reply

reply(msg: String);

The reply method of the JadeRestService class is called to send the returned value from the called method. Although you can reimplement the method to allow the application to pre‑process the input, you must call the JadeRestService implementation to complete the processing.

The msg parameter is the returned result that is sent to the client.

REST service messages can contain only public and read‑only properties that are going to be serialized. Protected properties are excluded from the serialization process.