Class DefaultSockJsFrameFormat
- java.lang.Object
- org.springframework.web.socket.sockjs.frame.DefaultSockJsFrameFormat
- All Implemented Interfaces:
SockJsFrameFormat
public class DefaultSockJsFrameFormat extends Object implements SockJsFrameFormat
A default implementation ofSockJsFrameFormat
that relies onString.format(String, Object...)
..- Since:
- 4.0
- Author:
- Rossen Stoyanchev
Constructor Summary
Constructors Constructor Description DefaultSockJsFrameFormat(String format)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
format(SockJsFrame frame)
protected String
preProcessContent(String content)
Constructor Detail
DefaultSockJsFrameFormat
public DefaultSockJsFrameFormat(String format)
Method Detail
format
public String format(SockJsFrame frame)
- Specified by:
format
in interfaceSockJsFrameFormat
preProcessContent
protected String preProcessContent(String content)