Class FastjsonSockJsMessageCodec
- java.lang.Object
-
- org.springframework.web.socket.sockjs.frame.AbstractSockJsMessageCodec
-
- com.alibaba.fastjson.support.spring.FastjsonSockJsMessageCodec
-
- All Implemented Interfaces:
org.springframework.web.socket.sockjs.frame.SockJsMessageCodec
public class FastjsonSockJsMessageCodec extends org.springframework.web.socket.sockjs.frame.AbstractSockJsMessageCodec
-
-
Constructor Summary
Constructors Constructor Description FastjsonSockJsMessageCodec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected char[]applyJsonQuoting(String content)String[]decode(String content)String[]decodeInputStream(InputStream content)Stringencode(String... messages)FastJsonConfiggetFastJsonConfig()voidsetFastJsonConfig(FastJsonConfig fastJsonConfig)
-
-
-
Method Detail
-
getFastJsonConfig
public FastJsonConfig getFastJsonConfig()
-
setFastJsonConfig
public void setFastJsonConfig(FastJsonConfig fastJsonConfig)
-
decodeInputStream
public String[] decodeInputStream(InputStream content)
-
applyJsonQuoting
protected char[] applyJsonQuoting(String content)
- Specified by:
applyJsonQuotingin classorg.springframework.web.socket.sockjs.frame.AbstractSockJsMessageCodec
-
-