public interface SockJsMessageCodec
a["message1","message2"]
Modifier and Type | Method and Description |
---|---|
String[] |
decode(String content)
Decode the given SockJS message frame.
|
String[] |
decodeInputStream(InputStream content)
Decode the given SockJS message frame.
|
String |
encode(String[] messages)
Encode the given messages as a SockJS message frame.
|
String encode(String[] messages)
messages
- the messages to encodenull
String[] decode(String content) throws IOException
content
- the SockJS message framenull
IOException
- if the content could not be parsedString[] decodeInputStream(InputStream content) throws IOException
content
- the SockJS message framenull
IOException
- if the content could not be parsed