reply

reply(msg: String);

The reply method of the JadeRestService class is called when a response has been generated. Although you can reimplement the method to allow the application to post‑process the response, you must call the JadeRestService implementation to complete the processing.

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

If the payload of the response is modified, the Content-Length header field of the response will be updated.