The name of this wire format
Parse an inbound message from a string.
Parse an inbound message from a string. This is used when a message is received over a connection.
The serialized message to parse
the resulting org.scalatra.atmosphere.InboundMessage
Parse an outbound message from a string.
Parse an outbound message from a string. This is used when the buffer is being drained.
The serialized message to parse
the resulting org.scalatra.atmosphere.OutboundMessage
Render an outbound message to string.
Render an outbound message to string. This is used when a message is sent to the remote party.
The message to serialize
The string representation of the message
A flag to indicate whether this wireformat supports acking or not
A flag to indicate whether this wireformat supports acking or not
True if this wire format supports acking, otherwise false
A protocol format that is just plain and simple json. This protocol doesn't support acking. It looks at the first character in the message and if it thinks it's JSON it will try to parse it as JSON otherwise it creates a text message