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)@Nullable String[] decode(String content) throws IOException
content - the SockJS message framenull if noneIOException - if the content could not be parsed@Nullable String[] decodeInputStream(InputStream content) throws IOException
content - the SockJS message framenull if noneIOException - if the content could not be parsed