接口 SockJsFrameFormat
- 所有已知实现类:
DefaultSockJsFrameFormat
public interface SockJsFrameFormat
Applies a transport-specific format to the content of a SockJS frame resulting in a content that can be written out. Primarily for use in HTTP server-side transports that push data.Formatting may vary from simply appending a new line character for XHR polling and streaming transports, to a jsonp-style callback function, surrounding script tags, and more.
For the various SockJS frame formats in use, see implementations of
AbstractHttpSendingTransportHandler.getFrameFormat
- 从以下版本开始:
- 4.0
- 作者:
- Rossen Stoyanchev
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 String
format(SockJsFrame frame)
方法详细资料
format
String format(SockJsFrame frame)