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 ofSockJsFrameFormatthat 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 Stringformat(SockJsFrame frame)protected StringpreProcessContent(String content)
Constructor Detail
DefaultSockJsFrameFormat
public DefaultSockJsFrameFormat(String format)
Method Detail
format
public String format(SockJsFrame frame)
- Specified by:
formatin interfaceSockJsFrameFormat
preProcessContent
protected String preProcessContent(String content)