public interface HasEncoded
As of Errai 2.0, there is no corresponding interface on the message receiver end of the API, so the message's custom encoding must be consistent with the Errai bus format. Therefore, the only real use case for this functionality is as a performance optimization for messages that already have a pre-computed JSON representation lying around.
Modifier and Type | Method and Description |
---|---|
String |
getEncoded()
Gets the encoded JSON string to be used for this message when it is being sent via the Errai bus.
|
String getEncoded()
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.