com.alibaba.fastjson.support.spring.messaging
Class MappingFastJsonMessageConverter
- java.lang.Object
-
- org.springframework.messaging.converter.AbstractMessageConverter
-
- com.alibaba.fastjson.support.spring.messaging.MappingFastJsonMessageConverter
-
- All Implemented Interfaces:
- org.springframework.messaging.converter.MessageConverter, org.springframework.messaging.converter.SmartMessageConverter
public class MappingFastJsonMessageConverter extends org.springframework.messaging.converter.AbstractMessageConverter
Fastjson for Spring Messaging Json Converter.Compatible Spring Messaging version 4+
- Since:
- 1.2.47
- Author:
- KimmKing, Victor.Zxy
- See Also:
-
AbstractMessageConverter
-
Constructor Summary
Constructors Constructor and Description MappingFastJsonMessageConverter()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description FastJsonConfig
getFastJsonConfig()
void
setFastJsonConfig(FastJsonConfig fastJsonConfig)
Methods inherited from class org.springframework.messaging.converter.AbstractMessageConverter
convertFromInternal, convertToInternal, fromMessage, fromMessage, getContentTypeResolver, getSerializedPayloadClass, getSupportedMimeTypes, isStrictContentTypeMatch, setContentTypeResolver, setSerializedPayloadClass, setStrictContentTypeMatch, toMessage, toMessage
-
Method Detail
getFastJsonConfig
public FastJsonConfig getFastJsonConfig()
- Returns:
- the fastJsonConfig.
- Since:
- 1.2.47
setFastJsonConfig
public void setFastJsonConfig(FastJsonConfig fastJsonConfig)
- Parameters:
-
fastJsonConfig
- the fastJsonConfig to set. - Since:
- 1.2.47
Copyright © 2012–2021 Alibaba Group. All rights reserved.