Class Jackson2SockJsMessageCodec
java.lang.Object
org.springframework.web.socket.sockjs.frame.AbstractSockJsMessageCodec
org.springframework.web.socket.sockjs.frame.Jackson2SockJsMessageCodec
- All Implemented Interfaces:
 SockJsMessageCodec
@Deprecated(since="7.0",
            forRemoval=true)
public class Jackson2SockJsMessageCodec
extends AbstractSockJsMessageCodec
Deprecated, for removal: This API element is subject to removal in a future version.
A Jackson 2.x codec for encoding and decoding SockJS messages.
It customizes Jackson's default properties with the following ones:
MapperFeature.DEFAULT_VIEW_INCLUSIONis disabledDeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIESis disabled
- Since:
 - 4.0
 - Author:
 - Rossen Stoyanchev
 
- 
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Jackson2SockJsMessageCodec(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Deprecated, for removal: This API element is subject to removal in a future version. - 
Method Summary
Modifier and TypeMethodDescriptionprotected char[]applyJsonQuoting(String content) Deprecated, for removal: This API element is subject to removal in a future version.Apply standard JSON string quoting (see json.org).Deprecated, for removal: This API element is subject to removal in a future version.Decode the given SockJS message frame.decodeInputStream(InputStream content) Deprecated, for removal: This API element is subject to removal in a future version.Decode the given SockJS message frame.Methods inherited from class AbstractSockJsMessageCodec
encode 
- 
Constructor Details
- 
Jackson2SockJsMessageCodec
public Jackson2SockJsMessageCodec()Deprecated, for removal: This API element is subject to removal in a future version. - 
Jackson2SockJsMessageCodec
public Jackson2SockJsMessageCodec(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Deprecated, for removal: This API element is subject to removal in a future version. 
 - 
 - 
Method Details
- 
decode
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:SockJsMessageCodecDecode the given SockJS message frame.- Parameters:
 content- the SockJS message frame- Returns:
 - an array of messages, or 
nullif none - Throws:
 IOException- if the content could not be parsed
 - 
decodeInputStream
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:SockJsMessageCodecDecode the given SockJS message frame.- Parameters:
 content- the SockJS message frame- Returns:
 - an array of messages, or 
nullif none - Throws:
 IOException- if the content could not be parsed
 - 
applyJsonQuoting
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractSockJsMessageCodecApply standard JSON string quoting (see json.org).- Specified by:
 applyJsonQuotingin classAbstractSockJsMessageCodec
 
 - 
 
JacksonJsonSockJsMessageCodec