public class Jackson2SockJsMessageCodec extends AbstractSockJsMessageCodec
It customizes Jackson's default properties with the following ones:
MapperFeature.DEFAULT_VIEW_INCLUSION
DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES
Note that Jackson's JSR-310 and Joda-Time support modules will be registered automatically when available (and when Java 8 and Joda-Time themselves are available, respectively).
Jackson2SockJsMessageCodec()
Jackson2SockJsMessageCodec(ObjectMapper objectMapper)
protected char[]
applyJsonQuoting(java.lang.String content)
java.lang.String[]
decode(java.lang.String content)
decodeInputStream(java.io.InputStream content)
encode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Jackson2SockJsMessageCodec()
public Jackson2SockJsMessageCodec(ObjectMapper objectMapper)
@Nullable public java.lang.String[] decode(java.lang.String content) throws java.io.IOException
SockJsMessageCodec
content
null
java.io.IOException
@Nullable public java.lang.String[] decodeInputStream(java.io.InputStream content) throws java.io.IOException
protected char[] applyJsonQuoting(java.lang.String content)
AbstractSockJsMessageCodec
applyJsonQuoting
Impressum und Datenschutz Copyright ©2018 eir.me