Class FastjsonSockJsMessageCodec

  • All Implemented Interfaces:
    org.springframework.web.socket.sockjs.frame.SockJsMessageCodec

    public class FastjsonSockJsMessageCodec
    extends org.springframework.web.socket.sockjs.frame.AbstractSockJsMessageCodec
    • Constructor Detail

      • FastjsonSockJsMessageCodec

        public FastjsonSockJsMessageCodec()
    • Method Detail

      • setFastJsonConfig

        public void setFastJsonConfig​(FastJsonConfig fastJsonConfig)
      • applyJsonQuoting

        protected char[] applyJsonQuoting​(String content)
        Specified by:
        applyJsonQuoting in class org.springframework.web.socket.sockjs.frame.AbstractSockJsMessageCodec
      • encode

        public String encode​(String... messages)
        Specified by:
        encode in interface org.springframework.web.socket.sockjs.frame.SockJsMessageCodec
        Overrides:
        encode in class org.springframework.web.socket.sockjs.frame.AbstractSockJsMessageCodec