org.springframework.web.socket.sockjs.frame

Class DefaultSockJsFrameFormat

  • java.lang.Object
    • org.springframework.web.socket.sockjs.frame.DefaultSockJsFrameFormat
  • All Implemented Interfaces:
    SockJsFrameFormat


    public class DefaultSockJsFrameFormat
    extends java.lang.Object
    implements SockJsFrameFormat
    A default implementation of SockJsFrameFormat that relies on String.format(String, Object...)..
    Since:
    4.0
    Author:
    Rossen Stoyanchev
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String format(SockJsFrame frame) 
      protected java.lang.String preProcessContent(java.lang.String content) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultSockJsFrameFormat

        public DefaultSockJsFrameFormat(java.lang.String format)
    • Method Detail

      • preProcessContent

        protected java.lang.String preProcessContent(java.lang.String content)