public abstract class AbstractSockJsMessageCodec extends java.lang.Object implements SockJsMessageCodec
encode(String[])
.Constructor and Description |
---|
AbstractSockJsMessageCodec() |
Modifier and Type | Method and Description |
---|---|
protected abstract char[] |
applyJsonQuoting(java.lang.String content)
Apply standard JSON string quoting (see http://www.json.org/).
|
java.lang.String |
encode(java.lang.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 java.lang.String encode(java.lang.String... messages)
SockJsMessageCodec
encode
in interface SockJsMessageCodec
messages
- the messages to encodenull
)protected abstract char[] applyJsonQuoting(java.lang.String content)