程序包 org.springframework.web.socket.sockjs.frame
Support classes for creating SockJS frames including the encoding and decoding of SockJS message frames.
接口概要 接口 说明 SockJsFrameFormat Applies a transport-specific format to the content of a SockJS frame resulting in a content that can be written out.SockJsMessageCodec Encode and decode messages to and from a SockJS message frame, essentially an array of JSON-encoded messages.类概要 类 说明 AbstractSockJsMessageCodec An base class for SockJS message codec that provides an implementation ofAbstractSockJsMessageCodec.encode(String[])
.DefaultSockJsFrameFormat A default implementation ofSockJsFrameFormat
that relies onString.format(String, Object...)
..Jackson2SockJsMessageCodec A Jackson 2.6+ codec for encoding and decoding SockJS messages.SockJsFrame Represents a SockJS frame.枚举概要 枚举 说明 SockJsFrameType SockJS frame types.