public abstract class AbstractSockJsMessageCodec extends Object implements SockJsMessageCodec
encode(String[])
.Constructor and Description |
---|
AbstractSockJsMessageCodec() |
Modifier and Type | Method and Description |
---|---|
protected abstract char[] |
applyJsonQuoting(String content)
Apply standard JSON string quoting (see http://www.json.org/).
|
String |
encode(String... messages)
Encode the given messages as a SockJS message frame.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decode, decodeInputStream
public String encode(String... messages)
SockJsMessageCodec
encode
in interface SockJsMessageCodec
messages
- the messages to encodenull
)protected abstract char[] applyJsonQuoting(String content)